C# Class Hyperion.Core.Interfaces.GeometricPrimitive

Inheritance: IPrimitive
显示文件 Open project: Kintaro/Hyperion Class Usage Examples

Public Methods

Method Description
GeometricPrimitive ( IShape shape, IMaterial material, AreaLight areaLight ) : System
GetBsdf ( DifferentialGeometry dg, Transform objectoToWorld ) : BSDF
GetBssrdf ( DifferentialGeometry dg, Transform objectToWorld ) : BSSRDF
Intersect ( Ray ray, Intersection &isect ) : bool
IntersectP ( Ray ray ) : bool
Refine ( List &refined ) : void

Method Details

GeometricPrimitive() public method

public GeometricPrimitive ( IShape shape, IMaterial material, AreaLight areaLight ) : System
shape IShape
material IMaterial
areaLight AreaLight
return System

GetBsdf() public method

public GetBsdf ( DifferentialGeometry dg, Transform objectoToWorld ) : BSDF
dg Hyperion.Core.Geometry.DifferentialGeometry
objectoToWorld Transform
return Hyperion.Core.Reflection.BSDF

GetBssrdf() public method

public GetBssrdf ( DifferentialGeometry dg, Transform objectToWorld ) : BSSRDF
dg Hyperion.Core.Geometry.DifferentialGeometry
objectToWorld Transform
return BSSRDF

Intersect() public method

public Intersect ( Ray ray, Intersection &isect ) : bool
ray Hyperion.Core.Geometry.Ray
isect Intersection
return bool

IntersectP() public method

public IntersectP ( Ray ray ) : bool
ray Hyperion.Core.Geometry.Ray
return bool

Refine() public method

public Refine ( List &refined ) : void
refined List
return void