Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 870 Bytes

cuboid.rst

File metadata and controls

26 lines (17 loc) · 870 Bytes

Cuboids

Cuboids

Cuboid example script:

  • Geometry: :pygeometry.ConvexPolyhedron <fresnel.geometry.ConvexPolyhedron>: outline_width = 0.015

    • :pymaterial <fresnel.material.Material>: roughness = 0.1, specular = 1, metal = 0, spec_trans = 0
    • :pyoutline_material <fresnel.material.Material>: roughness = 0.1, metal = 1, spec_trans = 0, color = (0.95,0.93,0.88)
    • position, orientation: output of a HOOMD simulation
  • Lighting: :pylight.lightbox <fresnel.light.lightbox>
  • Rendered with: :pytracer.Path <fresnel.tracer.Path>: samples = 256, light_samples = 16

Source code

cuboid.py

Author

Joshua A. Anderson