Hi,
Is it possibel to grab frames from a camerascennode? I'm planning to make a simple robotics simulator. Most robots use sonar and cameras as there sensors. To simulate that I want to use one or two cameras as the eyes of the robot. Is there any way to periodically request frames from those cameras? So "the robot" can do some filtering on that image.
Thanks in advance, Arco.
Grab frames from camera
-
- Posts: 118
- Joined: Thu Sep 18, 2003 10:05 pm
- Location: switzerland
from irr::video::IVideoDriver
Code: Select all
//! Sets a new render target. This will only work, if the driver
//! supports the EVDF_RENDER_TO_TARGET feature, which can be
//! queried with queryFeature().
//! \param texture: New render target.
virtual void setRenderTarget(video::ITexture* texture) = 0;
-
- Posts: 3
- Joined: Sat Jun 12, 2004 8:45 pm
-
- Posts: 3
- Joined: Sat Jun 12, 2004 8:45 pm
For those who are interested. I did some googling and found the following links which seem to address my problem. I will try to hack this into irrlicht but I don't know if I will succeed.
Arco.
Using P-Buffers for Off-Screen Rendering in OpenGL
http://developer.nvidia.com/object/PBuf ... creen.html
GDC2002 -- OpenGL Render-to-Texture
http://developer.nvidia.com/object/gdc_oglrtt.html
Project which uses these extentions
http://www.paulsprojects.net/opengl/rtotex/rtotex.html
OpenGL Render To Texture
This demo shows the usage of render-to-texture in OpenGL through the WGL_ARB_render_texture extension.
http://developer.nvidia.com/object/ogl_rtt.html
Arco.
Using P-Buffers for Off-Screen Rendering in OpenGL
http://developer.nvidia.com/object/PBuf ... creen.html
GDC2002 -- OpenGL Render-to-Texture
http://developer.nvidia.com/object/gdc_oglrtt.html
Project which uses these extentions
http://www.paulsprojects.net/opengl/rtotex/rtotex.html
OpenGL Render To Texture
This demo shows the usage of render-to-texture in OpenGL through the WGL_ARB_render_texture extension.
http://developer.nvidia.com/object/ogl_rtt.html