|
FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
Convenience class for drawing billboards using a Geometry Shader. More...
#include <Billboard.hpp>
Public Member Functions | |
| void | initialize (Programmable &P) const |
| BillboardBase (VObject *that) | |
| bool | initializeAnemone (Anemone &RenderAnemone, VRenderContext &Context, AnemoneCreator<> &AC) const |
| RenderBasin::Program::Parameters | setProgramParameters (RenderBasin::Program::Parameters P, Anemone &RenderAnemone, const GridAnemone::AnemoneCreationContext &ARC, const RefPtr< GridAnemone::AnemoneExplorer > &AE) const |
| string | EmitBillboard_geom () const |
| Define a function to transform world coordinates to screen coordinates. | |
Public Attributes | |
| VObject::in< double > | inSizeScale |
Convenience class for drawing billboards using a Geometry Shader.
| string Wizt::BillboardBase::EmitBillboard_geom | ( | ) | const |
Define a function to transform world coordinates to screen coordinates.
Routines to be used in a geometry shader to produce screen-oriented
billboards.
Functions are:
These routines will output a fragment shader variable WorldFragmentCoordinates containing the world coordinates of each pixel, relative to the uniform variable CenterShift (aka Origin) if the Local* functions are used.
References Wizt::embed_glsl().