Hi,

On Fri, 2007-09-28 at 15:59 -0700, Daniel Sperka wrote:
> I'm trying to use three TextureTransformChunks in a single material 
> (SimpleTexturedMaterial, actually). My hope was that these transforms 
> would be applied in succession.

no they won't.

> It seems that they are not - instead I think just the first transform 
> chunk (material->getChunks(0)) is applied, and the others are ignored. 
> Can anyone confirm this? (Using osg 1.8 on linux).

not really ignored, assuming you have a multi texture capable gfx card,
but applied to the first 3 texture units (GL_TEXTURE0_ARB,
GL_TEXTURE1_ARB and GL_TEXTURE2_ARB).

So if you only use one set of texture coordinates it will look as if
only the first one is in use.

Currently OpenSG does not support a hierarchical combination of texture
transforms. You would have to calculate the final matrix yourself.

kind regards,
  gerrit





-------------------------------------------------------------------------
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

Reply via email to