Thread: User-Interface
View Single Post
  #42  
Old 03-04-2005, 02:48 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
thank you, that is what I tried to say somehow complicated with countervariable...

How do I match the normal rgb-color scheme with the vizard colors?

As I read in the help-file vizard uses something like

<node3d>.color(
[r,g,b]
subchild = '' )

and ball.color(1,0,0) #Turn the ball red

But as I "know" it is normally 255,0,0 for red...
So how could I translate a color 0,61,136 to vizard-colors?

I tried: pointGraphColor=(0,61/255,136/255) but it did not work...


Johannes
Reply With Quote