Difference between revisions of "Povray"

Line 13: Line 13:
 
Example:
 
Example:
 
       sphere { Center, Radius [OBJECT_MODIFIERS...]}
 
       sphere { Center, Radius [OBJECT_MODIFIERS...]}
 +
 +
= Torus =
 +
Torus is created using
 +
major radius and minor radius
 +
Example:
 +
    torus { 4, 1 pigment { Green }}
 +
 +
= Cone =
 +
Cone is created using
 +
Center and radius of one end
 +
Center and radius of other end
 +
Example:
 +
      cone {<0, 1, 0>, 0.3  <1, 2, 3>, 1.0 texture { T_Stone25 scale 4 }}

Revision as of 03:06, 25 July 2015

This article provides knowledge about different types of geometric primitive objects that can be exported from BRL-CAD to POV-Ray geometry file. Their properties, functions used for them, parameters are discussed in section below.

To Know more about POV-Ray, here are some links below:

Below is the list of primitives that are working/exported correctly, partially and not touched yet.

Primitives that are working properly

Sphere

Sphere is formed by Center and Radius Example:

     sphere { Center, Radius [OBJECT_MODIFIERS...]}

Torus

Torus is created using major radius and minor radius Example:

    torus { 4, 1 pigment { Green }}

Cone

Cone is created using Center and radius of one end Center and radius of other end Example:

     cone {<0, 1, 0>, 0.3  <1, 2, 3>, 1.0 texture { T_Stone25 scale 4 }}