ParallelGraphics Forums
General
You are here: [Forums]::[General]

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:
  General

Subject: DiffuseColor
Sender: some-1-2@hotmail.com 3.03.08 07:38

Hello,

in my VB.NET application Ihave some code which changes the tranparency and texture material of the vrml objects. he code is here:

node.Fields("appearance").Value.Fields("material").Value.Fields("transparency").Value = 0

fdname = eng.Nodes(CStr("Obj" & Cellrs1.Fields("Handle").Value)).Fields("appearance").Value.Fields("texture").Value.Fields("url")

But my problem is that I get a debug error when I try to change the 'diffuseColor' material value, here is the code:

node.Fields("appearance").Value.Fields("material").Value.Fields("diffuseColor").Value = "1, 1, 1"

Please help

 


DiffuseColor / some-1-2@hotmail.com / 3.03.08 07:38

Messages in thread: 1


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