generate PointerTo< PandaNode > FisheyeMaker::generate(void); Description: Generates a GeomNode that renders the specified geometry. |
reset void FisheyeMaker::reset(void); Description: Resets all the parameters to their initial defaults. |
setFov void FisheyeMaker::set_fov(float fov); Description: Specifies the field of view of the fisheye projection. A sphere map will have a 360-degree field of view (and this is the default). |
setNumVertices void FisheyeMaker::set_num_vertices(int num_vertices); Description: Specifies the approximate number of vertices to be used to generate the rose. This is the approximate number of vertices that will be located within the rose's unit circle, not counting the inscribing square (if any). The actual number of vertices used may be +/- 25% of this value. |
setReflection void FisheyeMaker::set_reflection(bool reflection); Description: Sets the flag indicating whether the texture image should be mirrored (true) or normal (false). When this is true, the 3-D texture coordinates will be reversed so that the image is appropriate for a reflection. This is the best choice for generating a sphere map from a cube map. The default is false. |
setSquareInscribed void FisheyeMaker::set_square_inscribed(bool square_inscribed, float square_radius); Description: Sets the flag that indicates whether the rose should be inscribed within a square. When this is true, an additional square is generated to inscribed the circular rose, with the indicated "radius" (the sides of the square will be 2 * square_radius). The texture coordinates of the square will uniformly map to the back pole of the cube map. This is mainly useful to provide a good uniform background color for a sphere map so that it does not have a sharp circular edge that might produce artifacts due to numerical imprecision when mapping. |
clearName void Namable::clear_name(void); Description: Resets the Namable's name to empty. |
getClassType static TypeHandle Namable::get_class_type(void); Undocumented function. |
getName string const &Namable::get_name(void) const; Description: |
hasName bool Namable::has_name(void) const; Description: Returns true if the Namable has a nonempty name set, false if the name is empty. |
operator = Namable &Namable::operator =(Namable const &other); Description: |
output void Namable::output(ostream &out) const; In the absence of any definition to the contrary, outputting a Namable will write out its name. Description: Outputs the Namable. This function simply writes the name to the output stream; most Namable derivatives will probably redefine this. |
setName void Namable::set_name(string const &name); Description: |