LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D picture control does not show the full image.

Solved!
Go to solution

I am having an issue with the 3D picture control not showing my entire 3D model.

 

At first I thought this was "FOG", but when I set the SceneObject Fog.Function to "No Fog" it has no affect.

 

I have tried several settings, but I can't seem to find anything that affects what i'm looking for.

I'm including some pictures to show what it is that I'm looking for.

 

If I zoom in within the 3D picture control I can see more of the image in the background.

 

I don't know if this is a limitation of the 3D picture control or a setting that I can change.


Engineering - The art of applied creativity  ~Theo Sutton
Download All
0 Kudos
Message 1 of 5
(4,063 Views)

I see that you have a row and column interval of 50. Your total field might easily exceed 10000 in the X-Y directions. I think that Labview has a range of view in the 3D picture around 10000 (whatever the units). Scale down the height of your field with the spacing (1/10 of the height for an interval of 5 for example) and you should see more of your field, if not all. Scale down until you see everything you need to see.

Marc Dubois
0 Kudos
Message 2 of 5
(4,015 Views)
Solution
Accepted by topic author MrQuestion

It looks to be your clipping plane.

 

I forget how to set it but there's a property node somewhere which sets a clipping plane for the view youi have set up.  It might be a function of the camera, I'm not quite sure.....

 

EDIT: Found it, it's as follows:

 

Note  To prevent 3D objects from appearing distorted, avoid scaling objects beyond the clipping planes. The default value of the near clipping plane, which defines the plane nearest the viewer, is 0 units. The default value of the far clipping plane, which defines the clipping plane farthest from the viewer, is 10000 units. You can use the Projection:Perspective method to set values for clipping planes programmatically

Message 3 of 5
(3,998 Views)

Thank you for the suggestions!

I have been playing with several settings and I believe you are correct regarding the range view limit.

 

 

 

Do you know what the "Create Terrain" vi doing?  (The detail help in LV2012 takes me to the generic "Front Panel Controls and Indicators" help page)

I can not find very much information about this; particularly about the Column/RowInterval. 

What are these interval inputs doing?

Is it literally take every Nth sample and ignoring all the other samples.

For examle take sample Data[0,0]  and then take sample Data[50,0] ?

Or is it doing some type of average?

 

Should I create a terrian with a interval of 1 on both Column and Row, and then use the scale VI?

 

 


Engineering - The art of applied creativity  ~Theo Sutton
0 Kudos
Message 4 of 5
(3,958 Views)

I cannot find any reference to the "Create terrain" VI. With theVI Create height field, the intervals are the distances between the points of the 2D array. For example, if you have a height 2D array of 20x30, and that you give row and column intervals of 40 and 50, the horizontal (X, Y plane) dimensions of your field is 800x1500.

 

By the way, thanks to Intaris about the hint for the Projection perspective property node. However, its use is not obvious and I am still investigating. 

Marc Dubois
0 Kudos
Message 5 of 5
(3,924 Views)