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.

translucent fill

Started by mg188, October 24, 2014, 09:09:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mg188

Newbie here.  How do I fill a circle with a translucent color?  I don't want hatch lines, just the translucent colored circle.  Thanks!

samdavo

#1
Hi mg,
One way would be to make it a plane  (eg spacebar, "mp", enter)
then go to Infobox, and look at the material;
and change that from "default" to "glass".

If that is not sufficiently transparent, then you can adjust the transparency as follows :-
Go to Q\materials\glass
then click 'add'
you will be able to adjust the transparency  (and also the colour, which is always a factor in these things imo),
and then save this colour, and save this material ( it will offer Glass_1 probably),
then apply that to your circular plane (again in infobox).

When you go to shading, I suspect you will need to use Gourard or Phong,
and also you will need transparency enabled,
Probably best to have graphics accelerator turned off as well.

cheers
sam

PS If you go to the root menu of the forum,  (DCAD USER FORUM), and search for "glass",  or "transparent", you will find a stack of old threads and posts on this topic,
eg this one :-
http://forum.designcad.com/index.php?topic=2050.msg10713#msg10713

Dr PR

mg188,

Are you working in2D or 3D?

In 2D mode Sam's glass idea won't work. You can't shade 2D drawings. Wireframe is your only choice.

You can create a 2D drawing in 3D mode - just set the view angles to 0, 0, 0 in the view toolbox. However, you have to be very careful to not place points along the Z axis. If this happens there are macros to flatten drawings into the XY plane only.

One thing you might try in 2D is to use the "Dots" Hatch Fill pattern and fiddle with the scale to get a pseudo-transparent fill.

Phil
DesignCAD user since 1987

samdavo

#3
Phil, thanks
good point, and good trick with the dots.

ok - here's an attempt to do it in 2D - not particularly good though (2 types of hatching).
It's called "eclipsed ellipses". (2 cents)

Dean

#4
Un-less i'm missing something here, isn't transparency in essence less color? Combined with "draw display order'
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

Dean,

How did you do that? That is, how do you create "less color?" In Wireframe mode there are no rendering controls, and when you change colors in a hatch fill the color may become lighter but it is still opaque.

Did you just fill successive enclosed spaces with lighter colors?

What mg188 is asking for is true transparency in the hatch fill color so when the object is moved over another the rear object shows through the top object.

Phil
DesignCAD user since 1987

Lar

#6
mg,

The only 'trans'-anything when it comes to shading in dcad is 'transparency' which can be achieved the way samdavo describes in his first post. Other than that you would have to use a non-solid hatch.

Getting technical, there is no such thing as a 'translucent' colors in dcad. Translucency, in the world of 3D graphics (and in real life), is very different from transparency because it allows light to pass thru an object but not visual detail. So, for example, if object-1 is between a light source and a translucent object then, looking from the other side of the translucent object, the light penetrating and the shadow of object-1 would be visible but you won't see the visual detail of object-1.

I don't mean to sound nerdy or anything but if you desire a translucent effect in a 3d rendering, a transparent effect just won't do. This I know.

Lar

samdavo

#7
Here's a drawing I recently added to trivia thread.  (Sticking with transparent rather than translucent, a distinction made transparently clear in Lar's post - thanks) ...

The materials are :
floor is "oak"
table legs are default, with bright frontal light this is white (trivia)
the text is "white"
the table top is "glass_emission"  (with emission cranked up to 86 (! ...  ?)
the reflection of the text is "glass".

ok, why is the table top "glass_emission"?  Answer - an experiment,  and indeed the emission factor in this case doesn't show up in the rendered result.  in short, my logic in setting those numbers is purely experimental.

PS A small final trick is that I set the selection colour to dark blue, and selected the tabletop (which was the only layer unlocked), and that way the tabletop is given an outline. (2 cents)

PS Criticisms and corrections welcome (as usual) :)

PS Would it be fair to claim that the reflected letters are arguably a bit translucent?

samdavo

And further to that, you can add texture mapping to the transparent table top ,  viz :-

prl

#9
Quote from: samdavo on October 25, 2014, 03:25:30 PM
PS Would it be fair to claim that the reflected letters are arguably a bit translucent?

Sam, nice job.  I would say yes, a bit translucent.

Lar, thanks for clarifying the difference between -lucid and -parent.  Never gave it much thought but you have. And I'm guessing you've been through this with your better C4d rendering program. 

But for Snickers and Kicks, my attempts at transparent and translucent using IMSI rendering programs.  :)  And I'm maxed out for attachments for the day. Have a Good Sunday folks (or Monday for Sam and folks ahead of their time).

ps. Lar, we don't think anyone that can dance like you is a nerd.  Maybe SuperCool, SuperDad, SuperLimber, SuperLar etc. yes.

Dean

#10
Quote from: Dr PR on October 25, 2014, 11:55:03 AM
Dean,

How did you do that? That is, how do you create "less color?" In Wireframe mode there are no rendering controls, and when you change colors in a hatch fill the color may become lighter but it is still opaque.

Did you just fill successive enclosed spaces with lighter colors?

What mg188 is asking for is true transparency in the hatch fill color so when the object is moved over another the rear object shows through the top object.

Phil

Phil,
Mg188 was referring to a hatch so I'm assuming a 2d object. There was no mention about "looking through" an object. Yes, I simply used less color and made use of the old age command "display order"
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

samdavo

#11
(off thread, and sticking with 3D) ... Here's another way to get a reflection - namely to texture map an upside down (flipped) version of eg something colourful like an earth clock, onto a transparent glass tabletop (horizontal) - as well as on an opaque picture "canvas" on a (vertical) wall behind that.  (2 cents).

PS If I had mg's problem with having a translucent/transparent surface in a 2D drawing, I would probably do the 2D drawing (with dimensions and notes), and simply add a rendered 3D image (such as the one attached) in one corner as well.