public class YafarayRenderer extends AbstractPhotoRenderer
AbstractPhotoRenderer.Quality| Constructor and Description |
|---|
YafarayRenderer(Home home,
Object3DFactory object3dFactory,
AbstractPhotoRenderer.Quality quality)
Creates an instance ready to render the scene matching the given
home. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes temporary data that may be required to run this renderer.
|
protected void |
finalize() |
java.lang.String |
getName() |
boolean |
isAvailable()
Returns
true if this render is able to run in the current environment. |
void |
render(java.awt.image.BufferedImage image,
Camera camera,
java.util.List<? extends Selectable> updatedItems,
java.awt.image.ImageObserver observer)
Renders home in
image at the given camera location and image size. |
void |
stop()
Stops the rendering process.
|
createInstance, getAvailableRenderers, getHome, getQuality, getRenderingParameterValue, renderpublic YafarayRenderer(Home home, Object3DFactory object3dFactory, AbstractPhotoRenderer.Quality quality) throws java.io.IOException
home.java.io.IOExceptionpublic boolean isAvailable()
AbstractPhotoRenderertrue if this render is able to run in the current environment.isAvailable in class AbstractPhotoRendererpublic java.lang.String getName()
getName in class AbstractPhotoRendererpublic void render(java.awt.image.BufferedImage image,
Camera camera,
java.util.List<? extends Selectable> updatedItems,
java.awt.image.ImageObserver observer)
throws java.io.IOException
AbstractPhotoRendererimage at the given camera location and image size.
The home objects listed in updatedItems will be updated in the renderer,
allowing animations or modifications of their appearance.render in class AbstractPhotoRendererjava.io.IOExceptionpublic void stop()
stop in class AbstractPhotoRendererpublic void dispose()
dispose in class AbstractPhotoRendererprotected void finalize()
finalize in class java.lang.Object

© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License