Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (conf)
- initialize canvas (0, 0, 0)
- set camera position (0, 0, -10)
- set light source position (5, 10, -5)
- create sphere at position parse_coordinates(src;get("sphere_position")) with radius src;get("sphere_radius")
- create plane at position parse_coordinates(src;get("plane_position")) with normal parse_coordinates(src;get("plane_normal"))
- create box at position parse_coordinates(src;get("box_position")) with dimensions parse_coordinates(src;get("box_dimensions"))
- create cylinder at position parse_coordinates(src;get("cylinder_position")) with radius src;get("cylinder_radius") and height src;get("cylinder_height")
- render image ,true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement