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.

DesignCAD globe model with texture mapping.

Started by prl, March 13, 2014, 07:37:59 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

prl

Sam got me going on this one and I managed to find a global bitmap that fairly accurately textures to a DesignCAD sphere.

If you want to play, the file and bitmap are attached.

For fun, the blue is me.  The red is Lar.   You get the humor, no,  ice blue, red hot.

samdavo

#1
Nice map prl :)

Quote from: Plato :-
for, as I was saying just now, to speak of the whole which is in the form of a globe as having one part above and another below is not like a sensible man.
— Plato

http://en.wikipedia.org/wiki/Antipodes

QuoteThe Greek word is attested in Plato's dialogue Timaeus, already referring to a spherical Earth, explaining the relativity of the terms "above" and "below":

For if there were any solid body in equipoise at the centre of the universe, there would be nothing to draw it to this extreme rather than to that, for they are all perfectly similar; and if a person were to go round the world in a circle, he would often, when standing at the antipodes of his former position, speak of the same point as above and below; for, as I was saying just now, to speak of the whole which is in the form of a globe as having one part above and another below is not like a sensible man.
— Plato

Jpeg = the Atlas trampoline gravity field

prl

Quote from: samdavo on March 13, 2014, 10:36:25 AM
referring to a spherical Earth, explaining the relativity of the terms "above" and "below":

I guess for Atlas someone at the equator pointing straight up to the heavens is really on the level.

prl

#3
Well I was looking for the word that describes 0 degrees latitude and 0 degrees longitude and couldn't find one.  So I made my own,  nilitude.    See graphic.

Phil may recognize the term Emerald Shellback, the rarest Shellback of all.


Edit: added the model file.

magic

Hi prl,

I really like you world!

So much so that I decided to make it go round (like money, money, money).

So I made these animations:

1) http://www.magicsystems.com/DesignCAD earth model rotating Gouraud.avi

2) http://www.magicsystems.com/DesignCAD earth model rotating Phong.avi

They are about 86 MB each, so they may take a couple of ticks to download.

I have a couple of questions. There seem to be Newton rings or something around the lighting target, and when we pass over the Americas there is a disturbance that I can't really define, like two tubes from north to south.

What, why and from where? And how do we get rid of it?

I'm attaching the drawing with the animations in it. Place the bitmap in My Pictures.
It's a kind of magic!




samdavo

#5
Quote from: prl on March 13, 2014, 03:01:07 PM
Well I was looking for the word that describes 0 degrees latitude and 0 degrees longitude and couldn't find one.  So I made my own,  nilitude. 
With latitude of zero, might I suggest Switzerland.  Just quoting the late great Peter Ustinov, "in Switzerland, everything is illegal - unless of course it is compulsory"  :)

With the world spun around to the Newfoundland Bank, I am reminded of this one ...  ( a poem I wrote about the Titanic - posted on the poetry thread, FWIW, speaking of 2 cents)  cheers
http://forum.designcad.com/index.php?topic=5158.msg36752#new

  "Too little perhaps the longitude, and far too lax the latitude.."

QuoteTITANIC (Wrong boat, wrong time, wrong attitude)
....
There's right and there's wrong and there's "wronger" dude - Wrong boat, wrong time, wrong attitude,
Too little perhaps the longitude, and far too lax the latitude,

... Twas one hell of a debrief in Heav'n to report, that night the Titanic sank
While the sinkable boats came home to port from the self same Newfoundland bank

prl

#6
Quote from: magic on March 13, 2014, 11:11:08 PM
So I made these animations:

Hi Magic,  nice!!   As the DesignCAD forum world turns.

I'm completely uninformed about how DesignCAD animations work having never tried it.   I guess it was the time involved and the size and quantities of snapshot images being created.  Of course now-days I'm sitting here generating endless rendering images which is like playing with a time machine watching time slip by.

magic

#7
Hi prl,

Actually the animation part is real easy.

Go to animation mode. Make a snapshot on the first frame. Click frame #359 and rotate the world 359° around the Y-axis and make another snapshot.

Save template and export as a .avi file in either Gourad or Phong mode, no lines etc. The exporting takes some time.

By the way, when I rotate in modelspace, everything selected, the texture mapping does not turn - I mean, I still look at West Africa and the Atlantic. Why doesn't the bitmap rotate as well?
It's a kind of magic!




prl

Given the storage sizes of the graphic files, I can see that taking a snapshot at every degree will create an enormous gif.  I guess in essence that is what the DesignCAD animation routine does.  A nicer version of the basiccad routine I'm using.

prl

#9
Well with basiccad, I can send earth not just on a bi-polar rotation (the downover.gif above) but a tri-polar rotation.  I wonder what would happen to Newton's apple?  Also added some more DesignCAD lighting.

Had to hook this to dropbox because the file is too large windows *.scr saver format isn't supported. (See my edit below).

https://db.tt/RdjcDUXA


Edit:  Well here is something I didn't know.  I use the portable IrfanView program to do batch conversions.  The images you are seeing are 120 DesignCAD *.png snapshots (3 degree increments).  IrfanView will make a batch slideshow as a Windows screen saver file (*.scr).  Those files are much smaller than animated gifs, etc.   This works well for me in XP, not sure what happens with Windows 7 or 8.

And if you don't remember how to stop the animation once you have it going, remember it is a screen saver, so just click on the screen anywhere.

prl

#10
I'm impressed with the IrfanView program for batch processing.  In case you are wondering what I'm doing.

1.  Using DesignCAD and basiccad, I'm taking 120 snapshots of the model in shaded Gouraud mode (medium quality).  Those images are being saved as png files.
2.  I then use IrfanView to batch convert those files.  Typically I've been changing them to *.gif.
3.  Once they are gif files, I use a freeware program called UnFreez 2.1 to make the animated gif.

The rotating gif is attached.  I used IrfanView to compress the gif files to get the file to come in at under 4mb.

If you click the gif below and nothing happens, remember it is a big file.  Even with high speed internet, it takes a bit.


samdavo

#11
Thanks for that prl, - I'll certainly give it a go!

Meanwhile all roads lead to ... whereever (= a jpeg for promotional literature should you organise a conference down under etc.)


samdavo

#12
PS I note that spotlights can (sometimes) shine right through the Earth as if it isn't there (?)

Which is strange because in the previous post, - and the second jpeg - the surface of earth can also support shadow (?)

magic

Dear Sam,

No roads lead down under. You either have to fly or go by boat.
It's a kind of magic!




prl

#14
You may like this. Your own DesignCAD version of Google earth.

Start with the nilitude model in wire frame mode.

Draw a line from absolute 0,0,0 to 13,0,0. (I made the Earth a generic radius of 10 centered on 0,0,0).  Your line should extend through the earth at nilitude (zero latitude and zero longitude).

Select that line and set a handle at the beginning of the line (center of the earth, 0, 0, 0).

Now you will use your gunner's-turret approach to set latitude and longitude for Sydney  33.8600° S, 151.2111° E

In DesignCAD, (remember you set your line handle at the center of the earth and you will use the rotate command with the "through handle" option).

1.   Rotate -33.86 about Z  (latitude)
2.   Rotate 151.2111 about Y  (longitude)

Shade your map.  You should have a line going from the center of the earth piercing the globe at Sydney or pretty darn close to it.

Now your birdcage can find New York City using this same method.  First latitude (raise or lower gun barrel), then longitude (swing the turret around).  A west longitude is entered as a negative number.