Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Saturnrin

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Moche123   Members   

101
Like
0Likes
Like

Posted 19 July 2013 - 04:00 AM

Hello.

 

I just finished my solar system project.

 

The problem is saturn has not ring and i've no idea how to add it.

 

I can share u source code..

 

Sorry, topics name should be Saturnring


Edited by Moche123, 19 July 2013 - 05:03 AM.


#2 3TATUK2   Members   

714
Like
0Likes
Like

Posted 19 July 2013 - 05:05 PM

partially-transparent quad



#3 marcClintDion   Members   

435
Like
0Likes
Like

Posted 19 July 2013 - 05:22 PM

If I were to rough this out do what the fellow above suggested.

 

Use a photo editor to make the ring, anything that you want to be transparent should be black and whatever part of the texture map is white will be opaque.

 

render the planet

 

Enable blending.

 

render the above mentioned quad with the above mentioned texture,

 

Disable blending.

 

To make transparency the map you can search Google for "GIMP alpha masks, or specular maps"  The techniques you find should work equally well for making the rings texture map.


Edited by Brother Bob, 22 July 2013 - 11:50 AM.
rollback

Consider it pure joy, my brothers and sisters, whenever you face trials of many kinds, because you know that the testing of your faith produces perseverance. Let perseverance finish its work so that you may be mature and complete, not lacking anything.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.