07-01-2009 03:20 AM
I'm using the 3D picture controlfor the first time and I'm amazed at how much faster it is at drawing than the old Picture control. Likey Likey.
What I would like to do is to abuse the 3D picture control as a 2D picture control but I need to fill the viewport with a single side of a box created in the scene.
I can create the box to have th same orientation and size of the viewport and also create the texture for the box the same size, this is no problem. What I want in the end is to have my texture pixel-perfect in the viewport of the 3D picture display.
I can do this manually via "projection Matrix" and "model View Matrix" but I don't quite understand where the numbers come from. Since I'm a bit of a dunce when it comes to matrix transoformations, can somebody perhaps help me out with some tips on where to find this informaiton out?
Shane.
07-01-2009 03:47 AM
Knowing that the corners of the viewport are always from -1,-1 to 1,1 regardless of the actual aspect ratio of the indicator it's kind of easy to work out the settings required.
Simply paint a texture on a 1x1x1 cube and voilà.
I'm amazed at the difference in speed between the old picture control and the new 3D picture control. Is it hardware-accelerated?
Shane.
07-02-2009 07:16 AM
Hi Shane
That depends on your hardware (CPU, graphic board, RAM etc.) and your LabVIEW Version. In the new LabVIEW version the hardware acceleration is better then in the older versions.
Look at this forums post:
3D picture control speed/latency
http://forums.ni.com/ni/board/message?board.id=170&message.id=360309&requireLogin=False
Kind regards
Beat
NI Germany
07-02-2009 08:10 AM
Are the embedded 3D-controls also hardware-accelerated?
I read somewhere that only the external windows are accelerated by Hardware.....
I'm using LV 8.6.1 and the performance for what I'm doing seems just fine.
Shane
07-06-2009 02:50 AM
Hi Shane
I think they aren´t hardware accelerated and only the external windows are.
Kind regards
Beat
NIG
10-24-2010 04:26 PM
Can someone from NI confirm if the embedded 3D picture control is hardware accelerated in LV2010.
Thanks