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 8: Line 8:
  
 
= Primitives that are working properly =  
 
= Primitives that are working properly =  
= Arbitrary convex polyhedra =
+
== Arbitrary convex polyhedra ==
 
== ARB8 ==
 
== ARB8 ==
 
This primitive is formed in POV-Ray using mesh.The mesh object can be used to efficiently store large numbers of triangles.
 
This primitive is formed in POV-Ray using mesh.The mesh object can be used to efficiently store large numbers of triangles.
Line 25: Line 25:
  
  
= Ellipsoids =
+
== Ellipsoids ==
== ELL ==
 
 
This primitive is named as spheroid in POV-Ray. It is having
 
This primitive is named as spheroid in POV-Ray. It is having
 
Center Vector, Radius Vector
 
Center Vector, Radius Vector
Line 49: Line 48:
  
  
= Cones and Cylinders =
+
== Cones and Cylinders ==
 
== Truncated General Cone ==
 
== Truncated General Cone ==
 
This primitive of BRL-CAD is formed by using Supercone of POV-Ray.  
 
This primitive of BRL-CAD is formed by using Supercone of POV-Ray.  
Line 69: Line 68:
 
Its exported nuder TGC.
 
Its exported nuder TGC.
  
== TRC ==
+
== tec ==
 +
Its also exported under TGC.
 +
 
 +
== trc ==
 
Its also under TGC
 
Its also under TGC
  
Line 78: Line 80:
 
       cylinder { <0, 1, 0>,<1, 2, 3>,0.5 }}
 
       cylinder { <0, 1, 0>,<1, 2, 3>,0.5 }}
  
== RHC ==
+
== Other Solids ==
Right Hyperbolic Cylinder in BRL-CAD. Coordinates are exported successfully. It can be formed by using function
 
      function { pow(x,2) + y }
 
of POV-Ray.
 
 
 
== RPC ==
 
Right Parabolic Cylinder in BRL-CAD. Coordinates are exported successfully. It also formed by the using functions of POV-Ray.
 
 
 
= Other Solids =
 
 
 
 
== Torus ==
 
== Torus ==
 
Torus is created using
 
Torus is created using
Line 100: Line 93:
 
     //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,)
 +
  
 
== half ==
 
== half ==
Line 106: Line 100:
 
       plane { <Normal>, Distance }
 
       plane { <Normal>, Distance }
  
== BOT ==
+
 
Bag of triangles in BRL-CAD. Its exported by using triangles in POV-Ray.
 
  
  
Line 116: Line 109:
 
       f_torus(x,y,z,1*(y+0.4),0.1 )
 
       f_torus(x,y,z,1*(y+0.4),0.1 )
  
== extrude ==
+
 
Currently, data of extrude is exported successfully. Remaining part is how to export sketch and relate it with extrude.
+
== RHC ==
 +
Right Hyperbolic Cylinder in BRL-CAD. Coordinates are exported successfully. It can be formed by using function
 +
      function { pow(x,2) + y }
 +
of POV-Ray but its not working well. Its under discussion with POV-Ray community
 +
 
 +
== RPC ==
 +
Right Parabolic Cylinder in BRL-CAD. Coordinates are exported successfully. It also formed by the using functions of POV-Ray but under work.
  
 
= Primitives that are not under work yet =
 
= Primitives that are not under work yet =
Line 123: Line 122:
 
== derived from 2d ==
 
== derived from 2d ==
  
 +
=== extrude ===
 
=== revolve ===
 
=== revolve ===
 
=== dsp ===
 
=== dsp ===
Line 136: Line 136:
 
=== spline ===
 
=== spline ===
 
=== vol ===
 
=== vol ===
 +
=== bot ===
 
=== poly ===
 
=== poly ===
 
=== hrt ===
 
=== hrt ===

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)