Hi Jonathan,
just a quick precheck answer. Your code seems to be ok, just want to
confirm one detail: you're using volume textures, right?
I can think of two possible reasons for your behavior. Does the texture
definition work? I.e. when running with debug libs, do you get no
messages on the console about OpenGL errors? The other would be a bug in
OpenSG, we can never totally rule that out, but I don't expect it.
BTW, you can simplify your Chunk search code, the ChunkMaterial has
something very similar built in:
StateChunkPtr stateChunk = pM->find(TextureChunk::getClassType(), 0);
to find the TextureChunk for slot 0.
Yours
Dirk
--
Dirk Reiners <[EMAIL PROTECTED]>
-------------------------------------------------------
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