Ignition Rendering

API Reference

5.1.0
Ogre2GpuRays.hh File Reference

Go to the source code of this file.

Classes

class  Ogre2GpuRays
 Gpu Rays used to render range data into an image buffer The ogre2 implementation takes a 2 pass process to generate the final range data. 1st Pass: Creates a cubemap of range data. The cubemap is created from six cameras looking in all directions. Depending on the min/max angles specified, not all cameras need to be created. Internally in the 1st pass shaders, we reconstruct 3d viewspace pos from depth buffer data then convert them into ranges, i.e. length(pos.xyz). 2nd Pass: Samples range data from cubemap using predefined rays. The rays are generated based on the specified vertical and horizontal min/max angles and no. of samples. Each ray is a direction vector that is used to sample/lookup the range data stored in the faces of the cubemap. More...
 

Namespaces

 ignition
 
 ignition::rendering
 Rendering classes and function useful in robot applications.
 
 Ogre