How can I save a display by using "recorder display"?
When I write:
"recorder display 1 10 10 300 300 -file figure.bmp",
there comes a window on my screen, but only a fraction of a second and the file "figure.bmp" doesn't exist.
recorder display
Moderators: silvia, selimgunay, Moderators
you can try these commands.
##=============================
recorder display DispShape 10 20 800 800 -wipe
# next three commmands define viewing system, all values in global coords
vrp 50.0 50.0 0 # point on the view plane in global coord, center of local viewing system
vup 0 1 0 # dirn defining up direction of view plane
vpn 0 0 1 # direction of outward normal to view plane
# next three commands define view, all values in local coord system
prp 0 0 2500 # eye location in local coord sys defined by viewing system
viewWindow -2500 2500 -500 3000 # view bounds uMin, uMax, vMin, vMax in local coords
plane 0 150 # distance to front and back clipping planes from eye
projection 0 # projection mode
port -1 1 -1 1 # area of window that will be drawn into
fill 1 # fill mode
projection 0
display 2 0 10
##=============================
recorder display DispShape 10 20 800 800 -wipe
# next three commmands define viewing system, all values in global coords
vrp 50.0 50.0 0 # point on the view plane in global coord, center of local viewing system
vup 0 1 0 # dirn defining up direction of view plane
vpn 0 0 1 # direction of outward normal to view plane
# next three commands define view, all values in local coord system
prp 0 0 2500 # eye location in local coord sys defined by viewing system
viewWindow -2500 2500 -500 3000 # view bounds uMin, uMax, vMin, vMax in local coords
plane 0 150 # distance to front and back clipping planes from eye
projection 0 # projection mode
port -1 1 -1 1 # area of window that will be drawn into
fill 1 # fill mode
projection 0
display 2 0 10