LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 3D in gray scale when using Lights

I have created some 3D graphics, using primitives as well as VRMLs to display in the 3D picture control. All works well in development environment, as well as an EXE on the development computer. I then tested the exact same code on the deployment PCs and all of them consistantly show the 3D picture in gray scale (Maybe saturated). After a lot of back and forth, I narrowed it down to the light source, especially if the specular color is set to anything. I've tried two display cards, one was the Intel HD, and the otehr was an NVM 310 from nVidia. Anyone ever see something like this?

 

I'm using LabVIEW 2011 SP1.

0 Kudos
Message 1 of 4
(2,487 Views)

I've seen it when looking at the WRONG side of my objects, i.e. the back-side.  I spent a day once trying to find out m mistake when I accidentally rotated my viewport and suddenly say colours.....

 

Maybe not your problem, but worth trying.

0 Kudos
Message 2 of 4
(2,481 Views)

In my case I have two lights at opposite ends to handle that case. But that was a good suggestion.

0 Kudos
Message 3 of 4
(2,479 Views)

Just make sure the normals for your surfaces are correct.

 

Even with two light sources, if you have a texture applied, it will only show on ONE side of your object.  Make sure it's the right side.

0 Kudos
Message 4 of 4
(2,459 Views)