Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
2nd texture layer woes

2nd texture layer woes

2003-11-18       - By NoiseCrime

 Back
Reply:     1     2     3     4  


-- -- Original Message -- --
From: "Agust�n Mar�a Rodr�guez" <agustin@(protected)>

Hi,

Not really sure what you're trying to do here, becuase the same thing can be
achieved just by using the available layers within a shader. The only reason
you need to add a new texturelayer is if you want to specicify different
texture coordinates.

Anyway to get you code working directly remove all those updatestage calls
(no idea why you're doing that) and add the following line after
texturelayer.add()

modelRef.meshDeform.mesh[1].textureLayer[2].texturecoordinatelist =
modelRef.meshDeform.mesh[1].textureLayer[1].texturecoordinatelist

This simply sets the 2nd texture layer texturecoordinate list to the same
values as the first texture layer.


NoiseCrime 2003
www.noisecrime.com
Purveyor of cool Shockwave games, toys and new media content.

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Dir3d-l mailing list
Dir3d-l@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l