|
XJRT Rendering Toolkit 1.0b06 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.autochthonous.graphics.rt.Renderable
org.autochthonous.graphics.rt.objects.Algebraic
KummerSurface
a class describing a kummer surface - if you need to do a role your own algebraic surface, this is how it's done...
Nested Class Summary |
Nested classes inherited from class org.autochthonous.graphics.rt.objects.Algebraic |
Algebraic.RayPoly |
Field Summary |
Fields inherited from class org.autochthonous.graphics.rt.Renderable |
color, objToRay, rayToObj, selfShadowing, shader |
Method Summary | |
static Algebraic |
getInstance(RMLReader in)
|
void |
getN(Hit hit,
Vector3f n)
Calculate the normal components, this is simply the partial derivitives in x, y, and z. |
protected Algebraic.RayPoly |
getPolynomial(Ray r)
x^{4} + y^{4} + z^{4} + 1 - x^{2} - y^{2} - z^{2} - y^{2}z^{2} - z^{2}x^{2} - x^{2}y^{2} = 0 |
Methods inherited from class org.autochthonous.graphics.rt.objects.Algebraic |
intersections, isIntersected, isShadowing, processParameters |
Methods inherited from class org.autochthonous.graphics.rt.Renderable |
clone, createObjectSpaceRay, getColor, getColor, getShader, hasShader, isSelfShadowing, processObject, readObject, setColor, setColor, setSelfShadowing, setShader, toObjectSpace, toObjectSpace, transform, transformNormal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Algebraic getInstance(RMLReader in) throws java.io.IOException
java.io.IOException
protected Algebraic.RayPoly getPolynomial(Ray r)
getPolynomial
in class Algebraic
public void getN(Hit hit, Vector3f n)
getN
in interface NormalCalculator
getN
in class Algebraic
|
XJRT Rendering Toolkit 1.0b06 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |