java.lang.Object
de.grogra.task.Task
de.grogra.ray2.tracing.PixelwiseRenderer
de.grogra.ray2.tracing.BidirectionalRenderer
- All Implemented Interfaces:
Renderer
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.ray2.tracing.PixelwiseRenderer
PixelwiseRenderer.RenderTask, PixelwiseRenderer.Result
-
Field Summary
Fields inherited from class de.grogra.ray2.tracing.PixelwiseRenderer
antialiasing, ANTIALIASING, AUTO_ADJUST, AUTO_ADJUST_MAX_VALUE, autoAdjust, autoAdjustMaxValue, brightness, BRIGHTNESS, camera, cameraTransformation, DEBUG_LINE, DEBUG_PIXEL, DEBUG_SUBPIXEL, DEBUG_X, DEBUG_Y, hdr, HDR, hdrPixels, height, image, imageUpdateDistance, imageUpdateRate, lineState, maxValue, monitor, observer, originalScene, RAYPROCESSOR, REMOVE_OUTLIERS, removeOutliers, renderedLines, rgbaPixels, seed, SEED, THREAD_COUNT, threadCount, width
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]
getPixelsForLine2Vertex
(Environment env, Point3d vertex) void
void
mergeCausticMap
(CausticMap localMap) void
render
(Scene scene, Sensor camera, Matrix4d cameraTransformation, int width, int height, ImageObserver obs) Renders an image of ascene
.protected void
renderLines
(Antialiasing antialiasing, IntList lines, PixelwiseRenderer.Result res) Methods inherited from class de.grogra.ray2.tracing.PixelwiseRenderer
createLocalSolver, dispose, done, getAdjustFactor, getAutoAdjust, getBooleanOption, getBrightness, getCamera, getCameraTransformation, getClassOption, getNumericOption, getScene, getSeed, initialize, luminance, merge, nextPartialTask, removeOutliers, setAntialiasing, setAutoAdjust, setAutoAdjustMaxValue, setBrightness, setHDR, setMessage, setThreadCount, toIntColor, toRGBA
Methods inherited from class de.grogra.task.Task
addSolver, finishSolve, getSolverCount, getSolvers, isSolving, isStopped, partialTaskDone, prepareSolve, removeSolver, removeSolvers, solve, stop
-
Constructor Details
-
BidirectionalRenderer
public BidirectionalRenderer()
-
-
Method Details
-
render
public void render(Scene scene, Sensor camera, Matrix4d cameraTransformation, int width, int height, ImageObserver obs) Description copied from interface:Renderer
Renders an image of ascene
.- Specified by:
render
in interfaceRenderer
- Overrides:
render
in classPixelwiseRenderer
- Parameters:
scene
- scene to rendercamera
- camera to usecameraTransformation
- transformation from camera coordinates to world coordinateswidth
- width of imageheight
- height of imageobs
- the observer receives the image data
-
renderLines
- Overrides:
renderLines
in classPixelwiseRenderer
-
mergeCausticMap
-
mergeCaustic2Image
public void mergeCaustic2Image() -
getPixelsForLine2Vertex
-