does ogre support ray trace ?
-
- Greenskin
- Posts: 129
- Joined: Fri Oct 31, 2014 4:22 am
does ogre support ray trace ?
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 !
- Kojack
- OGRE Moderator
- Posts: 7157
- Joined: Sun Jan 25, 2004 7:35 am
- Location: Brisbane, Australia
- x 534
Re: does ogre support ray trace ?
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.
- lingfors
- Hobgoblin
- Posts: 525
- Joined: Mon Apr 02, 2007 12:18 am
- Location: Sweden
- x 79
Re: does ogre support ray trace ?
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.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 !