Page 11 of 16

Re: [OPTing] XWA OPT Editor

Posted: Tue Oct 01, 2019 7:56 pm
by Darksaber
Jeremy, in both Opt Editor and the S-Foils Editor, you know the views in both editors are in Perspective, is it possibly add an option to switch it from Perspective to a Flat view (I don't know what else to call it), basically the same view as you see in Optech.

Not so much Opt Editor, but in the S-Foils Editor it would be handy, because in perspective it's hard to judge the level of the landing gear, with a flat view you would be able to see if the landing gear feet are at the same level or not.

a button the same as the other buttons would do, just an on/off button just to switch it from perspective to flat view

Also, is it possible or not to add a slider to the S-foils, so left would be closed and right would be open, when you slide it you'll see the rotation of the s-foils or gear, don't worry if you can't do this, the perspective button would be more important to me :)

Please let me know if it's possible or not for either suggestion

Thanks so much

Re: [OPTing] XWA OPT Editor

Posted: Tue Oct 01, 2019 8:58 pm
by ual002
Orthographic view is the term I believe he is looking for.

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 02, 2019 4:38 pm
by JeremyaFr
UPDATE

Changes to XwaSFoilsEditor:
  • add orthographic camera
  • add slider to show s-foils states

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 02, 2019 5:38 pm
by Darksaber
Cheers mate, this is brilliant

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 02, 2019 6:22 pm
by Darksaber
One suggestion and three problems

The suggestion, is could you make the s-foils slider smaller please to about 10cm please

Problem 1 In perspective mode if you press shift and right mouse button the craft moves about fine, but in Orthographic mode the craft disappears

Problem 2 the wireframe for the hitzone boxes becomes really thick like tubes, and so does the craft wireframe, like so
WireframeHitzoneBoxes.jpg
Problem 3, is the wireframe mode, it seems ok at first, when your in perspective mode, you can click the wire frame on and of just fine and it looks fine, but.... then you click on to Orthographic mode initially it's fine, but when you click the wireframe button on and of the wire frame looks like this
WireframeYuk.jpg
But if you click the Orthographic button on and off the wire frame goes back to looking good

Thanks for the Orthographic mode, it really does help :)

Hmm could the S-foils slider be added to Optech, in the transformation section? Hmm.. the problem is the mesh has to be selected, this might not be possible??????

Thanks though

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 02, 2019 6:59 pm
by JeremyaFr
I will fix these problems.

For OPTech, I think that adding a S-Foils slider is not easily possible.

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 02, 2019 7:13 pm
by Darksaber
Thanks :)

I thought it might be, don't worry about it, thanks to you we now have a programs that'll allow to to see the landing gear down and the s-foils closed, already found one porblem in one of the xwings wings :)

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 02, 2019 8:00 pm
by JeremyaFr
WIP

I've reduced the length of the slider
I've fixed the issue with the shift+right click command.

EDIT: link removed

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 02, 2019 8:37 pm
by Darksaber
That's it, you fixed looks like all the problems, super fast :D

Cheers mate :)

Re: [OPTing] XWA OPT Editor

Posted: Thu Oct 03, 2019 5:24 pm
by JeremyaFr
UPDATE
Hello,
I've merged the changes from the above WIP version to the stable version.

Re: [OPTing] XWA OPT Editor

Posted: Thu Oct 03, 2019 6:37 pm
by Darksaber
Thanks again

Re: [OPTing] XWA OPT Editor

Posted: Mon Oct 28, 2019 8:44 pm
by Darksaber
Hi Jeremy, I've spotted a bug in XWA Opt Editor

When deleting FG, sometimes the texture slips (use of a better word)

Say you have

TEX00000
TEX00001
TEX00002
TEX00003
TEX00004
TEX00005
TEX00006

And you want to delete TEX00004, TEX00005, TEX00006, they delete fine but the position of the textures alter, to something like this

TEX00001
TEX00002
TEX00003
TEX00000

If you could take a look please, just to see if there is a problem thanks, or if you can find anything or fix it, would it be possible to add the ability to move the textures up or down (similar to moving the position of the meshes).

I did come across another problem a couple of weeks ago, but I can't seem to replicate it again, that is in the textures tab/illumination

I was trying to zoom close to (I think a) 512x512 texture, but I couldn't zoom in on it for some reason, the red box would only move so far, I checked the other zoom boxes in the Color / Alpha Maps tab and the Color Map Tab and they seem fine it was just the Illumination zoom box, if you could take a look at that to see if there is a problem please

Thanks

Re: [OPTing] XWA OPT Editor

Posted: Mon Oct 28, 2019 9:17 pm
by JeremyaFr
Hello,
I will take a look.

Re: [OPTing] XWA OPT Editor

Posted: Tue Oct 29, 2019 7:07 pm
by JeremyaFr
UPDATE
Hello,
I've updated Xwa Opt Editor.

I've added buttons to move up or down the texture names.
I've updated the WPF Toolkit to the lastest version. I don't know if this fixes the problem with the zoom box.

Re: [OPTing] XWA OPT Editor

Posted: Tue Oct 29, 2019 7:50 pm
by Darksaber
Thanks for the fixes, at least now it the textures move I can now move the back :D
I'll let you know about the zoom box

Thanks :)

Re: [OPTing] XWA OPT Editor

Posted: Tue Oct 29, 2019 9:01 pm
by Darksaber
I think I've figured out what's happening when you delete one of the FG textures

Lets say you have

TEX00014
TEX00036
TEX00037
TEX00014
TEX00032
TEX00014
TEX00014
TEX00014
TEX00014

and you delete the bottom 3 lines of TEX00014, this is what's happening when deleted

TEX00036
TEX00037
TEX00032
TEX00014
TEX00014
TEX00014

It's getting reordered, when it should actually look like this after deleting the bottom 3 lines of TEX00014

TEX00014
TEX00036
TEX00037
TEX00014
TEX00032
TEX00014

It help now with the move up/down, but it would be nice if it didn't happen :)

I'll PM you about the zoom box

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 30, 2019 5:02 pm
by JeremyaFr
UPDATE
Hello,
I've updated Xwa Opt Editor.

I've fixed the texture names delete command.
I've added a better error message when exception are thrown (the same system that is included in OPTech).

Re: [OPTing] XWA OPT Editor

Posted: Wed Oct 30, 2019 8:43 pm
by JeremyaFr
UPDATE

I've reverted this change:
JeremyaFr wrote:
Tue Oct 29, 2019 7:07 pm
I've updated the WPF Toolkit to the lastest version. I don't know if this fixes the problem with the zoom box.

Re: [OPTing] XWA OPT Editor

Posted: Thu Oct 31, 2019 5:04 pm
by JeremyaFr
UPDATE
I've re-added the feature to select multiple texture names.

Re: [OPTing] XWA OPT Editor

Posted: Thu Oct 31, 2019 9:12 pm
by Darksaber
Thanks for that

Slight problem though, when you now click on the Texture names, the preview box below just shows the first texture :(

Re: [OPTing] XWA OPT Editor

Posted: Thu Oct 31, 2019 9:41 pm
by JeremyaFr
fixed.

Sorry for that.

Re: [OPTing] XWA OPT Editor

Posted: Thu Oct 31, 2019 9:42 pm
by Darksaber
No problems :) Thanks :)

Re: [OPTing] XWA OPT Editor

Posted: Tue Dec 24, 2019 7:31 am
by Bman
Hi Jeremy. Have a special request. I know in Optech, we could select adjacent or separate meshes (say they are hull meshes) two or more and group them to become one mesh --with or without child LOD meshes, without destroying the properties and location of the meshes relative to whole model itself. Can this feature be added to XwaOptEditor too? Reason I'm asking is if we max out above 50 hi-res meshes, it makes sense to group meshes as one mesh, and keeps the total mesh count below 51 since vertice count is no longer a real issue. I'm noticing in the current XwaOptEditor, when I "merge" two or more meshes, things seem to get messed up.

Also, can you generally explain the "flat textures check" and how it works? Not the programming syntax. I think I understand what it means, but trying to figure out how to avoid that error to begin with, if it matters. Thank you.

Re: [OPTing] XWA OPT Editor

Posted: Thu Dec 26, 2019 6:13 pm
by JeremyaFr
A flat texture is a face with several vertices having the same texture coordinates. That means that the coords don't form a triangle on the texture.

Re: [OPTing] XWA OPT Editor

Posted: Mon Dec 30, 2019 6:13 pm
by Driftwood
So could I get a quick tutorial on Illumination with opt editor? I have a ship of Warb's waiting on some illumination before I think it's finished and a couple other ships mentioned in the past have no illumination where they should, but I don't know how to do illumination and since I'm to the point of needing to, some help would be appreciated. Thanks!