Table of Contents ▸ List of Commands ▸ Image Drawing ▸ object3d | ◀ newton_fractal | pack_sprites ▶ |
object3d | Built-in command |
Arguments:
- [object3d],_x[%],_y[%],_z,_opacity,_rendering_mode,_is_double_sided={ 0:No | 1:Yes },_is_zbuffer={ 0:No | 1:Yes },_focale,_light_x,_light_y,_light_z,_specular_lightness,_specular_shininess,_is_multithreaded_rendering={ 0:No | 1:Yes }
Description:
Draw specified 3D object on selected images.(equivalent to shortcut command j3d).
rendering_mode can be { 0:Dots | 1:Wireframe | 2:Flat | 3:Flat-shaded | 4:Gouraud-shaded | 5:Phong-shaded }.
Default values:
x=y=50%, z=0, opacity=1 and is_zbuffer=1. All other arguments take their default values
from the 3D environment variables.Example of use:
image.jpg torus3d 100,10 cone3d 30,-120 add3d[-2,-1] rotate3d. 1,1,0,60 object3d[0] [-1],50%,50% keep[0]
