Horde3D

Next-Generation Graphics Engine
It is currently 28.11.2024, 09:05

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 20.11.2009, 10:26 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
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
Image

Engine
Image

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.


Top
 Profile  
Reply with quote  
PostPosted: 23.11.2009, 00:05 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
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.


Top
 Profile  
Reply with quote  
PostPosted: 30.11.2009, 14:31 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
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:
Image

Editor image:
Image


Top
 Profile  
Reply with quote  
PostPosted: 30.11.2009, 14:49 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
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?


Top
 Profile  
Reply with quote  
PostPosted: 30.11.2009, 14:52 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
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.


Top
 Profile  
Reply with quote  
PostPosted: 30.11.2009, 15:32 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Do you have a material with an ambient cube map set in your pipeline? That would change the colors.


Top
 Profile  
Reply with quote  
PostPosted: 30.11.2009, 15:42 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
Ok, understood, the problem was with the globalsettings.material file. It loaded ambient.dds that modified the colors.

Thanks for support!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group