Hello,
I have been experiencing a problem with LabVIEW when displaying an image. It is a 3D picture so there are two displays, one with a texture (colour image + depth) and one without (depth only), and normaly I drag the object around to view from different sides, however I have recently been using a MacBook Pro, with Bootcamp (Windows 7), and the display does not overwrite, meaning that previous displays are appearing in the background.
Has anyone seen something like this before. Perhap it is another issue? Any help would be greatly appreciated.
I am getting something like this...
Can you post your code?
You are either having problems with the way you are handling moving the object around in your code or your graphics card is having a strange problem with updating. Your code would be my first guess.
Hi BFeigum,
Thanks for your reply. Here is a screenshot of the code. The blue wire that enters the loop contains a 2D array (24bit colour depth image).
I guess that the problem could be originating in the vi called "height map to 3D" which I have also attached below.
Any further help would be greatly appreciated.
Cheers.
Hi altenbach,
Thanks for your response. I can't seem to find how to find the option for "erase first", to see if it is enabled or not. I will keep looking. I see that this takes an input (0,1,2, etc) for which I presume I should set a value of 2?
Any guidance on how to set this parameter would be great.
Cheers.
Hi
The erase first should be available as a property (from a property node) of the 3D picture control.
Wiring a two into the property will set 'always erase' which sounds like a safe bet.
Have you been able to test the code on a different machine?
Kind regards
You'll find the LabVIEW Help window will update with info about the different properties if you hover over the property name in the property node. Further help is usually linked from there as well if you need more details.
HI hicksc,
The 'erase first' property seems to belong to picture controls (blue wire) but not for my display which takes a reference (dark green wire).
Cheers,
Matt