Hi Jonathan,

Hi,

Thanks for the hint with the textureChunk finding, it works great. I have a
question though : I set my texture on a slot by calling
ChunkMaterial::addChunk, which takes the texture chunk ptr as first parameter.
When I do that, am I sure that if it's the first time I call addChunk with a
TextureChunk on this materialchunk, the texturechunk will be assigned the slot
number 0? If I call a second time addChunk on the same materialChunk with
another texturechunk, will the slot number be 1? etc.

Yes.

What about the second parameter of the addChunk function : is it a good way to
provide our own texture slot number? Like that, I would call addChunk(texChunk,
slotNumber), and I will be sure that this texture chunk will be assigned this
slotNumber, instead of counting the times we've called addChunk on this
material before. Does it work like that?

Well I'm not sure but this should work.

Andreas


--
Andreas Zieringer       [EMAIL PROTECTED]
Fraunhofer IGD - A4     phone +49 (0)6151 155 289
Fraunhoferstr. 5        fax   +49 (0)6151 155 196
D-64283 Darmstadt       www.igd.fhg.de/www/igd-a4


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to