ParallelGraphics Forums
Authoring Tools
You are here: [Forums]::[Authoring Tools]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
  Authoring Tools

Subject: changing colors through automation
Sender: zeno@frontiernet.net 18.06.01 12:35

I have def'd node I view in
vrmlPad as:
material DEF
stainless_mat Material
{

diffuseColor 0.62745 0.62745
0.62745

specularColor 1 1 1

transparency IS
stainlesstransparency
}
}

And I'm trying to change the
diffuse color to red via
automation in HTML. I would
have thought it should look
like this:

     CortonaX.Engine.Nodes
('stainless_mat').Fields
("diffuseColor")="1 0 0";

But it doesn't work.
How do you change the color of
a material node via automation?

Thanks,
Pat

 


changing colors through automation / zeno@frontiernet.net / 18.06.01 12:35
     Re: changing colors through automation / Mr.Parker / 18.06.01 13:16
         Re: changing colors through automation / zeno@frontiernet.net / 27.06.01 16:13
             Re: changing colors through automation / Mr.Parker / 28.06.01 00:21

Messages in thread: 4


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.