Horde3D http://www.horde3d.org/forums/ |
|
HordeEditor - Flipped Geometry http://www.horde3d.org/forums/viewtopic.php?f=6&t=417 |
Page 1 of 1 |
Author: | PuG [ 15.07.2008, 14:21 ] |
Post subject: | HordeEditor - Flipped Geometry |
For some reason a few of the models im currently working with, the geometry normals are flipped in the wrong direction when viewing using the main editor viewport - but the full screen mode and the geometry preview window does render correctly. 3D Max Collada file. On some of them if I don't Bake Matrices seems to fix the issue, but then the geometry is giant and out of scale, relative to what it should be. Best Regards, |
Author: | Volker [ 15.07.2008, 15:11 ] |
Post subject: | Re: HordeEditor - Flipped Geometry |
Did I understand you correctly, that the normals flip if you switch between normal viewport of the editor and the fullscreen mode? That would be very strange. Although there was some issue with reinitialization of states in fullscreen mode, I can't imagine and have never experienced any flip in normals due to the viewport switch. It's especially strange that it seems to be correct when using fullscreen mode, since the states are only initialized correctly in the main viewport. Are you sure that the normals of you model are pointing into the correct direction? |
Author: | PuG [ 15.07.2008, 16:18 ] |
Post subject: | Re: HordeEditor - Flipped Geometry |
Yes that's correct, the normals are in the right direction on the model when exporting - if you add a new model/reference node to the scene the model is previewed correctly, its only when viewed within the main viewport are they pointing in the wrong direction. |
Author: | Volker [ 15.07.2008, 16:47 ] |
Post subject: | Re: HordeEditor - Flipped Geometry |
What happens if you add the exported model to one of the sample applications? Are the normals correct in this case? If not, there may be a problem in the converter. It it work's correctly in the samples, there must be a problem with the OpenGL states in the editor. |
Author: | PuG [ 15.07.2008, 19:00 ] |
Post subject: | Re: HordeEditor - Flipped Geometry |
Okay, just tried it through a sample application and the normals are flipped incorrectly - so as you suggest it might be a converter issue? |
Author: | Volker [ 16.07.2008, 07:52 ] |
Post subject: | Re: HordeEditor - Flipped Geometry |
I should have solved this problem earlier, since we got the same problem with another model just some days ago. You have a negativ scale in your model which results in a flip of the normals. Just make it positive and all is looking fine. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |