31#ifndef VP_PANDA3D_RGB_RENDERER_H
32#define VP_PANDA3D_RGB_RENDERER_H
34#include <visp3/core/vpConfig.h>
36#if defined(VISP_HAVE_PANDA3D)
38#include <visp3/ar/vpPanda3DBaseRenderer.h>
39#include <visp3/ar/vpPanda3DLight.h>
40#include <visp3/core/vpImage.h>
109 void setupRenderTarget() VP_OVERRIDE;
111 virtual std::
string makeFragmentShader(
bool hasTexture,
bool specular);
114 bool m_showSpeculars;
115 PointerTo<Texture> m_colorTexture;
116 PointerTo<GraphicsOutput> m_colorBuffer;
117 static const std::
string COOK_TORRANCE_VERT;
118 static const std::
string COOK_TORRANCE_FRAG;
120 NodePath m_backgroundImage;
121 PointerTo<DisplayRegion> m_display2d;
122 PointerTo<Texture> m_backgroundTexture;
Definition of the vpImage class member functions.
vpPanda3DBaseRenderer(const std::string &rendererName)
virtual void setupScene()
Initialize the scene for this specific renderer.
virtual void addNodeToScene(const NodePath &object)
Add a node to the scene. Its pose is set as the identity matrix.
vpPanda3DLightableScene()
bool isShowingSpeculars() const
vpPanda3DRGBRenderer()
Default constructor. Initialize an RGB renderer with the normal rendering behavior showing speculars.
vpPanda3DRGBRenderer(bool showSpeculars)
RGB renderer constructor allowing to specify whether specular highlights should be rendered or if onl...
PointerTo< GraphicsOutput > getMainOutputBuffer() VP_OVERRIDE