WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-09-2005, 03:24 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Move texture from one object to another

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
Reply With Quote
  #2  
Old 02-09-2005, 03:32 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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:
Code:
tex = viz.add('texture.jpg')

soccerball3.texture(tex)
soccerball4.texture(tex)
Reply With Quote
  #3  
Old 02-09-2005, 03:55 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Quote:
Originally posted by farshizzo

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

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC