LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Scene Background

I have a 3D object using Scene Window and I would like it to be displayed in front of a 2-D planar image as a scene background.  Is there any way to do this, either using an image file or drawing lines within the scene?

 

Thanks!

0 Kudos
Message 1 of 5
(3,589 Views)

alternatively, if anyone knows how to apply texture to a 3D mesh, that would work as well. Thanks!

0 Kudos
Message 2 of 5
(3,574 Views)

to use 2D on the 3D environment, you have to create a object in 3D with one of dimensions very small. For example, a Box with height 1E-6 will be a square. After that, apply texture to the box. This will show the object with the image you want.

 

LabVIEW has a shipping example that shows how to apply texture on spheres.

 

C:\Program Files\National Instruments\LabVIEW 2009\examples\picture\3D Picture Control\solarsystem.vi

 

This should do what you are looking for...

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 3 of 5
(3,556 Views)

Can u show how to do like a boat on the water with water as an image as the background?

0 Kudos
Message 4 of 5
(3,335 Views)

Hi id,

 

I think that you are talking about something like this example. I hope this one helps. You can look for more example code at ni.com/code.

 

Reagards,

steve.bm
AE | NI
0 Kudos
Message 5 of 5
(3,318 Views)