#
# HELP: SYNOPSIS:
# HELP:     planeview/default/windowinit
# HELP:
# HELP: DESCRIPTION:
# HELP:     Set up the standard planeview window parameters 
#

VIEW_SET Main
#
# You may set your preferred rendering threshold here.
#
RENDERLUT_SIMPLE 250


# Set up common parameters
! threeplane/views_runmacro planeview/default/planesetup
# Set up initial sizes automatically. y may be any size
! threeplane/views_autosize_byreality 1024 10000
# Set the scaling
! planeview/default/setscaling
# Make everything visible
layer 0-255 0

#
# Make the primary view current.
#
VIEW_SET Main
#
# Set it up to render greyvalues
#
RENDERER_ENGINE Grey
RENDERLUT_SIMPLE 250
RENDERER_FINESTEP 6
RENDERER_LOADCLUT ${$root.global.dir.clut}/standard.ppm
ZOOM 120
PV_MAKEDIST 0

#
# Place the Camera nicely
#
POS ${$root.vol[current].size.x/2.0+.0000000001} ${-$root.vol[current].size.y} ${$root.vol[current].size.z/2.0+.0000000001}
DIR 0 1 0 1 0 0

# Place windows nicely
VIEW_SET Planes_XY
VIEW_RENDER
VIEW_SETPOS 0 60
VIEW_RENDER
USLEEP 500000
VIEW_REORIENT
VIEW_RENDER  

