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.

shading "Selected Entities Only" possibility

Started by JJG, January 26, 2010, 12:53:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JJG

I think it would be a very usefull improvement for 3D working, if we could find one day the folowing new option in shading box :

a button "Selected Entities Only"

(we have got already "Section" possibility, but I am convinced that "Selected Entities Only" may be more practical and very usefull to control the selected planes, grids or solids, among and independently from the rest of the design.

Adrian 2.0

I like that idea.
It would really help to identify individual elements, and speed up the render time.

Rob S


The issue might be that if you wish to operate in opengl mode, things would become de-selected and thus un-shaded as you work.

It would be maybe even nicer to have an option in the info-box for solids, grids,  and planes to shade or notshade by object.

This would in fact then enable you to select a group of objects, turn on their "shade' parameter, and then deselect them, they would remain shaded.

Closest current equivalent I can think of is to draw the unshaded object as a wireframe.
User since forever

JJG

#3
Rob S,

Actualy, button "Section" in shading box can not be checked if you choose opengl mode (and I agree with you, it's really a shame : why ??)

I think it could be the same issue in a first time for "Selected Entities Only", because as I said, the first utility of that would be to have a possibility to control parts among and independently from the rest of the design.

This would thus be real progress !


But I agree too, your idea with option in the info-box should be nice too ;
I just wonder if this would not be a bit heavy to handle in large drawings with thousands of pieces, if, for example, you want first to shade the entire drawing, then after just a few parts, there might be a lot of manipulations too , while "Selected Entities Only" would be undoubtedly easier, quicker and more intuitive to use.

Lar

Question. JJG: would you want the shaded stuff be the only things visible, or the other stuff be visible but wireframe?

Lar

JJG

the other stuff be visible but wireframe, of course !

That's so when you are shading "Section" only.

Rob S : actualy, when shading in opengl mode, you can have some previously selected entities, or select during it's shaded , it's no problems ; so I don't good understand why you are saying "The issue might be that if you wish to operate in opengl mode, things would become de-selected and thus un-shaded as you work." ?

Dr PR

OK guys, pardon my ignorance, but what are you talking about?

What is "opengl mode?"
How do you select/deselect it?
What "Section only" option?

I don't see any of this in the "Shading Options" dialog in any version of DesignCAD I have.
DesignCAD user since 1987

JJG

opengl mode is "Enable graphics acceleration" . when you chek it, shading "Section" become not possible, when you unchek it, shading "Section" become possible, as such as for Phong (Best Quality) shading.

See attched image of shading box

Dempsey

JJG,

In order to implement shading of a selection of objects they may have to turn hardware acceleration off, besides it being very slow, when you do anything to the drawing the shading disappears.

To see this effect take a simple 3D drawing. Show 3D main window in Shading mode. Now simply do a zoom operation and the shading is gone and back is your wireframe. Not very useful in my opinion.

Dempsey

Rob S


So I think that is the new feature we're looking for - being able to shade only selected entities in "opengl = "Graphics acceleration" mode - so you do NOT lose the shading of those objects when working.

I think the new concept would be that the selection set active at the time of shading would become the "shaded set" even after other objects are selected or unselected as you draw.
User since forever

JJG

#10
Quote from: Dempsey on February 28, 2010, 06:28:38 PM
JJG,

In order to implement shading of a selection of objects they may have to turn hardware acceleration off, ...
Why turning hardware acceleration off ?? I don't understand. Sorry.

Dr PR

I have been thinking about this for a while. My first reaction was that mixing shading and wireframe in a single window would be difficult to achieve. However, DesignCAD already does this (sort of), and with hardware acceleration enabled.

One of the really neat things about shading in DesignCAD is that 2D lines (V) and curves (C) are displayed along with the rendered objects. Many program (all others?) do not do this. I use simple lines to represent wires/cables when the actual wire diameter is so small as to be inconsequential. This keeps the file size small. I also sometimes display my reference lines in shaded images. So, the shading routines in DesignCAD already do what you want.

What is needed is some way to select which objects are to be shaded and which are not. JJG hit upon the problem here - in very large drawings it will be time consuming to select individual objects. Perhaps it would be quicker to control shading by layers, similar to the way colors and line styles can be assigned to layers. The most versatile method would be a combination of layer and object rendering control. Disable shading in entire layers that have nothing you want shaded, and enable shading on layers with objects to be shaded. Then select the objects on those layers you do not want shaded and disable shading for them.

This would also need a "enable shading on all layers" command to quickly override layer shading selections, and a global "enable shading for all objects" command so you don't have to go back through every object one at a time to re-enable shading.

Right now you can fake this feature - if you are desperate enough - by tracing over 3D objects you want to show as "wireframe" in a shaded image. Work on an empty layer and use the "V and "C" commands to trace over objects using gravity snap. Then disable the original layers. Enable layers with objects you do want shaded (or copy them to your new working layer). The tracings will show the shapes in "wireframe" when the image is shaded.
DesignCAD user since 1987

Rob S


I think you've hit the nail on the head with enable shading by layer - should be easier to implement, and very useable.

Indeed it is possible to draw lines instead of or in addition to solids, but it is also possible to draw with pencil and eraser.....

We're looking for udeful new features here!!!
User since forever

Rob S

User since forever

Dr PR

Rob, I wasn't suggesting that tracing on another layer was a reasonable way to accomplish this. It is just a desperate last resort!

One problem with mixing wire frame and shading in a single image is that the program must maintain a do/don't shading list, and keep it up to date while the drawing is being edited. I wonder how this could screw things up? Can anyone think of an editing operation on an existing object that would force a change in shading?

One thing that comes to mind is converting a line polygon to a plane. Exploding a plane all the way back to lines would also cause a change.

If you have two solids, one displayed wireframe and another shaded, and you use a solid Boolean operation on the two, will the result be shaded or unshaded? Reminds me of an old limerick - "There once was a young ..."

What about shadows? Do wireframe solids still cast shadows on shaded objects? Or do just the lines in the wireframe cast shadows? Should shadows be disabled for dual mode display?
DesignCAD user since 1987