LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Window title and borders for Render Window (3D Picture Control)

Hi all,

some more questions on the 3D picture control.

I use the external render window, because in the solarsystem.vi demo, the 3d picture control appears to be very slow. The render window is much faster there. (I haven't tried it for my application though.)

I'd like to display a full screen 3D animation. How the hell do I get rid of the window title bar (I can set it to empty, but the bar itself remains), and the borders of the render window?

Regards
Matthias
0 Kudos
Message 1 of 3
(2,855 Views)
The update speed of the solarsystem example is 2 ms (in the timeout event). This would result in 500 updates per second, witch is totally redundant. Put it on 33 ms, and you'll still get smooth updates, and much better performance! No monitor will update 500 times a second, and your eye can only see 25-30 frames per second anyway.


With this, you could probably use the normal 3d control (indicator actually). The window doesn't have any way to remove the title bar.


(You can do some things with window API's, but removing the titlebar is only possible by creating a new class, a new window, and then it would be impossible to tell LabVIEW to use this window...)


If you'd make the render window full screen, how would you close your application? There is no way (or I'm missing it) to get events back from the render window.


Regards,


Wiebe.
0 Kudos
Message 2 of 3
(2,848 Views)
Hi,

after some work I am now using the 3d picture indicator, although it still appears to be a bit slower than the render window.

Finally, the animation would be controlled using an external hardware device. In the meantime, for development, I use the keyboard to control it: you can listen for mouse and keyboard events using the DirectX VIs (look for Connectivity -> Input Device Control palette.). This also works with a full screen render window in front of the original VI.

But since I'm back to the normal 3D picture indicator, I'm also back to normal keyboard events.

Regards
Matthias
0 Kudos
Message 3 of 3
(2,845 Views)