Search found 3 matches

by vesa
Fri Jul 21, 2006 12:16 pm
Forum: Code Snippets
Topic: (C++) Mirror node for use with Irrlicht
Replies: 45
Views: 28070

Re: Close-up reflections not accurate

If anyone has an idea how to make the mirror "perfect" please let me know. Meanwhile, it is still useful for most applications (the reflection is believeable when you don't put objects right beside it). I found a great article by Hun Yen Kwoon about virtual camera positioning that may be ...
by vesa
Tue Jul 18, 2006 11:11 am
Forum: Code Snippets
Topic: (C++) Mirror node for use with Irrlicht
Replies: 45
Views: 28070

Re: Close-up reflections not accurate

If anyone has an idea how to make the mirror "perfect" please let me know. Meanwhile, it is still useful for most applications (the reflection is believeable when you don't put objects right beside it). OGRE team has made a "perfect" mirror by using render-to-texture and one cam...
by vesa
Sat Jul 15, 2006 11:45 am
Forum: Code Snippets
Topic: (C++) Mirror node for use with Irrlicht
Replies: 45
Views: 28070

Thank's for the code, Panther. But the mirror doesn't work correctly when objects are close to mirror surface. http://users.tkk.fi/~voinonen/irrlicht/floor_mirror1.jpg Changes to code: mirror->setRotationUp(core::vector3df(90.0f,0,0), fixedCam); and cube->setPosition(core::vector3df(mirror->getPosit...