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.

Kaleidoscope

Started by samdavo, April 08, 2014, 04:04:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

Kaleidoscope of sorts, lol
I was just playing around and ended up with this multicoloured effect. (edit - using hatched circles)

There is a line 8000 long, view centre and origin at one end,   and coloured targets at 1000 centres:-
at -1000,  multicoloured target  and layer 1
at -2000, red-ringed target and layer 2
at -3000, gold-ringed and layer 3
at -4000, yellow-ringed and layer 4
at -5000, green-ringed and layer 5
at -6000, blue-ringed and layer 6
at -7000, purple-ringed and layer 7

I believe/hope that all you need do (to get the coloured effect) is:-
a) go to main view
b) make sure angles to vert and horiz are all zero
c) set view distance to only 200 (!) I have changed that to 1500  (although other view distances are also worth a try)
d) go to main view, and zoom in and out with Ctrl + mousewheel. 
You should see a series of changing coloured rings.   
YOU will also see numbers passing past your left and/or right ear

Ignore, or enjoy - over to you
PS and please try different view distances.
But in the end it is the act of zooming in and out with the mouse wheel (+CTrl) that changes the colours (2 cents)

cheers   

PS who needs magic mushrooms when you have DCAD :)

samdavo

#1
PS there is also the option of serious research,
eg turn off all layers except layer 5 (green targets) (at 5000, or rather at z = -5000),
and check VD = 5000, 10000,  2000; weird, but 2000 (or 1500) seems to work as well (??!).
I'm confused lol. hence resorting to colouring in circles :)

PS I actually mentioned this on another thread - and this is what started me on this (ad)venture  - cheers
Quote from: samdavo on April 07, 2014, 02:59:20 PM
What I would like to do is have an axis say 8m long, with view centre at one end, me at the other -  and a LARGE diameter archery target between us that is progressively slid towards me  (it has to be large enough so that the outer rings start to be lost in the process - i.e. to test the "cone of view").   

Edit - I attach version 2 of that drawing, - the first had a problem with one view :)  Also a screendump with VD = 1500,   yet the green target is at -5000 (?) 

prl

Sam,  I'll play around later this evening.  Thanks for the colorful files.  By the time we finish this research, you know we may well know that we don't know.  Humor allowed?

samdavo

#3
Here's a more accurate drawing, with text-distance-markers actually "touching" the target at that distance , spaces between letters notwithstanding (i.e. to the extent that text touches anything)

Anyway,  the VD = 1500 right?
so as you zoom, the 1000 flies past your right ear,  and the 2000 etc fly past your left.  :)

I mean, I could have told you that years ago!  lol.

Furthermore, the number (1000, 2000 etc ) is visible, but the perimeter of the target isn't (well not always).    I would say that is to do with cone of view - wild guess ok.

Quote from: prl on April 08, 2014, 05:40:25 AM
you know we may well know that we don't know.  Humor allowed?
prl,  I don't expect anyone to know, or want to know, or pass on the reason even if they do know, lol.  I just found it interesting .  :)

A RECENT POLL IN AUS :-  What is your opinion of democracy in general, and what do you think is the best way to achieve it?  Of the people we spoke to,  49% said yes, 48% said no, 2% didn't know, and 1% didn't want to know.

Bit like this one ... What is the difference between ignorance and apathy?  I don't know and I don't care. 

(PS A small improvement is that there is a pointmark at the view centre - and when you zoom right in, that is ALL you can see , that and the text "Origin and VC" .   Bit like the credits for Star Wars.   Think of it as space travel back to the big bang,  or the big bungle or whatever.   2 cents)

samdavo

#4
Now for something that will stand you on your head lol.
Quote from: samdavo on April 08, 2014, 03:12:21 PM
Anyway,  the VD = 1500 right?
so as you zoom, the 1000 flies past your right ear,  and the 2000 etc fly past your left.  :)
I mean, I could have told you that years ago!  lol.

Furthermore, the number (1000, 2000 etc ) is visible, but the perimeter of the target isn't (well not always).    I would say that is to do with cone of view - wild guess ok.
If I convert all the text (i.e. the 1000mm markers) to 3D text,  (previously 2D) the ones in front of the View distance  (VD =1500) i.e. Origin, and also 1000  - they still zoom past your right ear,
and the rest (2000, 3000 etc to 7000) still zoom past your left ear -  BUT (lol) this time they are upside down.

On another topic, the final jpeg shows targets superimposed .  Note that the multi-coloured result includes parts of most/many targets  - radiating from the centre in proportion to the distance looking backwards from the view centre -  (purple in the centre, then blue , green etc up the "distance rainbow")

Let's face it,  that has to be counterintuitive  -  UNLESS because it is "looking out the back of your head" , the normal rules of perspective are reversed (??).  (2 cents)

  or , said simply = you are looking backwards, INCLUDING
left = right,
up = down,
180 degree rotation, 
red target (at 2000) = close and large
purple target (at 7000) = far away and small.



samdavo

Yet, you look at the first jpeg in the previous post, you are clearly looking BOTH forward AND backward at the same time (otherwise how would you see numbers of 1000 as well as upside-down-2000 etc?) !!??

This is completely different to the effect I found elsewhere ( using a tube similar to Dr Phil's viewing tube - where you ONLY see forward (??)  AND you only see forward from half way to the view centre (??) - see attached jpeg, where 50m is the length of the tube, and 25m is all this is visible when VD = 48m. (!!??)

AND, lol - I find I have no idea of the significance of zooming in and out,
and the only safe thing for me anyway is to have a long View Distance. (assuming I am guessing correctly lol)

prl

Nice Sam.  I'm way behind in your efforts.  But reading some of your observations/findings,  in camera terms, at some point,  the depth setting  increases field of vision.   The looking-out-the-back of your head. 

samdavo

#7
prl - I recall a fabulous post by adriank :-

http://forum.designcad.com/index.php?topic=5068.msg33017#msg33017

a view of a bedroom from within said bedroom (and a wall behind him as I recall).
It was the first to get me wondering about view distance.
I post that jpeg view (just to show that there is a prize here for someone who can understand this stuff lol)   Now the chances of me having to do a drawing of a bedroom would require mmm  a 180 degree reversal of my career path - chances of which are zilch.   But a belated congrats to adriank.


prl

Quote from: samdavo on April 09, 2014, 03:35:24 AM
prl - I recall a fabulous post by adriank :-

So this is one of those topics that we seem to repeatedly chew on because we can't get our heads around it . . . but we want to.

We know a bit more, it isn't us getting our head around it, it is it getting around (into, through and the other side) our head.  Fascinating and thanks for the reminder link.


samdavo

#9
I enclose other views - I understand that the view centre is near the centre of the room.
The original view already posted had VD of 4m.

Zoomed out (last jpeg, also VD of 4m), there was major distortion, and Adrian concluded (or always knew) that in general there would be distortion beyond the View Distance rotated sideways ( i.e. 4m radius = 45 degrees cone of undistorted view yes?)

prl,
Question (hopefully an easy one)... Is it possible to look at a drawing and know where the view centre is?

prl

Quote from: samdavo on April 09, 2014, 04:33:29 AM
prl,
Question (hopefully an easy one)... Is it possible to look at a drawing and know where the view centre is?

You and I are thinking alike.   I've been re-reading the OLE programmer's guide trying to find where DesignCAD is storing the x,y,z view center location for each view.  So far no luck.

samdavo

#11
prl
just playing around with Adriank's drawing, Herewith a view from above, with VC as the bed ( using your vct.d3m macro)  and a VD of 3.

There is massive distortion / perspective in the vertical posts around the perimeter.
cheers

the first is done with accelerator off , the second with it on.

samdavo

#12
More views (truncated or otherwise) with View Centre as the bed, and view distance increasing
from 3m ( previous jpeg above)
to (edit) 5m (just a half-bed-size "hole" in the ceiling - approx 3.3m above bed),   
to 6m (entire roof covered).

I make the distance from the centre of the bed to the "hole" in the roof as being about 3.3m.
So unless I made a mistake setting that View centre (and I can't change it), I am surprised that the factor of 0.5 seems to have become a factor of (edit)  3.3/5 = 0.67 VD which is the height above VC which is visible  (2 cents)

samdavo

#13
Quote from: samdavo on April 09, 2014, 02:18:36 AM
Now for something that will stand you on your head lol.
....
  or , said simply = you are looking backwards, INCLUDING
left = right,
up = down,
180 degree rotation, 
red target (at 2000) = close and large
purple target (at 7000) = far away and small.

And to add to the confusion for the visual senses,  the purple target takes visual priority over the red target, so that purple appears to be in front, and red behind

OK THree (or 4) things.

1.  I think I know what's going on, at least for the coloured targets (not sure about the 3D text).  These are circular hatches rather than planes or solids.   And obviously they don't behave logically, or in the same way that solids do.   You can select them, and "Solid Define" them (Ctrl+D) (more research reqd).   

But before declaring that they are therefore irrelevant, maybe worth remembering that if you want something to be visible that doesn't want to appear (because of "view-distance-truncations" - then try using hatch  (WIN_SOLID).   So summary on this point,

Next time you have a truncation at say 1m (and I believe that would happen when your view distance is less than 2m or maybe less than 1.6),  and don;t want to change view distance for some reason, then add a hatched area (in WIN_SOLID).   Think of it as a coat of paint that you can apply either in front of or behind your head . 

2.  They behave like solids in other ways, eg if you rotate the purple target about Y, it shows as rotated, albeit still behind your head. 

3.  But what about the text that was turning upside down, complete with perspective fading into the distance both ways?.    We have a View Centre at Origin in the distance,  we currently have a view distance of 1500,  and we appear to be able to see both forward and back (eg to see the markers at 1000 and 2000 respectively).   So wouldn't you think that the apparent text size of 1000 and 2000 would be the same?   I find that to get the same text size, you need the View Centre at around 1700 (or maybe 1667?) 

4. I realise that this is bound to appear to be a wasteful exercise to some, but perhaps it will find a use some day - bit like moon rocks maybe? 

samdavo

#14
OK, herewith a more accurate target drawn by sweeping around z axis.
And now it all works as predicted.

The target is 6000 diam and is at z=-3000
and VC is at origin.
With VD of 6000, the entire target is visible.
With VD of 5990, none of the target is visible.  (amazingly accurate on this occasion).

... hence the factor of 0.5 ( i.e. 3000/6000) seems to have been validated ;
i.e. (0.5 VD) is the distance from VC which is visible.

(although the 3D text is still upside down  behind 6000, i.e. for 7000 and 8000)

PS And I believe, on doublechecking, albeit very approximate, that the view through the roof of the bedroom ( VD=5) actually truncates the roof closer to 2.5 above the bed rather than what I say above, namely 3.3.  Hence again factor of 0.5.