Jump to content
  • 0

Making a 3D globe


lkr241

Question

I've tried using an image prop of a globe to make a 3D earth in a drawing I'm doing. It works in front view and side view, but it doesn't work in any axon view. Is there another way to make a sphere look like the earth other than an image prop, or can you tell me what i'm doing wrong on my image prop that it foreshortens when I look at it in any kind of axonometric view?

 

Link to comment

22 answers to this question

Recommended Posts

  • 0

In VW, Image Props, to follow the Camera, will rotate around Z axis only.

(Which usually makes sense for cut out people or plants, even for slight bird eye views)

In 3D Apps like e.g. Cinema4D they can rotate about all axes by default.

 

(In C4D I had to lock mine to Z axis only manually for my purposes)

 

So an image prop may not the best solution for your purpose.

An option would be a 3D mesh globe with earth texture applied that you

may find on google warehouse or somewhere else, in a 3D format that

VW can import.

 

Edited by zoomer
  • Like 1
Link to comment
  • 0

I've always been partial to globes with a bit of raised relief myself...

VWXGlobeexplainer-lr.thumb.png.ccf59158bb122dcbbf9de46b1bb504dc.png

 

Just make a Vectorworks sphere.

Then, make a texture from an image.  The best results use an image made from equirectangular projection.

Finally, texture the sphere using spherical mapping.

The trick to accurately scaling and placing the texture involves Pi and the length of a 90 degree arc based on your model size.

 

The previous examples here by @Kevin K and @VIRTUALENVIRONS may be salvageable in that regard, I don't know where they got their textures.

 

And yes, I did do it in Vectorworks...

ScreenShot2024-04-26at13_05_07.thumb.png.92b2b45e3e872802312ba83e88ea2c88.png

 

Edited by Jeff Prince
  • Like 2
  • Love 2
Link to comment
  • 0

I got these maps off the NASA website several years ago, 2016 or so.  They include the Hi clouds, etc.  You might think the first one was done with the AI Visualizer, but just C4D.

 

They are/were Lo res or Hi res.  No reason why they could not be used in VW's.

 

If you notice continental U.S.A. they have light maps of the cities and towns.

 

 

STANDARD4.thumb.jpg.d49ca1603ef2c727e1b6d2e0ab70b953.jpgSTANDARD2.thumb.jpg.ba0c839c876ff01e2d04b715502071cf.jpgSTANDARD3.thumb.jpg.24415ab3d97626c9ade2046bf5234c25.jpg

Edited by VIRTUALENVIRONS
Link to comment
  • 0

Paul

in reference to you query about mapping and closing a texture map to an object, like a sphere,  I have found you need to do a little math.

Meaning, you need to know the exact circumstance of the object, then match that to the width of the image….if that makes sense. If you are having trouble getting it to work perhaps send me a direct message with the object and the image and I can have a go, then explain how it works.

Link to comment
  • 0

Hi Kevin,

How are things?  I just wanted to give  @lkr241 something to work with.  The texture was the critical part.  The models above involve more than one texture map, but they all come from the NASA website.

 

Thanks for your offer, I can always count on you.

 

I have reacquainted myself with VW texture mapping to a point,  I can do the basics, but there is really no point for me to learn more.

 

regards.....Paul

Link to comment
  • 0
19 hours ago, Jeff Prince said:

I've always been partial to globes with a bit of raised relief myself...

VWXGlobeexplainer-lr.thumb.png.ccf59158bb122dcbbf9de46b1bb504dc.png

 

Just make a Vectorworks sphere.

Then, make a texture from an image.  The best results use an image made from equirectangular projection.

Finally, texture the sphere using spherical mapping.

The trick to accurately scaling and placing the texture involves Pi and the length of a 90 degree arc based on your model size.

 

The previous examples here by @Kevin K and @VIRTUALENVIRONS may be salvageable in that regard, I don't know where they got their textures.

 

And yes, I did do it in Vectorworks...

ScreenShot2024-04-26at13_05_07.thumb.png.92b2b45e3e872802312ba83e88ea2c88.png

 


Beautiful work.  How did you make your board showing the three views of Earth on the star field?  Is that Vectorworks too?

Link to comment
  • 0
20 hours ago, VIRTUALENVIRONS said:

How do you close a spherical map in VW's?

 

That is why I had searched for an already textured Mesh Globe.

Something like a 3DS, which VW can import.

 

Usually the Mesh keeps the initial Mapping.

(At least VW always resets it when you try to edit the Mesh)

 

But in a 3D App I would also have tried a simple Cylindrical Mapping.

Which should work if you have a distorted rectangular Map.

(Like a world "map")

 

 

Link to comment
  • 0
2 hours ago, LavenderGardens said:


Beautiful work.  How did you make your board showing the three views of Earth on the star field?  Is that Vectorworks too?

 

Thank you, that was just a quickie mocked up in Affinity Photo.  I exported rendered images from Vectorworks, imported into Affinity Photo, added some outer glow to simulate an atmosphere/get them to pop off the background, and added a background and text.  You could do the same in Affinity Designer or the equivalent Adobe products.  I converted my workflow to Affinity from Adobe due to the subscription plan offered by Adobe at the time.

 

2 hours ago, lkr241 said:

Okay!  Thanks for all the input.  I ended up making my own texture and putting it on a sphere.  Here's what it looks like.  I'm still working a little on the scale, but otherwise....

Globe.vwx 68.8 MB · 0 downloads

 

That's pretty good.  The problem is you used a map using Mercator projection that does not include the entire surface of the earth.

Here is the image you used in your texture:

globetake30-merc.png.6b1c18a3fd3f445d09ab4acb40098487.png

 

 

 

And here is what you actually need per my original example... an equirectangular projection.  Note the difference?

1. It includes the entirety of the earth's surface

2. It uses the projection compatible with spherical mapping.

Equirectangular.thumb.png.ae68034638212fe50e6e325d9d93fcd2.png

*** This image is not in the correct proportions, it is an illustrative example for the purpose of discussion, go grab an image from a source you trust.  I picked this because the graphic style matches the one you posted and would allow people to focus on the difference in projection.

 

This is basically what a globe would look like if you mounted a camera to a tripod focused on the equator and rotated it, ie cylindrical projection or in cartography... Equirectangular or Equidistant Cylindrical.  If you use any other type of projection, it's going to fail when using a spherical mapper.  I encourage everyone perplexed by this thread to read up on https://en.wikipedia.org/wiki/Equirectangular_projection or you could google "flat earth" 🙂

 

You can source accurate textures from NASA at the blue marble collection:

https://visibleearth.nasa.gov/collection/1484/blue-marble?page=1

Edited by Jeff Prince
  • Like 1
  • Love 1
Link to comment
  • 0

The NASA Maps (Blue Marble) have been there for a long time. (2002).  They are great and you can use more than one.  They are registered to overlay.  

 

If you notice the clouds.  That map came from the Blue Marble collection and is intended to be used with any of the day or night maps.

 

The blue hue is coloured light with radius decay.

 

 

Link to comment
  • 0

Although I am a novice rendering person in Vectorworks, just enough to understand it, I was curious about the most basic of texture mapping functions.  Wrapping a sphere.  This seemed so odd.

 

Did a little digging.  First of all, used Surface UV's as opposed to Spherical mapping.   So, both these spheres have the same texture, same attributes, except the left sphere is larger.  The one on the right has the texture accurately mapped.  

 

It appears VW's requires either the texture be scaled to the object (feature size),  or the object scaled to the texture.  

 

Can anyone else shed some light on this.  Is there a command I am not seeing?

 

 

Screenshot2024-04-28at10_30_57AM.thumb.png.cf200dc285243c9a39642d7f9581c0c0.png

Link to comment
  • 0

Texture mapping in Vectorworks isn't the most friendly, even with the newish Surface UV tools.  You are mostly correct.  When you set up the texture, there is a section of the dialog box marked Size.  This refers to the width of the texture.  In this case, this wants to be the circumference of the sphere that you've made.  If you don't know the exact width of the image, but want to instead specify the height or some other piece of image itself, you can click on the Set By Image button and draw a line over the image and specify what the length of that line.  Vectorworks will use that to compute the width/size.

 

However, even if you don't set this, you can still "scale" the texture on an object by object basis (but only symmetrically, you can't stretch the texture or change its aspect ratio).  When you apply the texture to an object and open that object's Render tab in the Object Info Palette, you will see a Scale parameter and a slider.  You can then change the scale of the texture for that object.  This means that you could have one Earth texture, but apply it to different sized globes, though you will need to compute what the scale difference between the object and the texture.

 

There is currently no option to automatically scale the textures to fit the object.  A script could be written to do so, and it's a feature on a number of my plug-ins, but the Vectorscript texture commands are pretty limited, and I think it might be too difficult to write a catch-all since there's no way to specify faces of objects in VS.  The auto size on my mine are written very specifically to the objects, and they are mostly extruded rectangles, so the computation is dead simple.

  • Like 1
Link to comment
  • 0
On 4/27/2024 at 7:15 PM, Jeff Prince said:

 

 

Equirectangular.thumb.png.ae68034638212fe50e6e325d9d93fcd2.png

*** This image is not in the correct proportions, it is an illustrative example for the purpose of discussion, go grab an image from a source you trust.  I picked this because the graphic style matches the one you posted and would allow people to focus on the difference in projection.

 

This is basically what a globe would look like if you mounted a camera to a tripod focused on the equator and rotated it, ie cylindrical projection or in cartography... Equirectangular or Equidistant Cylindrical.  If you use any other type of projection, it's going to fail when using a spherical mapper.  I encourage everyone perplexed by this thread to read up on https://en.wikipedia.org/wiki/Equirectangular_projection or you could google "flat earth" 🙂

 

You can source accurate textures from NASA at the blue marble collection:

https://visibleearth.nasa.gov/collection/1484/blue-marble?page=1

Yes the bottom picture looks reasonable right, though it was a bit too low res, so I pumped it up with AI. 

 

 

Globe.vwx

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...