Horde3D
http://horde3d.org/forums/

Rendering in 2 differents Contexts
http://horde3d.org/forums/viewtopic.php?f=2&t=825
Page 1 of 1

Author:  cain974 [ 24.06.2009, 09:06 ]
Post subject:  Rendering in 2 differents Contexts

Hi,

I'm using Horde3D to create an editor for a engine and i can't find a way to initilialize Horde3D twice and have 2 rendering context ( different widgets ). Does anyone have an idea how to do that ?

Regarding to the doc :
for the init function :
"The function can be called several times on different rendering contexts in order to initialize them."

So yes effectivly i managed to call the function twice and to add a camera and a light to each scene but when i try to add a object to one of the scene it crashes in nvoglnt.dll.

Thanks

Author:  Volker [ 24.06.2009, 11:21 ]
Post subject:  Re: Rendering in 2 differents Contexts

Quote:
"The function can be called several times on different rendering contexts in order to initialize them."

That's something new for me too, maybe marciano has tested that. In the Horde3D editor I only use different shared contexts. That has also the advantage that the textures and vertex buffers don't have to be uploaded multiple times. But in this case it is important, that the models are all loaded while the first context is active, because loading shaders in the shared context seem to be not possible.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/