After I use a loader to import a model, I want to
change the texture. Actually, I want to change the
texture a few times during the whole program. When I
set a texture for the shape3ds, though, I just get one
color from the texture across the whole shape3d (i.e.
I could have a texture with 2 pixels, one blue and one
red, and the whole thing would still be all blue). I'm
assuming this is from no/incorrect texture
coordinates. I've tried the CyberVRML and ObjectFile
loaders and the same thing happens.

I can't get the coordinates from the GeometryArray (at
least with ObjectFile) because the coordinates are
Interleaved and by_reference, and so I can't just set
the texture coordinates. I just want to wrap one
texture around the shape3d... any ideas?

Thanks in advance,

Brandon Roybal

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to