Hi Carsten,
Carsten Neumann wrote:
> Hello Antonio,
>
> Antonio Bleile wrote:
>> Each time we render a preview, we recreate
>> the geometry
>
> why that?
Well, I simplified a lot. We actually compose some
geometry depending on the material configuration (material
variants are rendered differenty, hope you'll see
it soon on the product).
> > while( true )
> > {
> > load geometry;
> >
> > apply material
> >
> > render
> >
> > destroy geometry
>
> render // just an empty scene, basically to get Window to call
> // frameExit
> > }
Yep, calling frameExit on the window worked fine as well!
What about all the other stuff (textures, shaders), does
it get cleant up as well?
> IIUC you are recreating the geometry and rendering it just once to get
> an image that shows the material, so you likely want the Dlists off
> anyways as it only slows down the single rendering.
Definitely, I switched Dlist creation off, that makes sense.
>> If you need a small demo reproducing the effect, I'll
>> compile something for you to test, but I just want to
>> know if anybody can explain what "setDllistCache"
>> implies (the manual just states "turns off ddlist creation",
>> but the term "Cache" confuses me :)
>
> It turns off Dlist creation.
Ok, cool.
Thank you,
Toni
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users