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: Re: interaction with Inline files
Sender: some-1-2@hotmail.com 3.03.08 08:27


here is what I did and still not able to change the transparency of objects in the inline wrl file.

My Inline file looks like this

Inline {
url "test.wrl"
bboxSize 0.5 2.5 0.5
}

My Code in VB.NET looks like this
For Each node In eng.RootNodes
If node.TypeName = "Shape" Then
i = i + 1
node.Fields("appearance").Value.Fields("material").Value.Fields("transparency").Value = 1
End If
Next

Any help is appreciated
So my question: how can I interact with the element/geometry inside an 'Inline' wrl file?
First, get the Inline node object, for example, from Engine.Nodes or Engine.RootNodes collection. Then use the Nodes/RootNodes properties of the Inline node object to get the contents of the "inlined" wrl file.


 


interaction with Inline files / some-1-2@hotmail.com / 1.01.08 07:16
     Re: interaction with Inline files / nalex@parallelgraphics.com / 2.03.08 02:00
         Re: interaction with Inline files / some-1-2@hotmail.com / 3.03.08 08:27
     Re: interaction with Inline files / dan.vera@gmail.com / 26.02.08 10:59
         Re: interaction with Inline files / some-1-2@hotmail.com / 24.03.08 16:35
         Re: interaction with Inline files / some-1-2@hotmail.com / 1.03.08 15:33

Messages in thread: 6


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