Package org.sunflow
Class Benchmark.BenchmarkScene
- java.lang.Object
-
- org.sunflow.SunflowAPI
-
- org.sunflow.Benchmark.BenchmarkScene
-
- All Implemented Interfaces:
SunflowAPIInterface
- Enclosing class:
- Benchmark
private class Benchmark.BenchmarkScene extends SunflowAPI
-
-
Field Summary
-
Fields inherited from class org.sunflow.SunflowAPI
DEFAULT_OPTIONS, VERSION
-
-
Constructor Summary
Constructors Constructor Description BenchmarkScene()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild()This method does nothing, but may be overriden to create scenes procedurally.private voidbuildCornellBox()private voidsphere(java.lang.String name, java.lang.String shaderName, float x, float y, float z, float radius)-
Methods inherited from class org.sunflow.SunflowAPI
camera, compile, create, currentFrame, currentFrame, geometry, getBounds, getTextureCache, include, instance, light, lookupGeometry, lookupModifier, lookupShader, modifier, options, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, plugin, remove, render, reset, resolveIncludeFilename, resolveTextureFilename, runSystemCheck, searchpath, shader, translate
-
-
-
-
Method Detail
-
build
public void build()
Description copied from class:SunflowAPIThis method does nothing, but may be overriden to create scenes procedurally.- Overrides:
buildin classSunflowAPI
-
buildCornellBox
private void buildCornellBox()
-
sphere
private void sphere(java.lang.String name, java.lang.String shaderName, float x, float y, float z, float radius)
-
-