Jump to content

Correct Mesh for rings (Rings of Saturn)


Duncan_McCloud
 Share

Recommended Posts

Hi everyone.

First of all congrats for this great webgl framework. I am a c# programmer, and rather new to javascript world, but I had really no problems in using Babylon.js following your tutorials. 

In order to train with webgl i am actually creating a scene which represents the Solar System. I am stucking about which mesh should i use to draw Saturn Rings.

 

What i need would be a sort of 2D circle, with external and internal radius property, but i wasn't able to find such a mesh.

Cyclinder would be ok, defining heights to 0, but i can't define an internal radius.

Torus looked ok at first, but i cannot deal with thickness properties in order to make a torus looks like a 2D ring.

 

Does anyone has any advice ?

Link to comment
Share on other sites

Ciao everyone :)

 

 

 

Are there animations?

 

Yes there are.

 

Here what I have implemented so far (spare time in one week):

- Each planet has his own size, ratio is approximately correct.

- Sun size is fake, otherwise the planets will result to be too small

- Each planet has his "rotation period", "speed" and "direction". (Should it approximately correct, I hope)

- Planet's orbit around the sun are actually fake.

- Each Planets has his own textures, taken from a well-known website (I will post it as soon as possible for credits of course)

 

 

 

I'll be happy to add a link to your project on babylonjs.com!

 

It will be an honour :), but I guess it's better to make it at least "presentable". Now it's like at version 0.1 alpha lol. As you can see from these picture I am totally newbie at playing with lights and camera.

I need to make some basic tweaking then i will make it public. Of course I am open to every kind of suggestion!

Link to comment
Share on other sites

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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...