Editing Povray
From BRL-CAD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 7: | Line 7: | ||
Below is the list of primitives that are working/exported correctly, partially and not touched yet. | Below is the list of primitives that are working/exported correctly, partially and not touched yet. | ||
− | = Primitives that are working properly = | + | = Primitives that are working properly = |
− | + | = Sphere = | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Sphere is formed by | Sphere is formed by | ||
Center and Radius | Center and Radius | ||
Line 48: | Line 14: | ||
sphere { Center, Radius [OBJECT_MODIFIERS...]} | sphere { Center, Radius [OBJECT_MODIFIERS...]} | ||
− | + | = Torus = | |
− | = | + | Torus is created using |
− | + | major radius and minor radius | |
− | |||
Example: | Example: | ||
− | + | torus { 4, 1 pigment { Green }} | |
− | |||
− | = | + | = Truncated General Cone = |
This primitive of BRL-CAD is named as Cone in POV-Ray. It is formed as | This primitive of BRL-CAD is named as Cone in POV-Ray. It is formed as | ||
Center and radius of one end | Center and radius of one end | ||
Line 63: | Line 27: | ||
cone {<0, 1, 0>, 0.3 <1, 2, 3>, 1.0 texture { T_Stone25 scale 4 }} | cone {<0, 1, 0>, 0.3 <1, 2, 3>, 1.0 texture { T_Stone25 scale 4 }} | ||
− | + | = Cylender = | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
This is formed by Cylender of POV-Ray. | This is formed by Cylender of POV-Ray. | ||
center_of_one_end, center_of_other_end and Radius | center_of_one_end, center_of_other_end and Radius | ||
Line 78: | Line 33: | ||
cylinder { <0, 1, 0>,<1, 2, 3>,0.5 }} | cylinder { <0, 1, 0>,<1, 2, 3>,0.5 }} | ||
− | = | + | = Ellipsoids = |
− | + | This primitive is named as spheroid in POV-Ray. It is having | |
− | + | Center Vector, Radius Vector | |
− | + | Example: | |
+ | Spheroid(<-1.50,3.00,-2.00>,<2.0,1.2,2.5> ) | ||
− | = | + | = ARB8 = |
− | + | This primitive is formed in POV-Ray using mesh.The mesh object can be used to efficiently store large numbers of triangles. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Example: | Example: | ||
− | + | mesh{triangle{a,b,c}triangle{a,c,d}triangle{a,d,f} | |
+ | triangle{g,h,c}triangle{e,f,g}triangle{e,g,h}} | ||
− | + | = Particle = | |
This primitives of BRL-CAD is formed in POV-Ray by using Round_Cone2 of POV-Ray. | This primitives of BRL-CAD is formed in POV-Ray by using Round_Cone2 of POV-Ray. | ||
Example: | Example: | ||
Line 100: | Line 51: | ||
//point A, radius A: <0,0,0>,0.70, | //point A, radius A: <0,0,0>,0.70, | ||
// point B, radius B:<0,1,0>, 0.40,) | // point B, radius B:<0,1,0>, 0.40,) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |