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
Fields in org.sunflow.core declared as Ray Modifier and Type Field Description private RayShadingState. rprivate RayLightSample. shadowRayMethods 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.(package private) RayCamera. getRay(Point3 p, float time)Generate a ray from the origin of camera space toward the specified point.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 (package private) static ShadingStateShadingState. createDiffuseBounceState(ShadingState previous, Ray r, int i)(package private) static ShadingStateShadingState. createFinalGatherState(ShadingState state, Ray r, int i)(package private) static ShadingStateShadingState. createGlossyBounceState(ShadingState previous, Ray r, int i)(package private) static ShadingStateShadingState. createPhotonState(Ray r, IntersectionState istate, int i, PhotonStore map, LightServer server)(package private) static ShadingStateShadingState. createReflectionBounceState(ShadingState previous, Ray r, int i)(package private) static ShadingStateShadingState. createRefractionBounceState(ShadingState previous, Ray r, int i)(package private) static ShadingStateShadingState. createShadowState(ShadingState previous, Ray r)(package private) static ShadingStateShadingState. createState(IntersectionState istate, float rx, float ry, float time, Ray r, int i, int d, LightServer server)(package private) ShadingStateLightServer. getRadiance(float rx, float ry, float time, int i, int d, Ray r, IntersectionState istate, ShadingCache cache)voidAccelerationStructure. intersect(Ray r, IntersectionState istate)Intersect the specified ray with the geometry in local space.(package private) voidGeometry. intersect(Ray r, IntersectionState state)(package private) voidInstance. intersect(Ray r, IntersectionState state)voidInstanceList. intersectPrimitive(Ray r, int primID, IntersectionState state)voidPrimitiveList. intersectPrimitive(Ray r, int primID, IntersectionState state)Intersect the specified primitive in local space.(package private) voidShadingState. setRay(Ray r)voidLightSample. setShadowRay(Ray shadowRay)Set the current shadow ray.(package private) voidScene. trace(Ray r, IntersectionState state)(package private) voidScene. traceBake(Ray r, IntersectionState state)(package private) voidLightServer. traceDiffusePhoton(ShadingState previous, Ray r, Color power)voidShadingState. traceDiffusePhoton(Ray r, Color power)Trace a new photon from the current location.(package private) ShadingStateLightServer. traceFinalGather(ShadingState previous, Ray r, int i)ShadingStateShadingState. traceFinalGather(Ray r, int i)Trace a final gather ray and return the intersection result as a new render state(package private) ColorLightServer. traceGlossy(ShadingState previous, Ray r, int i)ColorShadingState. traceGlossy(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.(package private) ColorLightServer. traceReflection(ShadingState previous, Ray r, int i)ColorShadingState. traceReflection(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.(package private) voidLightServer. traceReflectionPhoton(ShadingState previous, Ray r, Color power)voidShadingState. traceReflectionPhoton(Ray r, Color power)Trace a new photon from the current location.(package private) ColorLightServer. traceRefraction(ShadingState previous, Ray r, int i)ColorShadingState. traceRefraction(Ray r, int i)Returns the color obtained by recursively tracing the specified ray.(package private) voidLightServer. traceRefractionPhoton(ShadingState previous, Ray r, Color power)voidShadingState. traceRefractionPhoton(Ray r, Color power)Trace a new photon from the current location.(package private) ColorLightServer. traceShadow(Ray r, ShadingState previous)(package private) ColorScene. traceShadow(Ray r, IntersectionState state)ColorShadingState. traceShadow(Ray r)Trace a shadow ray against the scene, and computes the accumulated opacity along the ray.Constructors in org.sunflow.core with parameters of type Ray Constructor Description ShadingState(ShadingState previous, IntersectionState istate, Ray r, int i, int d, boolean ignoreHalton) -
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)private booleanTriangleMeshLight. intersectTriangleKensler(int tri3, Ray r) -
Uses of Ray in org.sunflow.core.primitive
Methods in org.sunflow.core.primitive with parameters of type Ray Modifier and Type Method Description (package private) voidTriangleMesh.WaldTriangle. intersect(Ray r, int primID, IntersectionState state)private voidSphereFlake. intersectFlake(Ray r, IntersectionState state, int level, float qa, float qaInv, float cx, float cy, float cz, float dx, float dy, float dz, float radius)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.BakingSurface. intersectPrimitive(Ray r, int primID, IntersectionState state)voidTriangleMesh. intersectPrimitive(Ray r, int primID, IntersectionState state)private voidTriangleMesh. intersectTriangleKensler(Ray r, int primID, IntersectionState state)
-