News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Auto Adjust View Distance

Started by Dr PR, February 15, 2016, 10:11:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Occasionally parts of a drawing seem to disappear and be invisible, even if the layers they are on are visible. This sometimes happens when we are rotating the view with long linear drawings.

The problem is the "View Distance." This is the distance from the viewer (the screen) and the objects in the drawing. You can see the current View Distance in the View Toolbox - the numeric field on the far right. If the View Distance is too short the viewer is placed inside the drawing area and objects behind the viewer disappear.

DesignCAD starts up with a default View Distance of 1000. As the drawing grows it may become larger than 1000 units in any dimension. When this happens some parts may occasionally disappear. This always catches me by surprise and it has caused confusion for other users. To be safe I have found it is best to use a View Distance of 2 to 5 times the greatest dimension of the drawing.

This is often a problem when files are imported from other drawing formats where there is no defined View Distance. Often these drawings are much larger than the default 1000 units and are displayed as a meaningless jumble of lines because the View Distance is way too short. I have seen this many times, and have deleted the drawings as failed imports when all that was really wrong was the View Distance.

Note: View Distance applies only to 3D drawings, and it mainly affects "Perspective" mode views to change perspective angles in the display. But if the View Distance is too short parts of the drawing may disappear in other view modes.

****

Should the View Distance be adjusted automatically to ensure that all parts of the drawing will be visible? It could be calculated on the fly and adjusted to 2-5x the maximum drawing dimensions.

There is a problem with this idea - sometimes we will want to make the View Distance much shorter to get desired perspective views.

So maybe with new drawings and imported drawings the View Distance should be adjusted automatically as the drawing grows in size to ensure that all of it is visible when "View/Fit to Window" is used.

Maybe "Fit to Window" should always adjust the View Distance.

But if the user changes the View Distance manually the automatic adjustment should stop.

Or maybe the "Auto Adjust View Distance" function should be an option in the "Options.Options/View" tab.

****

Any thoughts or suggestions aboout this idea?

Phil
DesignCAD user since 1987

Lar

It's not the viewing distance that causes parts of the drawing to disappear. It's actually the 'clipping planes' that sit in front of and behind the drawing content and are always perpendicular to the camera's line of sight. It's just that we have absolutely no control of the clipping planes and the only way to get any control of the disappearing is to manipulate the viewing distance.

For me this is a major frustration because many times the amount of perspective I want, for presentation purposes, would cause parts of the drawing to disappear so I have to roll back the perspective and be satisfied with a more isometric image. And its a double whammy in that the longer the building the more perspective it needs and therefore the more of it will disappear (triple whammy because the more isometric the less attractive).

In my opinion the default should be the front clipping plane sit a bit behind the camera and the rear clipping plane be off. The user should then be able to place the clipping planes wherever he wants and at any angle (with option of it being relative to the camera or the xyz axis). This way you will be able to cut sections through a model without destroying the full model, and by turning on both cutting planes and bringing them close together we could isolate details. Of course, each paper space view frame should have its own set of fully controllable clipping planes, for final printing purposes.

That way we will be free to manipulate the viewing distance/perspective as much as we want.

Quote from: Dr PR on February 15, 2016, 10:11:46 AM
Often these drawings are much larger than the default 1000 units and are displayed as a meaningless jumble of lines because the View Distance is way too short. I have seen this many times, and have deleted the drawings as failed imports when all that was really wrong was the View Distance.
Tip: whenever you get that crazy 'tunnel vision' perspective use the 'set viewer points' command with only the first point (ie, snap the 1st point somewhere near the center of interest and press enter). This would correct the view.

Lar

Dr PR

Lar,

I remember we discussed this at length several years ago, but I don't remember all the details.

If you set the "View Center" on the nearest object in the drawing will this solve the problem of the nearest clipping plane hiding parts of the closest objects? This isn't a solution for view rotations because as soon as you start rotating the view something else may rotate behind the nearest clipping plane. But it might work for static perspective images.

I know there are other perspective problems when you set the view distance to about equal to the depth of the drawing. For example, some surfaces nearly parallel with a "horizontal" plane from the viewer to the "View Center" fail to render and appear black.

I don't recall why there is a rear or more distant clipping plane.

I do know that when I imported IGES files they always looked like an explosion in a chopsticks factory. Just changing the View Distance to a value larger than the drawing width solved this problem.

Phil
DesignCAD user since 1987