java.lang.Object
de.grogra.ray.event.ProgressNotifier
de.grogra.ray.Raytracer
- Direct Known Subclasses:
PhotonMapRaytracer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final String
static final int
static final int
static final int
static final int
protected Antialiasing
protected IntersectionProcessor
protected LightProcessor
protected RayProcessor
protected int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
enableDebugPixel
(int x, int y, boolean markPixel) static RTLight[]
int
int
static RTObject[]
getShadeables
(RTScene scene) static float
protected String
percentToString
(double percent) protected void
prepareRaytracing
(RTScene scene, RTCamera camera) void
protected void
raytracing
(BufferedImage image) void
renderScene
(RTScene scene, RTCamera camera, BufferedImage image) void
setAntialisingPolicy
(int policy) void
setBrightnessScaleFactor
(float value) void
setIntersectionPolicy
(int policy) void
setLightModel
(int policy) void
setPathtracingPathCount
(int value) void
setPriority
(int value) void
setRaytracingDepth
(int value) void
setRaytracingPolicy
(int policy) Methods inherited from class de.grogra.ray.event.ProgressNotifier
addProgressListener, fire_progressChanged, removeProgressListener
-
Field Details
-
NO_ANTIALISING
public static final int NO_ANTIALISING- See Also:
-
ADAPTIVE_SUPERSAMPLING
public static final int ADAPTIVE_SUPERSAMPLING- See Also:
-
STOCHASTIC_SUPERSAMPLING
public static final int STOCHASTIC_SUPERSAMPLING- See Also:
-
CONVENTIONAL_RAYTRACING
public static final int CONVENTIONAL_RAYTRACING- See Also:
-
PATHTRACING_MT
public static final int PATHTRACING_MT- See Also:
-
BIDIRECTIONAL_PATHTRACING
public static final int BIDIRECTIONAL_PATHTRACING- See Also:
-
PATHTRACING_HS
public static final int PATHTRACING_HS- See Also:
-
PHOTONMAPPING
public static final int PHOTONMAPPING- See Also:
-
NAIVE_INTERSECTION
public static final int NAIVE_INTERSECTION- See Also:
-
OCTREE_INTERSECTION
public static final int OCTREE_INTERSECTION- See Also:
-
DIRECT_LIGHTS
public static final int DIRECT_LIGHTS- See Also:
-
LOW_PRIORITY
public static final int LOW_PRIORITY- See Also:
-
MEDIUM_PRIORITY
public static final int MEDIUM_PRIORITY- See Also:
-
HIGH_PRIORITY
public static final int HIGH_PRIORITY- See Also:
-
PREPARING_TIMER
- See Also:
-
CALCULATION_TIMER
- See Also:
-
m_antialising
-
m_rayProcessor
-
m_intersectionProcessor
-
m_lightProcessor
-
m_raytracingDepth
protected int m_raytracingDepth
-
-
Constructor Details
-
Raytracer
public Raytracer()
-
-
Method Details
-
setAntialisingPolicy
public void setAntialisingPolicy(int policy) -
setRaytracingPolicy
public void setRaytracingPolicy(int policy) -
setPathtracingPathCount
public void setPathtracingPathCount(int value) -
setIntersectionPolicy
public void setIntersectionPolicy(int policy) -
setLightModel
public void setLightModel(int policy) -
setPriority
public void setPriority(int value) -
getPriority
public int getPriority() -
setRaytracingDepth
public void setRaytracingDepth(int value) -
getRaytracingDepth
public int getRaytracingDepth() -
enableDebugPixel
public void enableDebugPixel(int x, int y, boolean markPixel) -
disableDebugPixel
public void disableDebugPixel() -
setBrightnessScaleFactor
public void setBrightnessScaleFactor(float value) -
renderScene
-
prepareRaytracing
-
raytracing
-
percentToString
-
printStatistics
public void printStatistics() -
getLights
-
getShadeables
-
getT
-