WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-12-2008, 01:23 AM
jaclyn.bill jaclyn.bill is offline
Member
 
Join Date: Oct 2007
Posts: 42
Hi,

sorry, the ball is actually the soccerball.ive which comes with vizard. I only want to remove the red I applied to it and return it to it's original black and white with shading state. Using, 0,0,0 or 1,1,1 however, makes it look darker or lighter than the original.

thanks. JB
Reply With Quote
  #2  
Old 11-12-2008, 10:16 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The following code shows how to apply a color and then restore the original:
Code:
#Set red color
model.color(viz.RED,op=viz.OP_OVERRIDE)

#Clear color attribute to restore original color
model.clearAttribute(viz.ATTR_COLOR,op=viz.OP_OVERRIDE)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
red/green anaglyphic ghosting michaelrepucci Vizard 2 10-22-2008 10:26 AM
Another color question mjabon Vizard 4 07-31-2007 03:04 PM
changing the color of Shirt of Vizard Avatars Amit Vizard 2 09-02-2005 08:00 AM
Changing the Color of On-the-Fly Objects vjosh Vizard 1 01-04-2005 11:48 PM
Fog Color bstankie Vizard 1 06-02-2004 01:59 PM


All times are GMT -7. The time now is 02:21 AM.


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