[OPTing] OPTech v2
Re: [OPTing] OPTech v2
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
I've updated OPTech.
Changes are:
- added support for bmp files with less than 256 colors
I've updated OPTech.
Changes are:
- added support for bmp files with less than 256 colors
- ual002
- Posts: 983
- Joined: Wed Sep 24, 2008 2:23 am
Lets say I goofed and added an extra texture somewhere creating an errant extra flight group color. I cant remember where, is there a way to just delete anything associated with a specific flight group color?
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
I've updated OPTech.
The changes are:
- add the fg count to the facelist
- add a button to sort the faces by fg count
- add a button to remove a fg
I've updated OPTech.
The changes are:
- add the fg count to the facelist
- add a button to sort the faces by fg count
- add a button to remove a fg
- ual002
- Posts: 983
- Joined: Wed Sep 24, 2008 2:23 am
JeremyaFr, this is an example of my project. If you go ahead and create the opt, all the new textures are pink in game, even after your update. I could run them all thru that online converter and it would fix them but that seems silly. Take a look and see what you think.
https://www.dropbox.com/s/dgb24dcrmvq8a ... ut.7z?dl=0
https://www.dropbox.com/s/dgb24dcrmvq8a ... ut.7z?dl=0
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
If you don't have Paintshop Pro or want to keep using the online convertor you could download this Image Editor called Gimp it's free to download , it has Tutorials, it could be your answer
Export file as palleted 8bit per pixel BMP from GIMP
Export file as palleted 8bit per pixel BMP from GIMP
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Thanks for the sample.
I've found what is the problem. I will fix it.
I've found what is the problem. I will fix it.
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
I've updated the texture reading. The problem was that the bmp files contained extra bytes at the end.
I've updated the texture reading. The problem was that the bmp files contained extra bytes at the end.
- ual002
- Posts: 983
- Joined: Wed Sep 24, 2008 2:23 am
Right on. And yes DS gimp was a good idea. I totally forgot about it.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Jeremy I came across this error, while importing a opz into an opz, then trying to move the LOD from the imported opz, to the original opz
Code: Select all
---------------------------
Press Ctrl+C to copy the text
---------------------------
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source, Func`2 predicate)
at OPTech.CXXX.CreateCall2() in C:\projects\optech\OPTech\OPTech\CXXX.cs:line 214
at OPTech.RenderScreenControl.renderscreen_OpenGLDraw(Object sender, OpenGLEventArgs args) in C:\projects\optech\OPTech\OPTech\RenderScreenControl.xaml.cs:line 104
at SharpGL.WPF.OpenGLControl.timer_Tick(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---------------------------
OK
---------------------------
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
I've fixed the error.
Please redownload OPTech.
PS: Have you had time to try the new xwopter?
I've fixed the error.
Please redownload OPTech.
PS: Have you had time to try the new xwopter?
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Thanks for the fix Jeremy,
xwaopter? No, sorry I didn't realize that you finished it, I'll take a look now (rubs hands)
xwaopter? No, sorry I didn't realize that you finished it, I'll take a look now (rubs hands)
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Vince T
- Posts: 14052
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Hey Jeremy, I've got a 'little' request.
Not sure if it's been asked before, but would it be possible to add an Undo function?
Not sure if it's been asked before, but would it be possible to add an Undo function?
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- Trevor
- Posts: 541
- Joined: Thu Dec 04, 2014 7:11 pm
what is the difference between xwaopt and optech? is it purely cosmetic at this point (and source language .NET/MFC) or does one have features the other will never have?
Trev
Trev
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
The app already has a basic undo/redo functionality (see the panel at the right). So yes, it can be extended.
The app already has a basic undo/redo functionality (see the panel at the right). So yes, it can be extended.
- Vince T
- Posts: 14052
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Ah yes, ok. Took me a moment to figure out how it works. But that should do it. Thanks Jeremy!
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- Vince T
- Posts: 14052
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
XWA OPTer (or OPT fix) is a different program, whose main and only function is to fix numerous shading issues on OPTs, making edges sharper and stops flat surfaces from appearing round. The program has been in use for years (Available from DS' site > File Archive > OPT Editors) but uses old coding. Jeremy has made an effort to convert it to C#.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
The main difference between OPTech and XwaOptEditor is the creation process.
With OPTech, you import an untextured model in a DXF file (or an other format) and do the texturing in the program.
With XwaOptEditor, you import an already textured model in a OBJ file (or an other format).
With OPTech, you import an untextured model in a DXF file (or an other format) and do the texturing in the program.
With XwaOptEditor, you import an already textured model in a OBJ file (or an other format).
- Trevor
- Posts: 541
- Joined: Thu Dec 04, 2014 7:11 pm
ah cool, XWAOptEditor would defiantly be the process model I would use
Trev
Trev
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
I've included the Scaling Factor dialog from XwaOptEditor.
You can scale the entire opt (when no mesh is selected) or just the selected meshes.
I've included the Scaling Factor dialog from XwaOptEditor.
You can scale the entire opt (when no mesh is selected) or just the selected meshes.
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
-
- Posts: 1170
- Joined: Mon Apr 05, 2004 11:01 pm
Hi, is this new scaling update for Optech or OPTer? The latter is one GT mentioned. Couldn't find updated link.
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- Trevor
- Posts: 541
- Joined: Thu Dec 04, 2014 7:11 pm
(lol)
I had a quick look at the wiki and it might be an idea to add said utilities there with brief explanation of differences
Trev
I had a quick look at the wiki and it might be an idea to add said utilities there with brief explanation of differences
Trev
- Vince T
- Posts: 14052
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Hm thought I'd put something in there. Will do later this week.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear