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.

prl

#30
Quote from: samdavo on May 14, 2013, 05:29:58 AM
I find I can slow your movies down - gives me a fighting chance :)

Hopefully it is all there.  I was using menus to slow things down and show it could be done without macros.   A few things like setting handles and drag-copy I did with my hotkey assignments.


The layer manager in the top right is a prl special, not part of DesignCAD.  I prefer seeing my layers including the full layer string all the time.  The DC layer roll-up tool box drives me nuts.  The DC infobox, it too drives me nuts (that I can only read two or three letters of the layer name).

samdavo

Quote from: minstrel on May 14, 2013, 11:50:03 AM
Here's the direct link to my YouTube Channel...no short link and it perhaps is a better way to assure safety and view the short animation.   Link:  http://www.youtube.com/user/Minstrels3Dspace
Minstrel
Minstrel, FWIW and ICYECF  (in case you enjoy constructive feedback),  That link works just fine down under as well
cheers, and thanks
sam

minstrel

Quote from: prl on May 15, 2013, 02:45:22 AM
The layer manager in the top right is a prl special, not part of DesignCAD.  I prefer seeing my layers including the full layer string all the time.

Hey, what's up with that?  You got me good with that one prl ...couldn't figure out where that came from.  Can only imagine what else you have in your little 'bag of tricks' or hidden up your sleeves.

So, it is possible to keep working and functioning with a layers window/dialogue open...hum...might be something very beneficial  to add to the next version of DCAD ;) hint-hint...

Minstrel


ps - Thanks Sam...see 'DownUnder' is not so bad after all..

samdavo

#33
Quote from: prl
...
The layer manager in the top right is a prl special, not part of DesignCAD.  I prefer seeing my layers including the full layer string all the time.  The DC layer roll-up tool box drives me nuts. 
.
thanks also prl -  your post triggers more questions however :)
(As Minstrel hints,  ... ) Since you don't offer it, I won't pursue you for more info on that,  but
I use a memorised colour scheme, where (fortunately for me) things are pretty consistent...
layer 1 = misc text etc
layer 2 = "a" = attachment plate (red)
layer 3 = "b" = base piston (gold/brown) 
etc

And the colour of the rubberband even tells me what I will select...
i.e. macro 2.d3m sets the rubberband ( in 2D) to red -
and 3.d3m sets it to gold.. .PROVIDED I am in 2D ,  or the "top-left-Front-view" of 3D ( weird or what ??)

EVIDENCE :-

Suppose I want to select just the base piston, so I use hotkey 3, which triggers macro 3.d3m.
this in turn sets the rubberband to gold  - BUT ONLY in the 2D views ???

As evidence, I enclose a screendump (Ctrl+printscreen) which shows
a. that the gold basepiston (layer3) is selected
b. that the rubberband is gold in the front elevation, top left ( and also in 2D , which is what I am used to) , but
c. the rubberband is white in the "main" (isometric/perspective) view


I also  enclose a screendump after I set the Main view to Front - the same as top left...
(you'd think both Front views would be the same as to colour of rubberband - but no :) )
a. the gold basepiston (layer3) is still selected
b. that the rubberband is gold in the "top left front elevation", top left
but
c. the rubberband is white in the "main front elevation" view  ??

no biggie - I just thought I'd mention it - that I didn't realise the rubberband colour was different in "main view" as "front view".

(yawn) I hear you say , lol
well it means my system of getting immediate reinforcement that I'm in layer 3 is not as foolproof in 3D as it was in 2D  -
but hey, we all have our cross to bear... 
PS and "How much more can a Koala bear" as we say in Aus.
cheers
sam

PS also, the selection goes purple in "top-left-front-view",  (in fact in all three 2D views on left of screen) but not in the "main-view-front-view" - although the wire frame helps to give you the clue of what's selected there.  (1.5 cents)

OOPS - COUNTER-EVIDENCE
For another drawing, that rubberband was gold/brown in both views, lol ;  and the selected parts were purple in all views (?) sorry for the gold herring (well - sometimes gold, sometimes white, sometimes ... :) )
- forget I spoke.

samdavo

herewith the same thing texture (box) mapped , including the jpeg I used...

I also include both
a) transparent with psycho pattern, and
b) opaque ditto,
all in the one view -  including wireframe ( 2 cents)
cheers
sam

samdavo

and just yet another comment from the peanut gallery - but I reckon that the hidden end of that spoke (only visible because of transparency) -  has also been box-mapped (!?)

samdavo

#36
On the subject of transparency slowing things down ,  I thought I'd try a stack of tyres.
So I drew 18 of them on this "Peace Truck" - all with that transparent tyre - and so far the entire drawing takes 4 seconds to render ( Phong) - including the boxmapped truck in the background -
with "enable transparency" selected - and also "enable colour material" - not that I have any other materials there but the glass1.  Clearly there are more complicated drwgs that would take longer,  but in short , I'm impressed - DCAD does it again :)  That's about 0.2 seconds a tyre ( ignoring the spare of course)

(edit: one of the theories I wanted to check out was ,  suppose you have a large drawing, and only a small part is made transparent temporarily,  and suppose that delays the drawing significantly ...  then I was hoping that, if you zoomed in on that small part, ( with the purpose of getting a quick jpeg screendump, and then turning transparency glass1 off again) ... that that would be faster.     But to be honest, it seems to take about 3 or 4 seconds whether I look at all 18 tyres ( fit to window),  or indeed just at one (zoomed in)  )

Minstrel - sorry, those tyres should have been blocks lol. Still, whether it takes 3 seconds with blocks, or 4 seconds without , I'm not too worried ( for this exercise anyway - but I'll try not to forget next time lol)

First the drwg ( due to size restrictions)

samdavo

#37
now the snipscreendumps...
(both black and white screen-backgrounds)
Note that "peace truck 3d" has some wire frame - which happens when you use snipping tool.  To avoid that ( eg 3c) ,  you need to use Ctrl+print screen first, paste into Paint, then snip from there ( 1.5 cents).

PS I call those backgrounds, "nite" and "day".  The following youtube (BBC) is relevant - first 30 seconds.  :)
http://www.youtube.com/watch?v=EQ1HKCYJM5U

samdavo

#38
ok, another theory ... suppose the "peace wheel" is simply drawn as a torus and a set of 4 simple cylindrical spokes, (and maybe just Grouped) - with suitable overlap to avoid gaps - where the intersections thereof are really untidy when viewed in wireframe, but indistinguishable from a neatly trimmed and Solid Added and Solid Segregated etc version  when rendered... ,

i.e. you will see that that is what I have done in the latest wheel with the thinner spokes ...

then surely that will be good enough for many applications, and better still
will reduce drawing size,  regen time  etc etc .
(you could even argue the ring has been drilled out/recessed to receive the spoke, etc ?)

Just thinkin aloud ...

(I enclose the roughly drawn version, as well as the "neatly trimmed" one that is still neat in wireframe).

prl

Quote from: samdavo on May 15, 2013, 03:35:07 AM
I use a memorised colour scheme, where (fortunately for me) things are pretty consistent...

Sam,  I too once used a beautifully efficient approach like yours.  Then various "thinkers" created non-standard standards. I get drawings with many layers.  Largely a waste of time and energy.   

By the way as you can tell in the jpg snip, I still get drawings using old school colors (yellows, etc.)  You definitely can't look at these with a white screen.  But DC is wonderfully adaptive. I have macros that switch around my screen colors or remap entity colors etc.

Also I've given up the white screen.  Eyes hurt and don't focus so easily.  I'm into medium grays and SketchUP earthy background colors.

So, KISS  . . . .   Keep It Simple Sam

samdavo

#40
Quote from: samdavo on May 15, 2013, 02:05:03 PM
ok, another theory ... suppose the "peace wheel" is simply drawn ...

then surely that will be good enough for many applications, and better still
will reduce drawing size,  regen time  etc etc .
well, I was ahead of the experiment there :)  (more accurately Phil's advice was spot on lol)...
but I just deleted the 18 "untidy thin-spoked tyres" and swapped them with "neat much-more-perfect spoked tyres"
..........
( on this score you will note in the attached jpeg the "diaboxes" awaiting pasting of the more-perfect-tyres)
then the 18 tyres are pasted (in fact they are the ones that can be pushed-apart = unnecessarily perfect) ... and Phong rendering clicked ...

and the rendering time (incl transparency in all 18 tyres)  went from 4 seconds (for the approx. tyres)  to ... who knows? I turned it off after 30 minutes
moral of the story , keep it simple ( as prl says )

PS hey prl,  trouble with the KISS principle,  you end up giving lip service to the problem. ( 2 cents - but you can quote me :)  )



samdavo

#41
OK - After 90 mins we get there ...
(and there are some wireframe elements there ... but you think I give a shinbone - after 90 mins !!? ) lol

Maybe I should admit that the first file is 1.9MB, and the second is somewhere between 31MB and 15MB depending on factors that I'm still investigating.   The other thing is that I rendered the first with both "enable transparency" selected - and also "enable colour material".  But the second only "enable transparency" selected.  Still when I added "enable colour material" and tried again, it seems to be heading in the same direction - and I quit after about 5 mins.

But to be fair to DCAD, this is a totally unrealistic test.  Eighteen transparent wheels, and multi-coloured and multilayered and push-apartable etc etc!  And all arranged to partly cover others, so that you are looking through transparencies at other transparencies , almost like endless mirrors  - sheesh.  I for one would only use transparency for one small part of a drawing, and only turn it on to get a quick jpeg.  So all in all I'm happy :)) 

samdavo

Final comment, but supposing you wanted to show the motor of that truck, with the bonnet made transparent.  (Gotta feeling they call them "hoods" in some parts of the world - which we reserve for "wild male youths" - but we move on..

Clearly you would decouple the back end and just take the prime mover to another drawing :) - or just the front of the prime mover etcetc - no need for all those wheels to slow you down (2 cents)

samdavo

#43
ok - something strange going on lol.

(edit... if that his happens to you - and it's happened to me a few times now
I go to "Windows \ DesignCAD tile settings \ Restore DesignCAD tile " - and you get a new set of tiles - and the duplicated regen seems to return to a single regn, which works - leaving you with transparency  - or even just basic rendering/shading for that matter


I just opened that 1.9MB file "peace truck 3b.dcd" , the same one that (yesterday) took 4 seconds to render (Phong), including "enable transparency" and "enable color material"...

and it still takes 4 seconds to render ( you get a glimpse of the transparency for a millisecond if you're lucky) ...
BUT THEN ... immediately redraws as wireframe?

And although you click the render icon in the toolbar,  it changes back to wireframe half way through the proceedings ( = redraws?)

PS Further to the above, (as a complete tangent)  I note that you can render just part of the screen if you wish ( left of the window when you open "Phong");
PPS I was trying to get a closeup of the "transparencies within transparencies" btw. (Rats)

WHY would it work yesterday,  but not today !!???

PS Although it gives the option of just rendering a "Section", I chose "entire view"  - which is presumably what I used yesterday, since it is the default (2 cents) 

PS WHAT I SUSPECT ??/ - that same bug that regens more often than necessary !!!  Yet I've started DCAD from scratch several times, and loaded that file from scratch (no other files opened) ...  but to no avail ... (groan)

PPS I've even tried rebooting the computer! :(   whilst standing on my head !!  with no veils!! no boots!!  no luck
Maybe I'll try again with the veils back on again... all 7 of em...  (maybe that will stop the dog barking anyway ...)

PPS The same thing happens if you display the drwg as "Hidden line removal" - it converts immediately to "wireframe" - just as it does if you choose "shading"

Dempsey

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.
Dempsey