Uses of Class
org.sunflow.core.Ray
-
Packages that use Ray Package Description org.sunflow.core org.sunflow.core.accel org.sunflow.core.camera org.sunflow.core.light org.sunflow.core.primitive -
-
Uses of Ray in org.sunflow.core
Methods in org.sunflow.core that return Ray Modifier and Type Method Description RayCamera. getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, float time)Generate a ray passing though the specified point on the image plane.RayCameraLens. getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time)Create a newrayto be cast through pixel (x,y) on the image plane.RayShadingState. getRay()Gets the ray that is associated with this state.RayLightSample. getShadowRay()Get the sample's shadow ray.RayRay. transform(Matrix4 m)Create a new ray by transforming the supplied one by the given matrix.Methods in org.sunflow.core with parameters of type Ray Modifier and Type Method Description voidAccelerationStructure. intersect(Ray r, IntersectionState istate)Intersect the specified ray with the geometry in local space.voidPrimitiveList. intersectPrimitive(Ray r, int primID, IntersectionState state)Intersect the specified primitive in local space.voidLightSample. setShadowRay(Ray shadowRay)Set the current shadow ray.voidShadingState. traceDiffusePhoton(Ray r, Color power)Trace a new photon from the current location.ShadingStateShadingState. traceFinalGather(Ray r, int i)Trace a final gather ray and return the intersection result as a new render stateColorShadingState. traceGlossy(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.ColorShadingState. traceReflection(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.voidShadingState. traceReflectionPhoton(Ray r, Color power)Trace a new photon from the current location.ColorShadingState. traceRefraction(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.voidShadingState. traceRefractionPhoton(Ray r, Color power)Trace a new photon from the current location.ColorShadingState. traceShadow(Ray r)Trace a shadow ray against the scene, and computes the accumulated opacity along the ray. -
Uses of Ray in org.sunflow.core.accel
Methods in org.sunflow.core.accel with parameters of type Ray Modifier and Type Method Description voidBoundingIntervalHierarchy. intersect(Ray r, IntersectionState state)voidKDTree. intersect(Ray r, IntersectionState state)voidNullAccelerator. intersect(Ray r, IntersectionState state)voidUniformGrid. intersect(Ray r, IntersectionState state) -
Uses of Ray in org.sunflow.core.camera
Methods in org.sunflow.core.camera that return Ray Modifier and Type Method Description RayFisheyeLens. getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time)RayPinholeLens. getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time)RaySphericalLens. getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time)RayThinLens. getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time) -
Uses of Ray in org.sunflow.core.light
Methods in org.sunflow.core.light with parameters of type Ray Modifier and Type Method Description voidImageBasedLight. intersectPrimitive(Ray r, int primID, IntersectionState state)voidSunSkyLight. intersectPrimitive(Ray r, int primID, IntersectionState state) -
Uses of Ray in org.sunflow.core.primitive
Methods in org.sunflow.core.primitive with parameters of type Ray Modifier and Type Method Description voidBackground. intersectPrimitive(Ray r, int primID, IntersectionState state)voidBanchoffSurface. intersectPrimitive(Ray r, int primID, IntersectionState state)voidBox. intersectPrimitive(Ray r, int primID, IntersectionState state)voidCornellBox. intersectPrimitive(Ray r, int primID, IntersectionState state)voidCubeGrid. intersectPrimitive(Ray r, int primID, IntersectionState state)voidCylinder. intersectPrimitive(Ray r, int primID, IntersectionState state)voidHair. intersectPrimitive(Ray r, int primID, IntersectionState state)voidJuliaFractal. intersectPrimitive(Ray r, int primID, IntersectionState state)voidParticleSurface. intersectPrimitive(Ray r, int primID, IntersectionState state)voidPlane. intersectPrimitive(Ray r, int primID, IntersectionState state)voidQuadMesh. intersectPrimitive(Ray r, int primID, IntersectionState state)voidSphere. intersectPrimitive(Ray r, int primID, IntersectionState state)voidSphereFlake. intersectPrimitive(Ray r, int primID, IntersectionState state)voidTorus. intersectPrimitive(Ray r, int primID, IntersectionState state)voidTriangleMesh. intersectPrimitive(Ray r, int primID, IntersectionState state)
-