Hi Frederic, > I have a few other chunk-related questions, my understanding of it is > not so clear : > - I animate the transparency, via a MaterialChunk modification.I do this > with subChunk(myMaterialChunk), modifications of the alpha values and > then addChunk(myMaterialChunk). Is it there an other way to do this, > some kind off updateChunk ? For the moment I use a list of > (ChunkMaterial,MaterialChunk) couples.
there is no need to sub/-addChunk myMaterialChunk. Just change the values of myMaterialChunk and rendering of the material will change in the next rendered frame. > - What is the chunk behaviour if I do successive addChunks with the same > chunk type ? Do I retreive my first chunk when I sub the last one or is > it released ? An example of that is transparency animation for > transparent objects : I want to consult the MaterialChunk as a base > value for alpha modification. I'll leave that to others. Regards Matthias ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
