Horde3D http://horde3d.org/forums/ |
|
Importing scenes from editor http://horde3d.org/forums/viewtopic.php?f=2&t=1010 |
Page 1 of 1 |
Author: | Irdis [ 20.11.2009, 10:26 ] |
Post subject: | Importing scenes from editor |
Hello! I have some questions about importing scenes from editor to the engine. 1) Why is the light intensity different in horde editor and in the engine? Editor Engine 2) How to import active camera from editor's scene to the engine? 3) Offtopic, but how to set opacity for objects? See the holes between the curtains? There are 2 other curtains that have opacity set to 50 in Max. They have a 50% transparent png texture. |
Author: | marciano [ 23.11.2009, 00:05 ] |
Post subject: | Re: Importing scenes from editor |
Irdis wrote: 1) Why is the light intensity different in horde editor and in the engine? Hmm, if you use the exactly same data there should not be any difference... Irdis wrote: 2) How to import active camera from editor's scene to the engine? The editor without any game engine plugin will just handle purely graphics related data (scene graph and horde resources) and not any further logical data. So you need to set the active camera manually in your application via the API. Irdis wrote: 3) Offtopic, but how to set opacity for objects? See the holes between the curtains? There are 2 other curtains that have opacity set to 50 in Max. They have a 50% transparent png texture. Transparency is currently not fully implemented in the sample shaders. Actually Horde is meant as an SDK with which you can develop shaders and not as a complete graphics solution. However, since we are aware that many users prefer using the existing shaders instead of creating their own, we will continue extending the sample shaders. |
Author: | Irdis [ 30.11.2009, 14:31 ] |
Post subject: | Re: Importing scenes from editor |
Hello. I have a question about strange difference in colors in Max and Horde. The texture is the same. Texture is a RGB color 242, 239, 215. Max image: Editor image: |
Author: | Volker [ 30.11.2009, 14:49 ] |
Post subject: | Re: Importing scenes from editor |
Not sure which texture you are talking about, but it looks like the texture you are using has an alpha channel. And this is not supported by the default model.shader. Do you have modified it to support alpha channel? |
Author: | Irdis [ 30.11.2009, 14:52 ] |
Post subject: | Re: Importing scenes from editor |
I'm talking about the wall texture. It's color in max and horde is different. About the curtains - yes, they use alpha channel. And no, no modifications were made to the shaders. |
Author: | Volker [ 30.11.2009, 15:32 ] |
Post subject: | Re: Importing scenes from editor |
Do you have a material with an ambient cube map set in your pipeline? That would change the colors. |
Author: | Irdis [ 30.11.2009, 15:42 ] |
Post subject: | Re: Importing scenes from editor |
Ok, understood, the problem was with the globalsettings.material file. It loaded ambient.dds that modified the colors. Thanks for support! |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |