Module raytracer

Class Intersections.SphereLocalVariables

java.lang.Object
de.grogra.ray.intersection.Intersections.SphereLocalVariables
Enclosing class:
Intersections

public static class Intersections.SphereLocalVariables extends Object
This class is used to speed up the sphere intersection calculation. An other advantage of it is to split the whole intersection calculation an only run the second part if necessary.
  • Field Details

    • transparencyInput

      public final RTShader.TransparencyInput transparencyInput
    • u

      public float u
    • v

      public float v
    • invers_ray

      public Ray invers_ray
    • dg

      public Vector3f dg
    • g

      public Vector3f g
    • a

      public float a
    • b

      public float b
    • c

      public float c
    • D

      public float D
    • invers_t

      public float invers_t
    • t

      public float t
    • t_index

      public int t_index
    • invers_point

      public Point3f invers_point
    • point

      public Point3f point
    • center

      public Point3f center
    • normal

      public Vector3f normal
    • x

      public float x
    • z

      public float z
  • Constructor Details

    • SphereLocalVariables

      public SphereLocalVariables()