World map texture

113 views
Skip to first unread message

pri...@gmail.com

unread,
Dec 2, 2020, 4:27:20 PM12/2/20
to Glowscript Users
I have managed to make a sphere with a world map texture, see my program here:
However, the map is much too inaccurate (notice marked cities!).

How can I do better, and make it at least as nice as the old VPython materials.earth?

Poul Riis

Bruce Sherwood

unread,
Dec 2, 2020, 5:06:16 PM12/2/20
to Glowscript Users
I know nothing about the earth texture you have chosen to use. Have you tried using the built-in textures.earth?

Bruce

pri...@gmail.com

unread,
Dec 2, 2020, 6:10:44 PM12/2/20
to Glowscript Users
Thank you - much, much better - except that I think there is too much ice at Arctis ;-) 
The earth texture is not included in the textures example so I thought it didn't exist.

Poul Riis

Bruce Sherwood

unread,
Dec 2, 2020, 7:12:39 PM12/2/20
to Glowscript Users
I don't understand. This demo program does show the earth texture, and there is a link in the documentation to this program:


Bruce

--

---
You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/glowscript-users/bf253b18-1f56-4f35-9940-11eab62c361bn%40googlegroups.com.

pri...@gmail.com

unread,
Dec 3, 2020, 6:05:45 PM12/3/20
to Glowscript Users
I'm sorry I never noticed that. My fault.

pri...@gmail.com

unread,
Jan 6, 2021, 2:54:36 PM1/6/21
to Glowscript Users
Would it be possible to make  an even better earth texture (zoomable!?) like the one used here:
Poul Riis

Bruce Sherwood

unread,
Jan 6, 2021, 4:02:56 PM1/6/21
to Glowscript Users
Here is the documentation on how to use an image as a texture:


Bruce

pri...@gmail.com

unread,
Jan 8, 2021, 2:56:07 PM1/8/21
to Glowscript Users
I know how to use an image as a texture but I cannot see how that helps me to make something like this with glowscript:

Poul Riis 

Bruce Sherwood

unread,
Jan 8, 2021, 5:00:51 PM1/8/21
to Glowscript Users
I don't see how to do it either; it's very far from anything VPython is capable of, and it would require an enormous amount of work to add that effect. That's why I quoted the documentation on what's possible.

However, I can imagine you finding an image somewhere that has at least some major place names on it, so that as you zoom in closer you see the names get bigger.

I guess there's one other thing you could do, which is to display the existing textures.earth (or similar texture) and add your own 3D text objects to it, either with fixed sizes or sizes that you increase as you move the camera toward the map.

Bruce

--

---
You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages