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.

Is real TRANSPARENCY possible

Started by samdavo, May 12, 2013, 02:57:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

#45
well - Having slept on it , I take the computer out of hibernation, restart DCAD22,  take the precaution of checking that "Glass1" is still what I set it for - and I suspect some of these setting wander with time ... twig a couple of settings, make transparency about 80% for instance ...

and then click "Shading (incl transparency)" and - all my sins seem to have been forgiven , and it takes 4 seconds to render the lot again !!?

I also enclose screensnip of the closeup , using "(shade) Section (only" instead of "entire view").
Moral??  no sure - maybe "when in doubt, sleep on it". (?)

Quote from: Dempsey on May 17, 2013, 03:40:31 PM
Works for me. Okay I am missing several PNG files so I skipped them all. Hidden line mode is very slow, but Gourand with hardware acceleration takes only a few seconds.
Thanks Dempsey - our posts crossed there.   

Someone mind explaining graphics acceleration to this layman ?  benefits / liabilities - That's something I haven't been using, at least not consistently -

But here's a strange effect
WITHOUT GA,  it takes 4 secs
WITH GA, it takes about 30 secs ??  - and the entire screen (except for the borders of the views) goes into a snowstorm, and menus and toolboxes disappear for those 30 secs - weird.

PS don't eat any strange mushrooms, or you'll never figure those tyres out - hard enough as it is, but there are 3 layers of transparency there in the middle of the psycho-coloured rendered "section" = third attachment.

samdavo

I had no problem with "Hidden Line Removal" - this morning anyway.  (Clearly the computer was drunk last night).

I enclose screensnip WITH accelerator, and WITHOUT.  They both took a couple of seconds - but the second (WITHOUT) kept the colours of the spokes, whilst the first lost them.


samdavo

#47
OK - back to superbasics.
Choices (based simply on what options are greyed out when you choose the general hidden line or shading option)

Shading with "Quick(flat)" - sounds like a coffee in a hurry, but we move on -
GA available?                       YES (unless you also want Section clicked);   
Just a Section?                     YES (unless you have GA clicked)

Transparency? no;
Colour Material?                  YES;  (the only Additional Setting available, i.e. no fogging, anti-alias, transparency)
Texture mapping? no.

Shading with "Gouraud(medium)" - (where did that name come from? - not in dictionary.com for instance, which responds with "do you mean gored?"  (=  bullfighter saying he's just been gourauded)
or "do you mean Gourami?" (= "a large air-breathing nest-building freshwater Asiatic fish... used for food " lol - like a lotta fish are) - but again we move on -
GA available?                       YES (unless you also want Section clicked);   
Just a Section?                     YES (unless you have GA clicked)

Transparency?                      YES;
Colour Material?                   YES;
Fogging?                             YES;
Anti Alias? no (i.e. we now have more Additional Setting available, i.e. fogging and transparency, but no anti-alias)
Texture mapping?                 YES.

Phong (best quality) - Chinese brand of mobile phone maybe?
GA available? NO - it goes straight to Gored Gerrard if you try   
Just a Section?                     YES (unless you have GA clicked applies to all of the following)
Transparency?                      YES;
Colour Material?                   YES;
Fogging?                             YES;
Anti Alias?                           YES;
Texture mapping?                 YES.

Which is a longwinded way of saying
a) you can't Sextion with the accelerator down, and
b) nor can you Phong (with the accelerator down).
c) you need Gerrad or Phong if you want texture mapping or transparency.
d) Graph accelerator deletes anti-aliasing

I enclose
a) Gored (Gerrard whatever)  with two sections - i.e. you can keep adding sections to the drawing - you don't lose the first one(s)
b) ditto with Phong

Another comment from this particular peanut gallery, and possibly for this particular drawing / truck  - but I don't much like Graph Accelerator  .

samdavo

Herewith Gerrard (left) vs Phong (right), both using Section(s) only i.e. juxtaposing those attachments in previous post - not much difference at the end of the day.

One other thing I like, I have taken off box mapping from the spokes of one wheel - to reveal them as Mag wheels after all.   What I like is that "material colour" on each of the red green etc spokes
a) permits them to colour the same in final material-rendered view,  but
b) but still be in different layers and colours at their heart, for manipulation thereof.  ( 2 cents)

ON A DIFFerent matter ( yet another one).
I note that hidden line removal permits "draw hidden lines dotted".
Does that mean that Paperspace would automatically draw dotted lines?  Sounds pretty good/attractive if it does!! 


Dempsey

Just a few general comments

Google "Gouraud shading" for background info, or look at these results from Bing search engine: http://www.bing.com/search?q=gouraud+shading&form=MOZSBR&pc=MOZI.

Everyone has his/her own preferences. I do all my work with graphics acceleration on. Only when I need to generate shadows I use Gouraud or Phong without graphics acceleration. Right now graphics acceleration might not work as good as it should be, but using OpenGL again to the fullest by DesignCAD is in the near future (I hope). TurboCad does that already as far as I know. Hidden line mode performance should benefit from the full use of OpenGL.

Doing shading mode with sections is something that I seldom do, and I doubt very many forum members do. Nothing wrong with it, I am just saying due to its little use it may have some weaknesses.

What video card are you using? You might have mentioned it, but my 70-year old memory is very limited.

Dempsey

magic

#50
Hi Sam,

FYIIYRI (For Your Information If You're Really Interested):

UmmaGumma: http://en.wikipedia.org/wiki/Gouraud_shading

Phee-phi-pho-phum: http://en.wikipedia.org/wiki/Phong_shading

No, apparently you cannot have Hidden Lines as Dash in Paperspace. Put on pheature request list maybe, Dempsey?

SAHAPD (Smile And Have A Pleasant Day)
It's a kind of magic!




samdavo

#51
Quote from: Dempsey on May 17, 2013, 06:34:18 PM
1. ... Only when I need to generate shadows I use Gouraud or Phong without graphics acceleration.

2. Doing shading mode with sections is something that I seldom do, and I doubt very many forum members do.

3. What video card are you using? You might have mentioned it, but my 70-year old memory is very limited.
1. Dempsey, mind giving me some tips on shadows please?  I assume (for sunshine shadows) it's about setting a bright light in the ceiling; and adding an opaque plane underneath (?)

2. By "Shading with sections" (?) are you referring to making the bonnet/hood transparent so that you can see the motor?   I sometimes  want to look at the gizzards of some mechanism I'm drawing. (but rare I concede).

3. My Computer? Laptop i5, 64 bit, 4GB  - All I know is that there's a 2GB graphics "card" in there somewhere.

Quote from: magic on May 17, 2013, 06:54:29 PM
Hi Sam,
No, apparently you cannot have Hidden Lines as Dash in Paperspace.  Put on pheature request list maybe, Dempsey?
I second that. cheers ...

(as for your fee-fi-fo-fum ...  we have a lot of Fly-In-Fly-Out miners in Aus these days ( especially up in the northwest Iron Ore mining areas.   So they tried to introduce a tax fee - but they fumbled it ---   the newspaper headline  said "Fee on Fi-Fo Fumble"  :)  (groan I hear you say) - maybe I should rewrite that ... Fi-Fo Fee Fumble?

Or the one about the midget clairvoyant who escapes from jail ...
next day the headline reads "Small Medium at Large" - sorry I'll shuddup now.  cheers

samdavo

#52
Herewith some paperspace options , where DCAD offers 4 options :-
a) wireframe  (seems to be same colours as wireframe in Model Space - where walnut for some reason changed the colour of one tyre?)
b) hidden line removal (same colours except green changed to white/transparent / Glass1?)
c) quick shading, (same colours as hidden line removal plus transparency), and
d) smooth shading (box mapping supersedes materials, plus transparency)

I offer one example of each..  (with a tyre behind another tyre).

I've changed the material of the back one to walnut -
and I tried - semi-successfully - to keep transparency of the front one , but at the same time change colour to green ( because the white hardly shows up - see the hidden line removal option)  - minor point, I changed the front spokes materials to 2 x "black", and 2 x "brass" (2 cents)

samdavo

#53
and herewith some lights added :-
a)  yellow light at H=120, V=60
b) ditto at H= 60, V=60
c) ditto at H=0, V=60

final attachment is the drawing just in case anyone's interested
cheers

PS bit like watching the sun rising :)  but horizontally (??) - ok , in the Arctic circle.

samdavo

#54
(edit - shadow not ticked, and move with eye is ticked - ignore - see reply #56)

Light angles are pretty hard to understand IYDMMSS (if you don't mind me saying so).
(edit - I get there in the end lol)

I enclose a table of screensnips,  ( a 3x3 array viz:- )

leftmost           middle            right
h00 v00 .........h00 v45 ........h00 v90
h45 v00 .........h45 v45 ........h45 v90
h90 v00 .........h90 v45 ........h90 v90

Note that there is a "cube with rounded edges" there - so that. like a gemstone, I figured some faces would reflect the "sun" light source,  which I set at the above angles ( hor = 0 , vert = 0 for instance = top left corner)

Now if you look at that top left (h=0, v=0), you'll see that the normal to the view ( whether plan or front or side) has 100% brightness ?   

ahh penny drops ... It must be that each view gets the light "over your shoulder" when you have h=0 and v=0.    I.e. compare driving a plane with headlights ahead, or spotter lights to the side,  or ditto down. 

"Main view" is the most interesting, but even there, it's not obvious what's going on (imo).  But more I look at it , ... maybe I'm getting it :)

For a start, h0 v90 is pretty much the same as h45 v90, is the same as h90 v90.
Only for v45 or v0  do you get much variation as h changes.   ok - I take it back :)
And I probably like h=45 v=45 best.   i.e. the centre of the 3x3 array.  imo of course (2 cents)

samdavo

#55
(edit - shadow not ticked, and move with eye is ticked - ignore - see next post)
Here's the dcd I used, plus

h=45, v=0

h= 45, v=45

h= 45, v=90

which are the central column of that array.

samdavo

#56
DOh - when all else fails, read the instructions.
I had "move with eye" ticked.
When I untick it, it acts more like what I was expecting.  (which you'll notice if you compare the front, top and side views on the left windows - and incidentally is "directional light")

I enclose h=0 , v= 0, which is like the sun rising behind you.  (2 cents) - dead simple.
also h=45, v=45 - just the "lifering"  which I was pleased to see showed more shodow...
also h=90, v=90 - again the shadow to top of ring leaves the bottom in the dark;

I also finally twig to the shadow thing ( another simple matter of ticking a box)
and add a light source at h=-30, v=-30 ( light a torch under your chin on Halloween night)

samdavo

#57
finally got those shadows to throw onto a fake green road (light from h=-45, v=+45).
or for that matter onto the posterwall behind (with directional light at h=-45, v=-30)

For some reason "spotlight" and "point light" are both approx. identical (point light is clearer, but I attach only "spotlight" - complete with fuzzy edges);
  and also, although I set the location at (0,0,0) in each case, (= top right corner of that posterwall), the light clearly emanates from about (x,y,z) = (-3000, 200, -500) very approx. - almost the same level but diagonally  opposite - as evidenced by the radiating shadows.

- but no probs, I prefer directional to spotlight or pointlight anyway.
cheers
Again I enclose the dcd if you wish. (zipped)

samdavo

#58
At this point I will post
a) the saddle plus pines ( as per Sketckup from a different thread), and
b) ditto as done with DCAD (since I learned these new skills)
c) ditto with mesh added   :)
cheers

samdavo

Firstly the last post on shadows,
Herewith multiple lights each casting a shadow.