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 void
build()
This method does nothing, but may be overriden to create scenes procedurally.private void
buildCornellBox()
private void
sphere(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, include, inspect, 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:SunflowAPI
This method does nothing, but may be overriden to create scenes procedurally.- Overrides:
build
in 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)
-
-