As part of an assignment, I have to do a “high-quality” scene with several objects, one of which is a fish bowl half filled with water. I have the fish bowl itself, done with triangles, grey, translucent, all that fun stuff. I thought I was hot stuff for getting that done so fast, but now he gave us an addition. We have to use environment mapping to draw the reflection of the room in the bowl, and use reflection and refraction to make the water look like water.
I found the environment mapping section in the red book, and I think I can puzzle my way through it, but I can’t find anything on how to manage reflection and refraction. I’d hate to have to use clipping planes in any way, because the container’s shape is fairly complex, and hence the water’s boundaries are too. Does anyone have any ideas? I’d appreciate at least a general description of the process.