Advertisement

Mirrors and reflections

Started by September 25, 2003 05:01 PM
2 comments, last by brucesinner 21 years, 5 months ago
I want to do a scene like a ''mirror box'' where all internal walls form a cube are reflective and a 3d object inside it. As the camera is positioned inside the cube the watcher will feel like he is inside a mirror room like that ones found in some circus. Anyone have a clue how to do it? Same as Nehe''s lesson about reflection?
"Steel and Fire,Spreading the Holy Word,Dirty Liars,The truth has never been told" - Primal Fear
Thats tricky...its not a simple reflection because you will get reflected reflections.

You can take advantage of the fact that it is a cube though. You can repeat what ever is in the cube in such a way that it seems there are many reflections happening at once - all you have to do is repeat the reflected scene over and over:

      _____     |     |   < |  >  | <     |_____|     |     |   < |  >  | <     |_____|     |     |   < |  >  | <     |_____|     |     |   < |  >  | <     |_____|     |     |   < |  >  | <     |_____|


So if you were standing at the bottom and looked up, it would look like there were many reflections. Do the same on all sides and you have yourself a reflective cube. The trick is how you end each row.
Advertisement
Maybe this can help you a bit.
It doesn''t say how to do it but it''s good for a start.

http://astronomy.swin.edu.au/~pbourke/radiance/mirrors/
What is "real"? How do you define "real"? If you''re talking about what you can feel. . . what you can smell, taste and see. . . then "real" is simply electrical signals interpreted by your brain.
You could sorta just have a big grid of cubes...
0----0----0----0----0----0| ¡> | <¡ | ¡> | <¡ | ¡> |0----0----0----0----0----0| ^> | <^ | ^> | <^ | ^> |0----0----0----0----0----0| ¡> | <¡ | ¡> | <¡ | ¡> |0----0----0----0----0----0| ^> | <^ | ^> | <^ | ^> |0----0----0----0----0----0| ¡> | <¡ | ¡> | <¡ | ¡> |0----0----0----0----0----0 


something like that but make it as big as you need and just whack the camera in the middle...

[edited by - Thorin_nz on September 27, 2003 8:43:45 PM]

This topic is closed to new replies.

Advertisement