|
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.Renderer
Field Summary | |
protected Background |
background
|
protected Viewer |
camera
|
protected boolean |
clamp
|
protected float |
currentTimeSlice
|
protected int |
currentY
|
protected int |
endX
|
protected int |
endY
|
protected static float |
FACTOR
|
protected float |
focalDistance
|
protected int |
hitMovingObj
|
protected Vector3f |
inc
|
protected boolean |
jitter
|
protected float |
lensRadius
|
protected int |
midX
|
protected int |
midY
|
protected float |
pixelGap
|
protected RandomTable |
rand
|
static int |
RGB
|
static int |
RGBA
|
static int |
RGBAO
|
protected SampleMask |
sampleMask
|
protected int |
samplesPerPixel
|
protected int |
screenH
|
protected int |
screenW
|
protected int |
startX
|
protected int |
startY
|
protected int |
timeSamplesPerPixel
|
protected Matrix4f |
trans
|
protected World |
world
|
Constructor Summary | |
protected |
Renderer()
|
Method Summary | |
void |
doRender(int format,
java.io.OutputStream out)
|
Background |
getBackground()
get the background for this renderer. |
int |
getImageDepth()
|
int |
getImageHeight()
|
int |
getImageWidth()
|
float |
getRandNum()
|
World |
getWorld()
get "world" for this renderer. |
boolean |
renderLineByLine(int format,
java.io.OutputStream out)
|
void |
setBackground(Background background)
set the background for this renderer. |
void |
setClamp(boolean clamp)
set whether, or not, to clamp (clamping is the process of truncating overilluminated pixels back to 1). |
void |
setImageSize(int xSize,
int ySize)
set the size of the image. |
void |
setJittering(boolean jitter)
|
void |
setObjects(Illuminated objs)
set the object environment to be used by this renderer. |
void |
setSamplesPerPixel(int samplesPerPixel)
set the number of samples taken for antialiasing. |
void |
setTimeSamplesPerPixel(int samplesPerPixel)
set the number of temporal samples per pixel. |
void |
setViewer(Viewer camera)
|
void |
setWindow(int x,
int y,
int xLen,
int yLen)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static float FACTOR
protected Viewer camera
protected World world
protected int screenW
protected int screenH
protected int midX
protected int midY
protected int startX
protected int startY
protected int endX
protected int endY
protected int currentY
protected float pixelGap
protected int hitMovingObj
protected float currentTimeSlice
protected int samplesPerPixel
protected int timeSamplesPerPixel
protected boolean jitter
protected boolean clamp
public static final int RGB
public static final int RGBA
public static final int RGBAO
protected RandomTable rand
protected Background background
protected Vector3f inc
protected Matrix4f trans
protected float lensRadius
protected float focalDistance
protected SampleMask sampleMask
Constructor Detail |
protected Renderer()
Method Detail |
public void setObjects(Illuminated objs)
objs
- the world we are trying to render.public World getWorld()
public void setBackground(Background background)
background
- the background to use.public Background getBackground()
public void setClamp(boolean clamp)
clamp
- true if we should, false otherwise.public void setImageSize(int xSize, int ySize)
xSize
- image size in x (width).ySize
- image size in y (height).public void setWindow(int x, int y, int xLen, int yLen)
public void setSamplesPerPixel(int samplesPerPixel)
public void setTimeSamplesPerPixel(int samplesPerPixel)
public void setJittering(boolean jitter)
public void setViewer(Viewer camera)
public float getRandNum()
public int getImageWidth()
public int getImageHeight()
public int getImageDepth()
public void doRender(int format, java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public boolean renderLineByLine(int format, java.io.OutputStream out) throws java.io.IOException
java.io.IOException
|
XJRT Rendering Toolkit 1.0b06 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |