LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i set the size of 3d picture control

dear sir,
            I have attached my vi.I have one doubt  ie I have used translate object. vi in my vi to move my picture according to the value set by the y position.This y position indicates depth my object.this is sample object  insteat of i am going to update my underwater vehicle.
What my problem is when i chnage the y value beyond 200 I can not see my picture.so  how do i set the size of the 3d picture control size.
       I have to see my picture within the 3d picture control eventhough i change the y value between 0-500,how do i solve my problem.
Another my doubt is how do i show the depth value (ie y value in translate object .vi) in 3d picture control ie while the picture is moving in a 3d picture control at the same time i want to display the corresponding depth rating in the 3d picture control
 
Pls anyone suggest me as soon as possible.
 
Thanks and regards
jayanthi.k
0 Kudos
Message 1 of 4
(3,095 Views)

Jayanthi,

You've attached a llb file.  When I open this library, it is empty.  Could you try to attach the code again, and if there's any subVI dependencies, those as well?

Trey B
Applications Engineering
National Instruments

0 Kudos
Message 2 of 4
(3,080 Views)
dear sir,
             I have attached my and wrl file in a zip format.
While I am running my vi ,I get my picture in the 3d picture control.But the shape is not clear ie i cannot clearly identify the sides.How do i differentiate the colour also.
 
Thanks and Regards
Jayanthi.k
0 Kudos
Message 3 of 4
(3,055 Views)
Jayanth,

Take a look at the attached example.  Alternatively, you can search for it in NI Example Finder by going to Help>>Find Examples in LabVIEW, click on the search tab, and search for meshes.  I had difficulty reading your code, but I believe you need to position your lighting source in the optimal location to get better definition.  And the example shows how to bind a color to the object.

Trey B
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,039 Views)