write_scene_to_obj {rayvertex} | R Documentation |
Write the scene to an OBJ file
Description
Writes the current scene to a Wavefront OBJ file, with or without materials
Usage
write_scene_to_obj(scene, filename, materials = TRUE, fileext = ".obj")
Arguments
scene |
A rayvertex scene. |
filename |
The filename for the OBJ file. |
materials |
Default |
fileext |
Default |
Value
None
Examples
if(run_documentation()) {
tmpfile = tempfile(fileext = ".obj")
write_scene_to_obj(generate_cornell_mesh(), tmpfile)
}
[Package rayvertex version 0.11.4 Index]