Registriert: Mo Sep 23, 2002 19:27 Beiträge: 5812
Programmiersprache: C++
Do you mean the reflections on the ball? If yes, then that shouldn't be that hard. It's just a reflectioncubemap, and those kind of reflections are easy to create since OpenGL supports cube mapping.
Just render the scene from the position of the reflective object six times (view to the left, the right, the top, the bottom, front and back) and copy them to the cube map's faces, but don't forget to NOT draw the reflective object when rendering it's cubemap faces. Need for Speed : Underground for example uses this technique for the car's reflection, but the game doesn't update them every frame, cause that would consume to much processing time. So regenerating the reflective cubemap alle 4 or even more frames should be more than enough.
Mitglieder in diesem Forum: Google [Bot] und 10 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.