Powerino
02-27-2003, 11:56 PM
hi anyone knows a good solution to make reflection in a scene?
Possible technics are:
(0) Stencil buffer (VERY SLOW if i applied for each polygon in the scene but very accurate)
(1) Cube mapping
In the second case how can i create the 6 faces for the cube? i have to render the scene 6 times (but in this case the point of view what is? (maybe the camera position?!?! but for far object how this works?!?!?)
Anyone has good source code for these problems?
Any other suggestions?
Possible technics are:
(0) Stencil buffer (VERY SLOW if i applied for each polygon in the scene but very accurate)
(1) Cube mapping
In the second case how can i create the 6 faces for the cube? i have to render the scene 6 times (but in this case the point of view what is? (maybe the camera position?!?! but for far object how this works?!?!?)
Anyone has good source code for these problems?
Any other suggestions?