05-13-2015 09:52 AM
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.
Solved! Go to Solution.
05-14-2015 08:30 AM
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.
05-14-2015 09:15 AM - edited 05-14-2015 09:18 AM
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
05-14-2015 03:27 PM
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?
05-15-2015 07:17 AM
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.