PDA

View Full Version : Move texture from one object to another


Johannes
02-09-2005, 03:24 PM
Hi,

I try to get a texture from an existing object and put it on another object in my scene. Does not work.

e.g.

soccerball3.texture(soccerball4.texture)

Johannes

farshizzo
02-09-2005, 03:32 PM
Hi,

You can't retrieve the texture of an object. You will have to create the texture within Vizard and then apply it to both objects:tex = viz.add('texture.jpg')

soccerball3.texture(tex)
soccerball4.texture(tex)

Johannes
02-09-2005, 03:55 PM
Originally posted by farshizzo

You can't retrieve the texture of an object.
Thank you, that is what I wanted to know.
Johannes