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.

More shading problems

Started by roger_c130, May 13, 2012, 05:06:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Roger,

In your washer example drawing click on one of the objects to the left. Notice that the highlighted object is either the inner or the outer cylinder? This means that the "hole" is separate from the "washer." You can do the same with the two circles at the top. In both cases you do not have a single object.

Also, as I mentioned earler, you have common end planes for the washer and the hole solids - this is asking for trouble!


****

OK, take a deep breath, because what follows may be confusing the first time around. Actually, it may be confusing the secon or third time around!

The left objects and the circular planes have strange color behavior because they a re the "Aluminum" material. The other objects are the "Default" material.

Material can have two colors - the wireframe color and the shaded color. Your aluminum objects have a red wireframe material and an aluminum colored shading material. When they are shaded they are rendered in the aluminum color IFF the "Enable Color Material" option is selected in the Shading Dialog (this should always be enabled*). If this option isn't selected the Aluminum objects shade as red.

So where did the Aluminum material come from? You may have assigned it at some time, but it is posible that DesignCAD did this to you. Older versions of DesignCAD has a 3D material type called "General." Later versions have a type called "Default." They are more or less the same, but newer versions do not recognize the "general" type material, and these objects may be translated into anything else - but aluminum seems to chosen occasionally.

The Default material always shades in the wireframe color, whether the Enable Color Material option is enabled or not.

Other materials may not have different wireframe colors. The default color for the Aluminum material is an extremely light gray which is almost invisible against a white background. You can change the wireframe color of Aluminum (and other non-Default materials) in the Info Box. Click on the color tile an picj a different color. This changes the wireframe color only. The materials will still shade with their material colors if "Enable Color Material" is enabled in the Shading dialog.

* The "Enable Color Material" option enables all of the special material lighting properties. If it is disabled the best you will get is cartoon-like images. With it enabled Phong shading produces black blacks and white whites, and other material properties like wood grain or concrete textures are visible.


****

For what it is worth almost everything I draw is the Default material. I do occasionally use other materials when special effects are needed. But I mostly draw ships. They are gray.

I use the White material when I want a true white (Phong) and likewise I use the Black material for dark blacks. I sometimes use the Glass material when I want transparency, but a single Glass object in a large drawing can increase rendering times from minutes to hours. I have created Bright Chrome and Bright Brass materials to simulate polished metals.

****

Your form drawing opens OK and shades OK on my machine. It is a correct solid. The color is the same with or without "Enable Color Material" enabled in the Shading Dialog because your "Default 29" material seems to be a variant of the original Default material.

****

Oh, one last thing to confuse the issue even more. DesignCAD has screwball "light properties" that can make smooth objects fuzzy and rough objects smooth. Crazy? Yes! But you can defeat it.

Open the "Options/Options/Light Source" dialog. In the "Intensity" section move the sliders for "Ambient," "Diffuse" and "Specular" to 100%. This pretty much disables the screwball light properties and allows the material properties to determine whether an object is smooth or fuzzy.

As someone else mentioned use the horizontal and vertical sliders in the "Direction" section to get better lighting. If "Move with eye" is enabled the light works like the light on a miner's helmet. If it is disable the light remains in a fixed positionas you change the view, so you can look at the shadow side of an object.

Finally, for viewing single objects or simple scenes it is best to use a single Directional light and disable all other lights and light types. You can get some interesting and very peculiar effects with multiple lights and different light types. You have been warned!

Phil
DesignCAD user since 1987

roger_c130

Hey guys I don't mean to beat a dead horse to death but I can't get away from the "oldform".  It was a 2D drawing, clicked into 3D, all selected until all lines connected, defined as a plane, and extruded to 1/4".  That's all I really did.  Shading treated the holes exactly the way I wanted.  If you rotate the form around you'll see the holes where they should be.  And, the color stays.  What happened?  I'm attaching another form with holes that's been done as above.  My system says it's a solid which I take to mean that the holes are truly holes thru the piece.  I can't get it to shade though like the first form.  I do have a better understanding of solids thru this but not completely satisfied.  It means too much work ahead for me.

MarkX

Quote from: roger_c130 on May 14, 2012, 01:47:28 PM
Hey guys I don't mean to beat a dead horse to death but I can't get away from the "oldform".  It was a 2D drawing, clicked into 3D, all selected until all lines connected, defined as a plane, and extruded to 1/4".  That's all I really did.  Shading treated the holes exactly the way I wanted.  If you rotate the form around you'll see the holes where they should be.  And, the color stays.  What happened?  I'm attaching another form with holes that's been done as above.  My system says it's a solid which I take to mean that the holes are truly holes thru the piece.  I can't get it to shade though like the first form.  I do have a better understanding of solids thru this but not completely satisfied.  It means too much work ahead for me.
Hi Roger,

You need to show us the template you started with when making the form. DC just doesn't work quite the way you describe. At least AFAIK. You either have to punch holes in the plane before you extrude, or subtract them out as solids after you extrude.

I think you might be forgetting some steps you took. I know I forget steps I took on some drawing just a couple of months ago ... let alone years ago.

All the shading settings in the world will make no difference if you don't have the holes cut.

Maybe you have some of your starting (2D) templates you could show?

Good Luck,
Mark


roger_c130

OK.  The first attachment contains two forms unaltered.  That is no line connecting or any other process.  The second file has the same forms but the one on the right has gone thru my procedure and it looks like it turns out as a solid.  At least that's what Info thinks.

Bob P

All the shading settings in the world will make no difference if you don't have the holes cut.
All the shading settings in the world will make no difference if you don't have the holes cut.
All the shading settings in the world will make no difference if you don't have the holes cut.

That means, when you are working with planes (in 2D or 3D mode) you must subtract any internal areas from the main piece in order to make holes.

Edit > Polygon edit > Polygon subtract

Or - you must extrude each hole separately from the main area, (so that their +/- z value goes past the main area's extrusion surfaces).  Then, you can subtract the cylinders (or other shape) from the main extrusion to make the holes.

MarkX

Quote from: roger_c130 on May 14, 2012, 04:14:07 PM
OK.  The first attachment contains two forms unaltered.  That is no line connecting or any other process.  The second file has the same forms but the one on the right has gone thru my procedure and it looks like it turns out as a solid.  At least that's what Info thinks.
The objects in the first attachment are made up of tiny lines and planes. You can force them to become a plane, but that doesn't mean that you can extrude the result and get a meaningful solid.

In the second attachment, you have extruded one such forced-plane object. The result is indeed a solid, or you have forced it to become a solid (with Ctl-D), but its not going to behave the way you want. In particular, you can't see through the holes when you render -- because the holes are "plugged".

So you need to take each part, make sure the lines join up, and then make into a plane. Make the circles into planes. Select all and extrude. Then use Solid subtract (CTL-U) to subtract out the holes. Its likely to take 3 to 5 minutes per part. Probably 1 minute by the time you're done.

If it was me, I think I'd copy all the parts to be fiddled with to a separate layer where I could work on just those parts without distraction from dimensions, guide lines, etc. You might be able to combine some operations (like the extrude) saving some time.

Wow, I imagine a C-130 is big even at 1/12th scale.

Mark

Dr PR

Roger,

Once more - always work with planes and solids in 3D. Do not use lines except for geometric constructions that will be used for drawing planes or solids.

****

One very obvious trick that most people seem to miss is that your 2D drawings make excellent templates for creating 3D objects. You have already done all of the measurements in the 2D drawings, so just put them on one layer, lock it, and draw the 3D planes on a separate layer by gravity snapping to points in the 2D drawing.

This will take much less time than messing with a bunch of lines, curves and other bits in the original 2D drawing and trying to get them to become a plane.

Just draw one plane around the outline of the frame, including notches in the edge - don't try to make the interior holes or cutouts.

Extrude the new plane to create a solid.

If you have interior holes or cutouts create new planes for each and extrude them to a thickness significantly greater than the original solid. Select all of the hole or cutout solids and move them so they penetrate the first solid completely (no coplanar surfaces).

Now subtract (Solids/Solid Subtract) the hole and cutout solids from the frame.

This is the best way to translate 2D drawings into 3D. Better still, in the future just start witht he 3D drawing.

Phil
DesignCAD user since 1987

roger_c130

To Bob   If this bores or frustrates you I'm sorry.  It may have that effect on others but they've been kind enough not show it.

Bob P

Quote from: roger_c130 on May 15, 2012, 04:29:46 AM
To Bob   If this bores or frustrates you I'm sorry.  It may have that effect on others but they've been kind enough not show it.

Frustrated? Absolutely!  Because your question has been addressed multiple times in multiple ways by multiple people, seemingly without success.  :(  I'm just trying to bring your attention to what I think is a primary reason for the lack of problem resolution.

roger_c130

To all.  Thank you.  I've learned a lot.  Will proceed with my project.  I'm so close to the end I'm hoping I don't have to ask for more help.  I'm thinking of some animation though so watch for me.

cavelamb

Quote from: Dr PR on May 15, 2012, 03:01:51 AM
Roger,

Once more - always work with planes and solids in 3D. Do not use lines except for geometric constructions that will be used for drawing planes or solids.

***
Phil


Phil, There are those of us who got here by way of a real drafting board.

It's not all that easy to change horses mid-life, you know?



MarkX

Quote from: cavelamb on May 15, 2012, 09:01:28 AM
Quote from: Dr PR on May 15, 2012, 03:01:51 AM
Roger,

Once more - always work with planes and solids in 3D. Do not use lines except for geometric constructions that will be used for drawing planes or solids.

***
Phil


Phil, There are those of us who got here by way of a real drafting board.

It's not all that easy to change horses mid-life, you know?
Well, if you're using 3D software, then you are changing horses. Better to know something about how that horse works. Unless you want to be like the farmer who sold the wagon and bought a car and had his horses pull it everywhere.

Phil is not saying you have to stop using lines -- you just use them as guides for what you do in 3D.

Mark

Dr PR

cavelamb,

Been there, done that! I know it can be frustrating trying to convert a really good 2D drawing into a 3D object. All of the ship and boat hulls I have created started out as 2D blueprints.

Even when working in 3D you sometimes have to use lines and curves to create really odd shapes and then combine them to get a plane. But it is a good idea to get into the habit of segregating lines and curves on different layers from 3D objects. And work directly in planes and solids when you can.

DesignCAD has a really useful way to detect lines and curves buried in 3D objects. Just use the Wireframe display mode an uncheck "Wireframe Renderable Objects." This will show only non-renderable objects like lines and curves.

Phil
DesignCAD user since 1987