View source: R/write_scene_to_obj.R
write_scene_to_obj | R Documentation |
Writes the current scene to a Wavefront OBJ file, with or without materials
write_scene_to_obj(scene, filename, materials = TRUE, fileext = ".obj")
scene |
A rayvertex scene. |
filename |
The filename for the OBJ file. |
materials |
Default |
fileext |
Default |
None
if(run_documentation()) {
tmpfile = tempfile(fileext = ".obj")
write_scene_to_obj(generate_cornell_mesh(), tmpfile)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.