Uses of Class
org.sunflow.math.Vector3
-
-
Uses of Vector3 in org.sunflow
Methods in org.sunflow with parameters of type Vector3 Modifier and Type Method Description voidFileSunflowAPI. parameter(java.lang.String name, Vector3 value)voidSunflowAPI. parameter(java.lang.String name, Vector3 value)voidSunflowAPIInterface. parameter(java.lang.String name, Vector3 value)Declare a parameter with the specified name and value. -
Uses of Vector3 in org.sunflow.core
Fields in org.sunflow.core declared as Vector3 Modifier and Type Field Description private Vector3ShadingState. nprivate Vector3ShadingState. ngMethods in org.sunflow.core that return Vector3 Modifier and Type Method Description Vector3Texture. getBump(float x, float y, OrthoNormalBasis basis, float scale)Vector3Ray. getDirection()Creates a vector to represent the direction of the ray.Vector3ShadingState. getGeoNormal()Gets the geometric normal of the current hit point.Vector3ShadingState. getNormal()Get shading normal at the hit point.Vector3Texture. getNormal(float x, float y, OrthoNormalBasis basis)Vector3ParameterList. getVector(java.lang.String name, Vector3 defaultValue)Get the specified vector parameter from this list.private Vector3ParameterList.Parameter. getVector()Vector3ShadingState. transformNormalObjectToWorld(Vector3 n)Transform the given normal from object space to world space.Vector3ShadingState. transformNormalWorldToObject(Vector3 n)Transform the given normal from world space to object space.Vector3ShadingState. transformVectorObjectToWorld(Vector3 v)Transform the given vector from object space to world space.Vector3ShadingState. transformVectorWorldToObject(Vector3 v)Transform the given vector from world space to object space.Methods in org.sunflow.core with parameters of type Vector3 Modifier and Type Method Description floatLightSample. dot(Vector3 v)Compute a dot product between the current shadow ray direction and the specified vector.floatRay. dot(Vector3 v)Computes the dot product of an arbitrary vector with the direction of the ray.voidLightSource. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)Gets a photon to emit from this light source by setting each of the arguments.ColorGlobalPhotonMapInterface. getRadiance(Point3 p, Vector3 n)Lookup the global diffuse radiance at the specified surface point.Vector3ParameterList. getVector(java.lang.String name, Vector3 defaultValue)Get the specified vector parameter from this list.voidPhotonStore. store(ShadingState state, Vector3 dir, Color power, Color diffuse)Store the specified photon.voidShadingState. storePhoton(Vector3 dir, Color power, Color diffuse)Records a photon at the specified location.Vector3ShadingState. transformNormalObjectToWorld(Vector3 n)Transform the given normal from object space to world space.Vector3ShadingState. transformNormalWorldToObject(Vector3 n)Transform the given normal from world space to object space.Vector3ShadingState. transformVectorObjectToWorld(Vector3 v)Transform the given vector from object space to world space.Vector3ShadingState. transformVectorWorldToObject(Vector3 v)Transform the given vector from world space to object space.Constructors in org.sunflow.core with parameters of type Vector3 Constructor Description Ray(Point3 o, Vector3 d)Creates a new ray that points from the given origin to the given direction. -
Uses of Vector3 in org.sunflow.core.gi
Fields in org.sunflow.core.gi declared as Vector3 Modifier and Type Field Description (package private) Vector3InstantGI.PointLight. nprivate Vector3FakeGIEngine. upMethods in org.sunflow.core.gi with parameters of type Vector3 Modifier and Type Method Description private ColorIrradianceCacheGIEngine. getIrradiance(Point3 p, Vector3 n)private voidIrradianceCacheGIEngine. insert(Point3 p, Vector3 n, float r0, Color irr)voidInstantGI.PointLightStore. store(ShadingState state, Vector3 dir, Color power, Color diffuse)Constructors in org.sunflow.core.gi with parameters of type Vector3 Constructor Description Sample(Point3 p, Vector3 n)Sample(Point3 p, Vector3 n, float r0, Color irr) -
Uses of Vector3 in org.sunflow.core.light
Fields in org.sunflow.core.light declared as Vector3 Modifier and Type Field Description private Vector3DirectionalSpotlight. dirprivate Vector3[]ImageBasedLight. lowSamplesprivate Vector3[]TriangleMeshLight. ngsprivate Vector3[]ImageBasedLight. samplesprivate Vector3SunSkyLight. sunDirprivate Vector3SunSkyLight. sunDirWorldMethods in org.sunflow.core.light that return Vector3 Modifier and Type Method Description private Vector3ImageBasedLight. getDirection(float u, float v)private Vector3SunSkyLight. getDirection(float u, float v)Methods in org.sunflow.core.light with parameters of type Vector3 Modifier and Type Method Description private voidImageBasedLight. generateFixedSamples(Vector3[] samples, Color[] colors)private ColorImageBasedLight. getColor(Vector3 dir)voidDirectionalSpotlight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidImageBasedLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidPointLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidSphereLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidSunSkyLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)voidTriangleMeshLight. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power)private ColorSunSkyLight. getSkyRGB(Vector3 dir)private voidImageBasedLight. updateBasis(Vector3 center, Vector3 up) -
Uses of Vector3 in org.sunflow.core.parser
Methods in org.sunflow.core.parser that return Vector3 Modifier and Type Method Description private Vector3SCAbstractParser. parseVector()private Vector3SCParser. parseVector() -
Uses of Vector3 in org.sunflow.core.photonmap
Fields in org.sunflow.core.photonmap declared as Vector3 Modifier and Type Field Description (package private) Vector3GridPhotonMap.PhotonGroup. normalMethods in org.sunflow.core.photonmap with parameters of type Vector3 Modifier and Type Method Description ColorGlobalPhotonMap. getRadiance(Point3 p, Vector3 n)ColorGridPhotonMap. getRadiance(Point3 p, Vector3 n)voidCausticPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse)voidGlobalPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse)voidGridPhotonMap. store(ShadingState state, Vector3 dir, Color power, Color diffuse)Constructors in org.sunflow.core.photonmap with parameters of type Vector3 Constructor Description Photon(Point3 p, Vector3 dir, Color power)Photon(Point3 p, Vector3 n, Vector3 dir, Color power, Color diffuse)PhotonGroup(int id, Vector3 n) -
Uses of Vector3 in org.sunflow.core.primitive
Fields in org.sunflow.core.primitive declared as Vector3 Modifier and Type Field Description private Vector3SphereFlake. axisprivate Vector3Plane. normalMethods in org.sunflow.core.primitive that return Vector3 Modifier and Type Method Description private Vector3Hair. getTangent(int line, int v0, float v)Methods in org.sunflow.core.primitive with parameters of type Vector3 Modifier and Type Method Description voidCornellBox. getPhoton(double randX1, double randY1, double randX2, double randY2, Point3 p, Vector3 dir, Color power) -
Uses of Vector3 in org.sunflow.core.shader
Methods in org.sunflow.core.shader with parameters of type Vector3 Modifier and Type Method Description private floatAnisotropicWardShader. brdf(Vector3 i, Vector3 o, OrthoNormalBasis basis) -
Uses of Vector3 in org.sunflow.core.tesselatable
Methods in org.sunflow.core.tesselatable with parameters of type Vector3 Modifier and Type Method Description private voidBezierMesh. getPatchPoint(float u, float v, float[] ctrl, float[] bu, float[] bv, float[] bdu, float[] bdv, Point3 p, Vector3 n) -
Uses of Vector3 in org.sunflow.math
Fields in org.sunflow.math declared as Vector3 Modifier and Type Field Description private Vector3OrthoNormalBasis. uprivate Vector3OrthoNormalBasis. vprivate Vector3OrthoNormalBasis. wMethods in org.sunflow.math that return Vector3 Modifier and Type Method Description static Vector3Vector3. add(Vector3 v1, Vector3 v2, Vector3 dest)static Vector3Vector3. cross(Vector3 v1, Vector3 v2, Vector3 dest)static Vector3Vector3. decode(short n)static Vector3Vector3. decode(short n, Vector3 dest)Vector3Vector3. div(float d)Vector3Vector3. div(float d, Vector3 dest)Vector3BoundingBox. getExtents()Gets the extents vector for the box.Vector3Vector3. mul(float s)Vector3Vector3. mul(float s, Vector3 dest)Vector3Vector3. negate()Vector3Vector3. negate(Vector3 dest)static Vector3PerlinVector. noise(float x)static Vector3PerlinVector. noise(float x, float y)static Vector3PerlinVector. noise(float x, float y, float z)static Vector3PerlinVector. noise(float x, float y, float z, float t)static Vector3PerlinVector. noise(Point2 p)static Vector3PerlinVector. noise(Point3 p)static Vector3PerlinVector. noise(Point3 p, float t)static Vector3Point3. normal(Point3 p0, Point3 p1, Point3 p2)static Vector3Point3. normal(Point3 p0, Point3 p1, Point3 p2, Vector3 dest)Vector3Vector3. normalize()Vector3Vector3. normalize(Vector3 dest)static Vector3PerlinVector. pnoise(float x, float period)static Vector3PerlinVector. pnoise(float x, float y, float w, float h)static Vector3PerlinVector. pnoise(float x, float y, float z, float w, float h, float d)static Vector3PerlinVector. pnoise(float x, float y, float z, float t, float w, float h, float d, float p)static Vector3PerlinVector. pnoise(Point2 p, float periodx, float periody)static Vector3PerlinVector. pnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static Vector3PerlinVector. pnoise(Point3 p, Vector3 period)Vector3Vector3. set(float x, float y, float z)Vector3Vector3. set(Vector3 v)static Vector3PerlinVector. snoise(float x)static Vector3PerlinVector. snoise(float x, float y)static Vector3PerlinVector. snoise(float x, float y, float z)static Vector3PerlinVector. snoise(float x, float y, float z, float t)static Vector3PerlinVector. snoise(Point2 p)static Vector3PerlinVector. snoise(Point3 p)static Vector3PerlinVector. snoise(Point3 p, float t)static Vector3PerlinVector. spnoise(float x, float period)static Vector3PerlinVector. spnoise(float x, float y, float w, float h)static Vector3PerlinVector. spnoise(float x, float y, float z, float w, float h, float d)static Vector3PerlinVector. spnoise(float x, float y, float z, float t, float w, float h, float d, float p)static Vector3PerlinVector. spnoise(Point2 p, float periodx, float periody)static Vector3PerlinVector. spnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static Vector3PerlinVector. spnoise(Point3 p, Vector3 period)static Vector3Point3. sub(Point3 p1, Point3 p2, Vector3 dest)static Vector3Vector3. sub(Vector3 v1, Vector3 v2, Vector3 dest)Vector3OrthoNormalBasis. transform(Vector3 a)Vector3OrthoNormalBasis. transform(Vector3 a, Vector3 dest)Vector3Matrix4. transformTransposeV(Vector3 v)Computes (this^T)*v and returns the result as a new Vector3 object.Vector3Matrix4. transformV(Vector3 v)Computes this*v and returns the result as a new Vector3 object.Vector3OrthoNormalBasis. untransform(Vector3 a)Vector3OrthoNormalBasis. untransform(Vector3 a, Vector3 dest)Methods in org.sunflow.math with parameters of type Vector3 Modifier and Type Method Description static Point3Point3. add(Point3 p, Vector3 v, Point3 dest)static Vector3Vector3. add(Vector3 v1, Vector3 v2, Vector3 dest)static Vector3Vector3. cross(Vector3 v1, Vector3 v2, Vector3 dest)static Vector3Vector3. decode(short n, Vector3 dest)Vector3Vector3. div(float d, Vector3 dest)static floatVector3. dot(Vector3 v1, Vector3 v2)static Matrix4Matrix4. lookAt(Point3 eye, Point3 target, Vector3 up)Creates a camera positioning matrix from the given eye and target points and up vector.static OrthoNormalBasisOrthoNormalBasis. makeFromW(Vector3 w)static OrthoNormalBasisOrthoNormalBasis. makeFromWV(Vector3 w, Vector3 v)Vector3Vector3. mul(float s, Vector3 dest)Vector3Vector3. negate(Vector3 dest)static Vector3Point3. normal(Point3 p0, Point3 p1, Point3 p2, Vector3 dest)Vector3Vector3. normalize(Vector3 dest)static floatPerlinScalar. pnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static floatPerlinScalar. pnoise(Point3 p, Vector3 period)static Vector3PerlinVector. pnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static Vector3PerlinVector. pnoise(Point3 p, Vector3 period)Vector3Vector3. set(Vector3 v)static floatPerlinScalar. spnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static floatPerlinScalar. spnoise(Point3 p, Vector3 period)static Vector3PerlinVector. spnoise(Point3 p, float t, Vector3 pperiod, float tperiod)static Vector3PerlinVector. spnoise(Point3 p, Vector3 period)static Vector3Point3. sub(Point3 p1, Point3 p2, Vector3 dest)static Vector3Vector3. sub(Vector3 v1, Vector3 v2, Vector3 dest)Vector3OrthoNormalBasis. transform(Vector3 a)Vector3OrthoNormalBasis. transform(Vector3 a, Vector3 dest)Vector3Matrix4. transformTransposeV(Vector3 v)Computes (this^T)*v and returns the result as a new Vector3 object.Vector3Matrix4. transformV(Vector3 v)Computes this*v and returns the result as a new Vector3 object.Vector3OrthoNormalBasis. untransform(Vector3 a)Vector3OrthoNormalBasis. untransform(Vector3 a, Vector3 dest)floatOrthoNormalBasis. untransformX(Vector3 a)floatOrthoNormalBasis. untransformY(Vector3 a)floatOrthoNormalBasis. untransformZ(Vector3 a)Constructors in org.sunflow.math with parameters of type Vector3 Constructor Description Vector3(Vector3 v)
-