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 77: Line 77:
 
Example:
 
Example:
 
       cylinder { <0, 1, 0>,<1, 2, 3>,0.5 }}
 
       cylinder { <0, 1, 0>,<1, 2, 3>,0.5 }}
 
== 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.
 
 
== RPC ==
 
Right Parabolic Cylinder in BRL-CAD. Coordinates are exported successfully. It also formed by the using functions of POV-Ray.
 
  
 
= Other Solids =
 
= Other Solids =
 
 
== Torus ==
 
== Torus ==
 
Torus is created using
 
Torus is created using
Line 100: Line 91:
 
     //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 98:
 
       plane { <Normal>, Distance }
 
       plane { <Normal>, Distance }
  
== BOT ==
+
 
Bag of triangles in BRL-CAD. Its exported by using triangles in POV-Ray.
 
  
  
Line 116: Line 107:
 
       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 120:
 
== derived from 2d ==
 
== derived from 2d ==
  
 +
=== extrude ===
 
=== revolve ===
 
=== revolve ===
 
=== dsp ===
 
=== dsp ===
Line 136: Line 134:
 
=== 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)