opensg-users  

Re: [Opensg-users] New OSB loader in OpenSG 2.0

Dirk Reiners
Fri, 09 May 2008 12:54:03 -0700

        Hi Carsten,

Carsten Neumann wrote:
> 
> uhm, I'm confused. We can always convert a TextureChunk to TexEnv + 
> TexObj or we can attempt to keep them if possible, but then we need to 
> know whether it *is* actually possible.
> 
> FWIW, I think we should do this:
> 
> if TextureChunk is compiled into the lib:
> 
>       loading a TextureChunk from osb creates TexObj + TexEnv
>       writing a TextureChunk to osb writes TextureChunk
> 
> if TextureChunk is *NOT* compiled into the lib:
> 
>       loading a TextureChunk from osb creates TexObj + TexEnv
>       writing a TextureChunk can not happen.
> 
> Note that this means loading and then writing an old osb is a 
> non-identity operation (but I think that is nothing new, e.g. Geometry 
> gets converted as well). On the other hand this scheme does not care 
> whether the lib has compiled TextureChunk in or not.

I'm all for that. Trying to keep backwards compatibility is an exercise in 
futility, so let's not go down that route.

Are we going to keep the TC in the Lib anyway? Is there a good reason to do it?

Yours

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users