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.

Help with DCv23

Started by Shipmodeler, November 07, 2013, 03:16:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shipmodeler

I have been using version 23 for a few months now, but this is my first experience using the 3D end of it so I'm finding new things added to it.  One thing that is bothering me is the 3D plane shading.  In the older version 21 I used before this, when a plain was created the lines behind it were hidden so you could easily see the new plane, but for some reason, version 23 wants to shade the plane with lines (see attached).

My question is, can the shading be set to white?  I thought it could so I set it to that setting.  Unfortunately, it continues to shade the planes using the black diagonal lines which make seeing the dashed hidden lines.  Can anybody help me out with this?

"A man can never say he has truly lived until he has built a model ship"
Ronald Reagan

Lar

#1
Quote from: Shipmodeler on November 07, 2013, 03:16:39 PM
but for some reason, version 23 wants to shade the plane with lines (see attached).
You have two identical planes sitting atop each other. This causes dcad to attempt to display both of them, which sometimes results in a hatch type line. Turn on shading, click on the top plane to select it and move it away and you will see another plane there. You should probably delete one of the top planes.

On my system the hatch-type lines only showed if 'graphics acceleration' was off. Once I turned it on the hatch-type lines did not show.

Shading will also show that not all of the object consist of surfaces. Many of the sides consist of line entities (you only have 4 planes in the drawing, including the duplicate top plane. This would explain why you can see through the object in some places. Either you drew the "surfaces" as lines or you 'vector converted' them by mistake (you can explode grid surfaces down to planes but you can't 'explode' planes down to lines).

I'm not sure if this is intentional but the lines you see at the top surface are all in the same 3d-plane as the top so they would all be visible (the top plane entity(s) and the line entities). You would have to move the lines below the top plane for them to be hidden by the top plane.

Lar

Shipmodeler

Thanks for the advice.  It worked just fine.  Yes, the missing planes were intentional as I was trying to figure out the problem I was having.  It's good to know that I will now know in the future if I have a plane on top of another.

Thanks again for the help.
"A man can never say he has truly lived until he has built a model ship"
Ronald Reagan

Dr PR

Shipmodeler,

The plane-on-plane is a bit more complicated than it might seem. The two planes do not have to be coplanar - there may be some distance between them - for the zebra stripe effect to be seen.

When DesignCAD renders a view it calculates the "depth" (or distance) from the viewpoint to various objects in the drawing - this is the display "Z buffer" for rendering objects one above the other. Although the drawing resolution may be very small, the display Z buffer depths may be calculated to a much coarser resolution.

Zoom in close with a short view distance and the display Z buffer depth resolution may be less than the distance between the surfaces and they will display correctly, one above the other. But if the view distance is large, as is necessary when you zoom out with large drawings, the Z buffer depth resolution may be coarser than the distance separating objects. When this happens objects very close together are displayed as if they were at the same distance.

With plane and grid surfaces I often see "zebra stripes" of alternating colors of the different objects. I have noticed that viewing angle, lighting angle, view type (Perspective, Parallel, etc.) and curvature of surfaces cause varying results when two closely spaced objects are displayed. With curved lines over grids only parts of the lines are visible.

This is unpredictable, so I stopped trying to "paint" one surface over another and now I create multiple surfaces to simulate paint on a background surface.  Here is another post on this subject that includes an image:

http://forum.designcad.com/index.php?topic=3357.msg18034#msg18034

Phil
DesignCAD user since 1987

Shipmodeler

Thanks Phil.  I was mostly concerned about WHY the striping occurred.  I was concerned that DC had made a program change in v-23 that I just couldn't work with.  Now that I know what causes the striping I can avoid it as well as use it to my advantage. 
"A man can never say he has truly lived until he has built a model ship"
Ronald Reagan

samdavo

#5
Quote from: Dr PR on November 08, 2013, 09:52:08 AM
Here is another post on this subject that includes an image:

http://forum.designcad.com/index.php?topic=3357.msg18034#msg18034
Phil
Phil,
As they say on ABC radio (Aust Broadcasting Commission) on Saturday-morning-phone-in-and-discuss-DIY-projects-with-guest-tradies,
a) That post and particularly that link gets the gold star award for this week :)
b) we'll mail it out to you after the program, and
c) make sure you mail it back by next Thursday :)
PS it's a very light-hearted program, appropriate to weekend mode)
Quote1. CAUTION: Be very careful to not draw a plane over two non-planar fragments of the grid! You can do this by manipulating the points of planes in Point Select mode. However, if you do you will get very strange artifacts in the rendered images. Trust me, I speak from experience! These warped planes can cast shadows in the wrong directions, and sometimes they are rendered twisted, with the front (lighted) color over part and the rear (shadowed) color over another part.

2. On the other hand, if you want your images to look as if they were strained through a kaleidoscope, warp them to your heart's desire.

3. ... After defining it to be a solid it will render as a single smooth surface, just as the flag is rendered.

Note: I am aware that you can texture-map images onto surfaces. Good luck trying to get them rotated and scaled correctly! For things like flags you will have to map both sides. And even more luck will be needed if you want to send the drawing to another program!
1. I had picked up on your point (elsewhere) that planes should be triangles if in doubt. i.e. quadrilaterals and higher polygons may be severely twisted rather than planar, but impossible for triangles (as you've said a few times).
2. I like that description :)
3. I add a couple of quick Aussie flags, texture-mapped. (the second one is a cheat because the jpeg already has curves and shadows :) )

But one point I will make (which I find encouraging) is that the image on one face of the plane is visible in reverse on the opposite side ( 2 cents)