Uses of Class
org.sunflow.core.Ray
Packages that use Ray
Package
Description
-
Uses of Ray in org.sunflow.core
Methods in org.sunflow.core that return RayModifier and TypeMethodDescriptionCamera.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.CameraLens.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.final RayShadingState.getRay()Gets the ray that is associated with this state.LightSample.getShadowRay()Get the sample's shadow ray.Create a new ray by transforming the supplied one by the given matrix.Methods in org.sunflow.core with parameters of type RayModifier and TypeMethodDescriptionvoidAccelerationStructure.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.final voidShadingState.traceDiffusePhoton(Ray r, Color power) Trace a new photon from the current location.final ShadingStateShadingState.traceFinalGather(Ray r, int i) Trace a final gather ray and return the intersection result as a new render statefinal ColorShadingState.traceGlossy(Ray r, int i) Returns the color obtained by recursively tracing the specified ray.final ColorShadingState.traceReflection(Ray r, int i) Returns the color obtained by recursively tracing the specified ray.final voidShadingState.traceReflectionPhoton(Ray r, Color power) Trace a new photon from the current location.final ColorShadingState.traceRefraction(Ray r, int i) Returns the color obtained by recursively tracing the specified ray.final voidShadingState.traceRefractionPhoton(Ray r, Color power) Trace a new photon from the current location.final 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 RayModifier and TypeMethodDescriptionvoidBoundingIntervalHierarchy.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 RayModifier and TypeMethodDescriptionFisheyeLens.getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time) PinholeLens.getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time) SphericalLens.getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time) ThinLens.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 RayModifier and TypeMethodDescriptionvoidImageBasedLight.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 RayModifier and TypeMethodDescriptionvoidBackground.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)