photonmap.Reader.ReadRADGeo =========================== .. py:module:: photonmap.Reader.ReadRADGeo Functions --------- .. autoapisummary:: photonmap.Reader.ReadRADGeo.cylinder_vertices photonmap.Reader.ReadRADGeo.read_rad Module Contents --------------- .. py:function:: cylinder_vertices(start, end, rayon) Generate the geometry of a cylinder Parameters ---------- start: Vec3 The center of the first circle of cylinder end: Vec3 The center of the second circle of cylinder rayon: float The radius of these two circles Returns ------- A array of vertices of an cylinder .. py:function:: read_rad(file: str, scale_factor: int, invert_normals: bool) Parse a radiance file (https://radsite.lbl.gov/radiance/framed.html) to a make a plantGL Scene Parameters ---------- file: str the rad filename scale_factor: int The size of geometries. The vertices of geometries is recalculated by dividing their coordinates by this value invert_normals: bool whether to invert the normals or not. Returns ------- A plantGL Scene.