implementation of a MbsViewPointRenderer using OpenGL to render offscreen. It re-uses code of OglViewPointRenderer
More...
#include <OglOffscreenVpRenderer.hh>
implementation of a MbsViewPointRenderer using OpenGL to render offscreen. It re-uses code of OglViewPointRenderer
◆ OglOffscreenVpRenderer()
OglOffscreenVpRenderer |
( |
MbsWorld3D * |
w3d, |
|
|
MbsViewPoint * |
vp, |
|
|
GLenum |
format = GL_RGB , |
|
|
bool |
multisample_enable = false |
|
) |
| |
◆ ~OglOffscreenVpRenderer()
◆ GetHeight()
◆ GetImagePixels()
void GetImagePixels |
( |
unsigned char * |
image, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Copy the image data associated to this renderer in the given image buffer.
Reimplemented from OglViewPointRenderer.
◆ GetViewpoint()
MbsViewPoint * GetViewpoint |
( |
| ) |
|
|
virtual |
◆ GetWidth()
◆ Render()
◆ depth_buf
◆ format
format to store the pixels
◆ frame_buf
◆ height
◆ multisample_enable
◆ multisample_frame_buf
GLuint multisample_frame_buf |
|
private |
◆ multisample_nb
◆ multisample_render_buf
GLuint multisample_render_buf |
|
private |
◆ render_buf
◆ viewpoint
◆ width
◆ world_3d
The documentation for this class was generated from the following files: