Jump to content

Obtaining SceneMesh parameters of 3D objects


Recommended Posts

Hi All.

How can I obtain the SceneMesh parameters of an Object if I only have the objects name.

My thoughts would be to use something as shown below.... unfortunately SceneMesh is not a Class of SceneObject....

Specifically I would like to get the VertexArray, NormalArray and Indices.

Any suggestions?

 

SceneMesh.png

Edited by Philippe123
image missing
Link to comment
  • 2 weeks later...
On 7/11/2017 at 10:08 PM, Philippe123 said:

Hi All.

How can I obtain the SceneMesh parameters of an Object if I only have the objects name.

My thoughts would be to use something as shown below.... unfortunately SceneMesh is not a Class of SceneObject....

Specifically I would like to get the VertexArray, NormalArray and Indices.

Any suggestions?

 

SceneMesh.png

I believe you should read the Drawable property and downcast it to the SceneMesh class. At least that is the class hierarchy, but I'm not sure if the Drawable is really a multiple inheritance object interface that simply implements all the SceneBox, SceneMesh and so on interfaces or if there are different drawable types that a scene object can have. If it is the second, I think the LabVIEW interface simply doesn't provide a way to do what you want.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.