View previous topic :: View next topic |
Author |
Message |
andy_mc DeleD PRO user
Joined: 15 Dec 2007 Posts: 19
|
Posted: Thu Apr 03, 2008 8:36 am Post subject: How to make a bubble? |
|
|
Basically I need to render images of objects inside and outside of bubbles, I want to be able to tint the color of the bubble to match the object inside. What's the best way to do this in delgine? It's for a casual games I'm making. |
|
Back to top |
|
|
Daaark DeleD PRO user
Joined: 01 Sep 2004 Posts: 2696 Location: Ottawa, Canada
|
Posted: Thu Apr 03, 2008 8:43 am Post subject: |
|
|
Make a sphere, then copy it, and invert the normals on the new sphere. Then merge them. You now have a bubble.
You will need to make some kind of sphere map / cube map / shader fpr the reflection, and you can use the vertex colors for the tinting. _________________
|
|
Back to top |
|
|
andy_mc DeleD PRO user
Joined: 15 Dec 2007 Posts: 19
|
Posted: Fri Apr 04, 2008 10:22 am Post subject: |
|
|
thanks, I ended up doing it in anim8or from a tutorial I found using Google.
It was only so I could cut a pre-rendered shot of it to use in a casual game. I'm writing a new game shortly that will need extensive use of Delgine, I'll post screenshots of that as I work on it. |
|
Back to top |
|
|
|