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.

Understanding DesignCAD's viewtool box buttons (A Dean demo)

Started by prl, November 08, 2014, 07:28:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dean

Using that formula, I'm able to get an idea of the distance between the clipping panes, giving me more control over creating the scene. I 'm creating a video to demonstrate this BUT I've been using the mouse wheel so I will test this with the zoom tool which has numerical values. = zoom increments.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

prl

Quote from: Dean on November 09, 2014, 08:50:50 AM
Using that formula, I'm able to get an idea of the distance

I'm anxiously awaiting the movie. 

By the way, verify for me you have watched this movie.  I'm going to ask Phil and Lar this too knowing they sometimes space out reading these long threads.

A movie - DesignCAD's 3d camera viewing box EXPOSED - Rated PR

Dean

Yes of course, I remember that but isn't that  :)focusing on object properties (moving) in relation to the current camera's properties.  Aren't we discussing the camera's properties in relation to the objects? 
> Manipulating the camera in a 3D environment.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

prl

Quote from: Dean on November 09, 2014, 10:39:36 AM
Aren't we discussing the camera's properties in relation to the objects? 

Thanks had to ask.  Only one or two people downloaded those files.  I did think it was you and Sam but just checking.

Same math is involved.  Moving a 3d space and camera with a stationary object.  Moving an object with a stationary 3d space and camera.

If you remember the "3d Earth Curve ball movie", that was a stationary object with a moving 3d space and camera.  That is what I think you are doing with your Chess board.  You're calling it "walking", or "flying" etc.  Phil/Lar calling that "rubbernecking" etc.

The effect I see with the rear clipping plane is some version of what I'm showing in that movie.  Maybe you are dynamically enlarging or shrinking the 3d viewing box.  Many ways to think of this.

Dean

Though I am doing this all from my experience and a "feel" for the camera tool, I would say that the camera is moving through the scene within an obvious set of  clipping panes or clipping pane. Or it's all done with mirrors. You're also forgetting that the camera's lens and zoom can be adjusted suited for the current view. Some of the other 3d programs that I use expose these clipping pane settings. Adding to the equation, there is also this invisible wall that prevents me from moving (fly by) any further, yet objects are still visible. My other video in the other thread displayed this. 
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

Dr PR

I have been experimenting with DesignCAD's normal view - I don't know if this has anything to do with the "fly by" view, whatever that it. I am not talking about PaperSpace "View Frame." V24.0.

It would help a lot of we all used the terminology in the DesignCAD Reference Manual instead of making up terms that mean nothing to everyone else.

Here are some terms from the Reference Manual and their definitions:

View: What you see on the screen. This is also the field of view, view plane, view angle and other related concepts. It is the image DesignCAD creates.

View Center: An arbitrary XYZ location in the drawing. The view from the screen ALWAYS points at the View Center. All views are relative to the View Center. The View Center is the center of the virtual world view in DesignCAD.

View Distance: The distance from the View Center to the Viewer Position. It influences the amount of perspective distortion of the image. It applies only in Perspective projection.

Viewer Position: (View Point) This is the screen position - the virtual plane on which DesignCAD paints an image. The Viewer Position is the center of the screen image. It is also called "Camera Position."

View Direction: (Line of Sight) A line from the View Center to the Viewer Position. It is perpendicular to the screen/view plane. The View Direction has some arbitrary X, Y and Z angles relative to the X, Y and Z axes.

All Viewer Positions are somewhere on an invisible sphere of View Distance radius centered on the View Center. The View Direction is the view angles in the XY, XZ and YZ planes.

When you move the view you are moving the Viewer Position only. The View Direction ALWAYS points at the View Center.


****

Here are how the DesignCAD view controls work.

1. Set Viewer Points is an icon in the View Toolbox (Camera with red arrow to lower right). It sets View Center, Viewer Position and View Distance.

The Reference Manual says: "Set two points - the first for the viewer position and the second for the view direction." This is incorrect.
The Status Bar says: "Set Points: 1 - Target position, (2 - Viewer position)

  A. In fact the first point is the View Center (Target position).

You can stop the function by pressing Enter without setting another point.

  B. If you place another point it sets the Viewer Position AND View Distance. The Viewer Position defines the View Direction and View Distance from the View Center to the Viewer Position.

2. View/Set View (Set View by View Center icon in the View Toolbox) allows you to rotate the view by holding down the left mouse button and moving the mouse/trackball. The view spins around the "View Center." You can also change the "View Distance" by holding Ctrl+Shift and moving the mouse/trackball. This had the effect of changing the perspective angles.

If the "View Center" is not near the objects, rotating the view moves the objects off screen. You should set the View Center (Set Viewer Points) before using this function.

If you shorten the "View Distance" too much parts of the nearest objects disappear - they have moved behind the "View Point."

If you lengthen the "View Distance" too much parts of the objects start to disappear and the view starts to jump around unpredictably. Eventually everything disappears.

3. View\Set View by Drawing Center (Set View by Drawing Center icon in the View Toolbox) works like "View/Set View" except the view rotates about an arbitrary XYZ point at the calculated center of the drawing. If the drawing has objects spaced far apart and nothing in between the view may shift to a blank screen with none of the objects visible.

4. Increase View Distance and Decrease View Distance are down and up arrows respectively in the View Toolbox. They change the View Distance from the View Center and therefore the Viewer Position.

5. Move Viewer Left, Right, Up, Down and Rotate Viewer Clockwise or Counter-Clockwise. These are icons in the View Toolbox. These actually rotate the Viewer Position around the View Center. Clicking on the icon causes +/- 10 degree rotations of the Viewer Position around the View Center. I don't know if these rotation angles can be changed.

6. Horizontal Angle, Vertical Angle and Rotation Angle are boxes in the View Toolbox that allow us to enter exact rotation angles to position the Viewer Position relative to the View Center.

7. Projection. A field in the View Toolbox where you can select one of six view options for the current window.

  A. Perspective: This view shows perspective where objects in the distance are displayed smaller than equal sized objects in the foreground. Lines that are actually parallel may not be displayed as such. This is the default view.

In Perspective projection the View Distance determines the perceived angles between parallel lines. Smaller View Distances cause greater angular distortion and can cause view clipping where parts of the drawing are not visible.

  B. Parallel: Displays a view where all parallel lines are shown as parallel (without perspective distortion) with an effective View Distance of infinity.

  C. Isometric: Displays a Parallel view with a View Direction at 45 degree angles to the three axes.

  D. Front View: Displays a Parallel view looking down the Z axis from +Z to -Z.

  E. Top View: Displays a Parallel view looking down the Y axis from +Y to -Y.

  F. Side View: Displays a Parallel view looking down the X axis from +X to -X.


Phil
DesignCAD user since 1987

prl

Quote from: Dean on November 09, 2014, 11:52:22 AM
Though I am doing this all from my experience and a "feel" for the camera tool

That's the issue. Looking to achieve something explainable and reproducible.

prl

Quote from: Dr PR on November 09, 2014, 11:54:56 AM
View Center: An arbitrary XYZ location in the drawing. The view from the screen ALWAYS points at the View Center. All views are relative to the View Center. The View Center is the center of the virtual world view in DesignCAD.

I can create a drawing with objects to the side of the visible screen with the view center also off the screen.  When this happens, the DesignCAD camera is looking at a blank screen.  I'm sure others have observed this.  If you orbit the camera and your screen in mostly blank and then suddenly a brief portion of your model shows and then disappears, that is what happens when the model with view center isn't within the line of sight of the camera.

QuoteView Direction: (Line of Sight) A line from the View Center to the Viewer Position. It is perpendicular to the screen/view plane. The View Direction has some arbitrary X, Y and Z angles relative to the X, Y and Z axes.

Again, same situation as what I wrote for the View Center.  If this were true, I would see the model.


In general, the things your are quoting or defining, hold true if and only if the view center happens to be at the center of the viewing screen and the view center is somewhere on the model.

prl

Quote from: Dr PR on November 09, 2014, 11:54:56 AM
View Direction: (Line of Sight) A line from the View Center to the Viewer Position. It is perpendicular to the screen/view plane. The View Direction has some arbitrary X, Y and Z angles relative to the X, Y and Z axes.

Here too I can create a model where the line of sight lets me look at a blank drawing but the view center is smack in the middle of my model (which is off in deep space somewhere).

So for me, the definitions don't hold.

Dr PR

prl,

I assure you that if you look at my exact wording and try a few tests you will see that what I said is true.

The View Center has absolutely nothing to do with the elements of the drawing. As I said, it has arbitrary XYZ coordinates - you (or the program) can set them anywhere.

The View Direction is from the center of the screen (Viewer Position) toward the View Center. Again, this is not necessarily pointing at anything in your drawing. It depends upon where you set the View Center.

So if the View Center is positioned away from any of the drawing elements and you use the "Set View by View Center" function you won't see anything. If you orbit the view center some drawing elements may occasionally flash across the screen.

****

There are exceptions to what you see - but not because the rules are incorrect.

1. If your View Distance is very great relative to the dimensions of the drawing elements the entire drawing may appear as a single pixel (or not at all) and you probably won't notice it. So even if the View Center is in the middle of your drawing elements you won't see anything.

2. If your View Distance is extremely small relative to the drawing dimensions there may be all sorts of objects around the View Center but you will be looking between them and won't see anything.

3. The Z buffer also plays a role as discussed elsewhere. Your View Direction may be pointing directly at an object, but if is too far away relative to the View Distance the object may not be displayed.

4. The "zoom extent" also plays a role in what you see. If you zoom in very close the field of view (view angles) is so narrow that you can easily look between objects in the drawing. Zoom out (Fit to Screen) and objects will reappear.

Zoom does not change the View Direction, Viewer Position or View Distance. The zoom functions do not generate new images - they just zoom in/out on parts of an existing image, the way you can zoom in on parts of a photograph in Photoshop (this can result in the View Center and Viewer Position being off screen). This is tricky, and goes back to the original Prodesign days when the program was entirely screen oriented - like drawing on a sheet of paper and the screen was the virtual paper.

When you rotate the view or change the View Distance DesignCAD has to generate an entirely new view image, and it follows the rules for View Center, Viewer Position and View Distance. But after the view rotation stops the latest view image remains in memory. This view image is what is displayed on the screen.

When you open and close a dialog, pull down a menu, etc., the original view image remains but the display changes. Then after the edit or the dialog/menu closes DesignCAD replaces the necessary parts of the screen (not necessarily all of the screen) with the original image. The relationship between View Center and Viewer Position in the view image stored in memory has not changed.

When you edit a drawing only the necessary parts of the original view image are changed. Again the relationship between View Center and Viewer Position do not change.

But, when you zoom in/out only a portion of the latest view image is displayed on the screen. You can point the cursor (on later versions) and zoom in on any part of what you see on the screen, and a part of the original view image is displayed - a new view image is not generated. The View Angle doesn't change. The View Distance doesn't change. The perspective doesn't change. If you zoom in on any part of the original view image that is not at the center of the screen both the View Center and the Viewer Position may be off screen.

If the View Center is not at the canter of the drawing and you zoom out or use "Fit to Window" the View Center and Viewer Position will not be at the center of the screen. But when you regenerate the view image by rotating the view or changing View Distance the new view image will have the Viewer Position and View Center at the center of the screen.

****

In all four of these exceptions the relationships between View Center, Viewer Position and View Distance hold true.

If you don't see anything it is because you have chosen the wrong View Distance, zoom extent, zoom center or all three.

Phil
DesignCAD user since 1987

prl

Not sure what to say Phil.  It would be easier if you attached a drawing or produced some movies or did something in addition to the long writings telling me to study your sentences for your exact wording.  And telling me that it is all perfectly obvious isn't scoring points with me.


As I mentioned, I can create a model, position it in space, put the view center directly on the model and have DesignCAD's camera (viewer position) look at nothing.  In your definition of view direction or line of sight, that shouldn't be possible.

Edit: Uncle. I'm obviously irritating folks. I'll give things a rest.

Dean

Prl,
I'm afraid to post this. https://www.dropbox.com/s/z6vgga4xhwdvi18/clipping%20panes.wmv?dl=0
(as Dean slowly walks away)
Does it make any sense to you? Please pay close attention to when I'm in fly"by" or adjusting "view distance" and zooming. When the screen is bouncing ,I'm zooming with the mouse wheel
@45 secs I hit the invisible wall while I was in fly by" mode.
In your doll video you didn't use any Zoom or any of the view tools correct?
Is there anything else that you would like to see, I do have complete control over what I 'm doing.  I just don't know what it is I'm doing. So, instead of asking me to describe what I'm doing >give me something to do< so maybe you might know what it is I'm doing.
My computer is taking a beating recording these videos.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

prl

Quote from: Dean on November 10, 2014, 03:30:45 AM
I do have complete control over what I 'm doing.  I just don't know what it is I'm doing.

Dean, thanks for posting and being a good sport about things.  I'll study things.  We'll eventually figure this out (and take advantage of it).

Dean

Prl,
I just realized something while I was creating a walk through animation. After every camera adjustment I make with the camera tool made using the mouse, the coordinates (in numerical values) are being recorded in the info box . Would this help you to understand the mathematics behind what's happening ? I could set up the scene on the grid.

V23  help file >The main difference between Walk Through Mode and Animation Mode is that Walk Through Mode is only used to change the view of a drawing; items in the drawing cannot be moved or rotated independent of one another. A series of view angles are changed slightly from one frame to another. When all the frames are displayed in rapid succession, the view angle of the viewer moves smoothly around the drawing.

I created all those video's in model space using the same Technic without the animation. This was how I learned how to create walk through animations.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit