Description Usage Value Author(s) Examples
Constructs an R object that holds POVRay object descriptions, and methods to save and render the scene.
1 2 3 4 5 6 7 8 9 10 11 12 13 | myScene = Scene()
## Method to save scene to a .POV file.
myScene$save(path = filename)
## Method to push an object into the scene.
myScene$push(object = object)
## Method to add arbitrary code to scene.
myScene$add(text = text)
## Method to render scene in POVRay.
myScene$render(width = 640, height=400)
|
Returns an environment of class Scene.
Grant Williamson (g.williamson@gmail.com)
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.