is there any idea how to make a mirror in irrlicht?
just rectangular in 3d space, which reflect all around?
regards, olbik
mirror
Well, I think there is no function in Irrlicht for that...
But I remember "Duke Nukem 3D", with the editor u could make mirrors in this way:
Behind the mirror u have to build the same room, but mirrored.
U have to set a second (flipped, scale x = -1) player modell in the mirror room and move it like the original player modell...
The mirror itself has to be an hole, or maybe a transparent shape like glass...
Well, the editor of "Duke Nukem 3D" creates the mirror room on its own, u only have to build the second room with no inventory...
Maybe this clue helps u ???
CU, Acki
But I remember "Duke Nukem 3D", with the editor u could make mirrors in this way:
Behind the mirror u have to build the same room, but mirrored.
U have to set a second (flipped, scale x = -1) player modell in the mirror room and move it like the original player modell...
The mirror itself has to be an hole, or maybe a transparent shape like glass...
Well, the editor of "Duke Nukem 3D" creates the mirror room on its own, u only have to build the second room with no inventory...
Maybe this clue helps u ???
CU, Acki
Not sure if this is possible in Irrlicht:
Put a camera facing the same direction as the mirror, save the image that it produces and then apply that as a texture to the mirror surface. Should work with only a mirror or two before it starts slowing down.
________
MAINE DISPENSARY
Put a camera facing the same direction as the mirror, save the image that it produces and then apply that as a texture to the mirror surface. Should work with only a mirror or two before it starts slowing down.
________
MAINE DISPENSARY