[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [x3d-public] Xj3d not working when I modify a TextureTransform field rotation in a Proto



Nuno Martins wrote:

Hi

I'm modifying an ImageTexture in a proto, and modifying his
TextureTransform field rotation.

This works good for flux, but not in xj3d…

If  I only modify the ImageTexture field url, it works for xj3d, but
when I modify the TextureTransform field rotation it doesn't…

What I'm I doing wrong?

Thanks
 Nuno


<field name='Tex' type='MFString' value='"im6.jpg"'
              accessType='initializeOnly'/>

<field name='Tex_rotation' type='SFFloat' value='1'
              accessType='initializeOnly'/>
…
…

<ImageTexture DEF='Tex_armadura'>
       <IS>
        <connect nodeField='url' protoField='Tex'/>
       </IS>
 </ImageTexture>

<TextureTransform DEF='Tex_armadura_transform'>
       <IS>
        <connect nodeField='rotation' protoField='Tex_rotation'/>
       </IS>
       </TextureTransform>




Can you provide a complete example we can test with?

-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html