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, render
public YafarayRenderer(Home home, Object3DFactory object3dFactory, AbstractPhotoRenderer.Quality quality) throws java.io.IOException
home
.java.io.IOException
public boolean isAvailable()
AbstractPhotoRenderer
true
if this render is able to run in the current environment.isAvailable
in class AbstractPhotoRenderer
public java.lang.String getName()
getName
in class AbstractPhotoRenderer
public void render(java.awt.image.BufferedImage image, Camera camera, java.util.List<? extends Selectable> updatedItems, java.awt.image.ImageObserver observer) throws java.io.IOException
AbstractPhotoRenderer
image
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 AbstractPhotoRenderer
java.io.IOException
public void stop()
stop
in class AbstractPhotoRenderer
public void dispose()
dispose
in class AbstractPhotoRenderer
protected void finalize()
finalize
in class java.lang.Object
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License