LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Render Destination "Scene Window" Behavior

Hello,

 

I've been making good use of the 3D picture controls recently. Infact, I've gotten to the point where the rendering is painfully slow unless I use the scene window as the render destination, allowing for hardware acceleration. The problem is, a pop-up window is very inconvenient for the UI I'm designing. Does anybody know any tricks what might allow me to embed the window in the VI? I need the hardware acceleration but want to suppress that popup window behavior, essentially.

 

Thanks

0 Kudos
Message 1 of 15
(3,727 Views)

The easiest way is improving your 3D Model, don't use 3D models with lots of polynoms. So try to decrease that number in your 3D model.

0 Kudos
Message 2 of 15
(3,723 Views)

Unfortunately the "model" is my data, so degrading the quality is not a viable option.

 

2nd question... Is there any way I can manipulate or access the properties of the external render window? Perhaps I can somehow take the frame off, so it appears to be embedded... If anybody knows any tricks like this, I would love to hear them.

 

Thanks.

0 Kudos
Message 3 of 15
(3,706 Views)

You tried to following already... don't know if it will work however but maybe you can notice a difference.

 

 

 

20761i5E715CBF140559A8

 

0 Kudos
Message 4 of 15
(3,700 Views)

I realize this is an older post, but I just came across it while researching the same question.

 

FiberOptix (or anyone else, for that matter), did you ever find a workaround for your problem? Is there a way to embed the "scene window" in another front panel? Or is there a way to leverage the hardware acceleration available to standalone render windows in standard 3D picture controls?

0 Kudos
Message 5 of 15
(3,543 Views)

Well, I'm now in the middle of a complete rewrite of the application using C++, and can use OpenGL directly. LabVIEW was totally inapproprate for what I was trying to do at the time.

0 Kudos
Message 6 of 15
(3,539 Views)

Thanks for the quick reply.

 

That's too bad. I mean, good for you, but unfortunate for me, since I'm pretty much married to LabVIEW for this application. But good luck with your C++ rewrite!

 

Anyone else, feel free to chime in if you have any suggestions!

0 Kudos
Message 7 of 15
(3,537 Views)

If you have multiple VIs and you just want them all to show in the same window, it is possible to have the front panel of one VI load into a subpanel of another, thus one VI could have multiple VIs displaying different parts and manage how they fit together. See this example to find out how to do this. I'm not sure what this would do to the efficiency or hardware acceleration, but it would allow you to have seperate VIs run with different properties and have them all display to the same front panel without managing passing the data back and forth.

- Regards,

Beutlich
0 Kudos
Message 8 of 15
(3,526 Views)

Thanks for the suggestion, Eric, but I don't think that it is possible to insert the 3D picture SceneWindow into a subpanel. But I will do some playing around to make sure.

0 Kudos
Message 9 of 15
(3,509 Views)
0 Kudos
Message 10 of 15
(3,502 Views)