does ogre support ray trace ?

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
fla666
Greenskin
Posts: 129
Joined: Fri Oct 31, 2014 4:22 am

does ogre support ray trace ?

Post by fla666 »

I want to create realistic mirror effect , so i want to know if ogre have integrated the ray trace algorithm , could somebody give me some suggestion about how to use ray trace in ogre, thanks !
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 534

Re: does ogre support ray trace ?

Post by Kojack »

Ray tracing works very differently to scanline rasterising (which is what Ogre and 99.9999% of realtime 3d engines use). There's no support for it in Ogre.
User avatar
lingfors
Hobgoblin
Posts: 525
Joined: Mon Apr 02, 2007 12:18 am
Location: Sweden
x 79

Re: does ogre support ray trace ?

Post by lingfors »

fla666 wrote:I want to create realistic mirror effect , so i want to know if ogre have integrated the ray trace algorithm , could somebody give me some suggestion about how to use ray trace in ogre, thanks !
For mirror effect, render scene to texture from a reflected camera (plane reflections), render scene to cubemap texture (can approximate most geometries decently), do screen space reflections, etc... There are many ways. :)
Post Reply