Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
brrodnine
12
Years of Service
User Offline
Joined: 24th Jul 2013
Location:
Posted: 1st Aug 2013 14:39
hey guys
im making saturn which hasn't been a problem but i want to put rings on the planet and have no idea how to do that

any advise
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 1st Aug 2013 19:49
Easiest I'd think would be to use a plain with a png texture with transparency.

Rudolpho
20
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 1st Aug 2013 20:59 Edited at: 1st Aug 2013 21:00
That depends a bit on from what angle you want to show it and how much detail you need.
A simple solution for a distant planet where you can guarantee the rings will never be seen straight-on is to represent the rings using a textured plain that intersects the planet sphere at the desired angle.

I've attached a small tutorial project to show this approach.
Please note that the media included in the attached file was just snatched off of the internet and edited a bit; you should therefore use your own textures if you wish to make anything commercial out of this.

Edit: beaten by Phaelax...


"Why do programmers get Halloween and Christmas mixed up?"
brrodnine
12
Years of Service
User Offline
Joined: 24th Jul 2013
Location:
Posted: 2nd Aug 2013 14:02
ok i tried using the example but alot of commands wouldnt compile for some non texture related reasons so il show what i have so far



also im having a bit of trouble with collisions. the asteroid is supposed to hit one one of the planets and dislodge it from its orbit.

the idea of the game is to get all the planets into the sun
brrodnine
12
Years of Service
User Offline
Joined: 24th Jul 2013
Location:
Posted: 2nd Aug 2013 17:09
ok so i got the rings on and im happy with how it looks apart from one thing when it orbits the plain texture overlaps the sphere texture



how do i stop that from happening because it happens with the other planets as well when they go beyind the sun
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 2nd Aug 2013 18:44
You don't need to make a mesh from the objects. If you want collision and asteroids to deflect other objects, you'd be better off using a physics engine, like Newton, ODE, DarkPHYSICS, or DarkDYNAMICS.
(Or at the very least, a collision engine like sparkies)

3D Bang Bang 2, check it out!

My website! [href]http:\\www.TeamDefiant.co.uk[/href]
brrodnine
12
Years of Service
User Offline
Joined: 24th Jul 2013
Location:
Posted: 2nd Aug 2013 20:06
cool thanks
brrodnine
12
Years of Service
User Offline
Joined: 24th Jul 2013
Location:
Posted: 2nd Aug 2013 20:53
does anybody have a link to sparkeys plugin that works
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 2nd Aug 2013 21:38
Google is your friend

3D Bang Bang 2, check it out!

My website! [href]http:\\www.TeamDefiant.co.uk[/href]

Login to post a reply

Server time is: 2026-07-07 12:28:15
Your offset time is: 2026-07-07 12:28:15