#
# HELP: SYNOPSIS:
# HELP:     colotux/default/windowsetup3d
# HELP:
# HELP: DESCRIPTION:
# HELP:     Set up the 3d standard colotux windows
#

#
# Setup the already existing view as a 3D-Renderer.
#
VIEW_SET Main

#
# Set your preferred rendering mode here. Gradient is fastest.
#
RENDERER_ENGINE Class
RENDERER_MODE Gradient
RENDERER_FINESTEP 6

# draw only when current view
VIEW_DRAWWHENFLAGS |0x04

# You may customize your preferred rendering color here.
# This will be used if no class info is available.
! generic/menu/colorize 32

# Markers should be visible in 3D view, if they are either in plain
# view or only slightly beneath the surface.
MARKER_VIS 5

# Make it bright
LIGHT 10000

# Init the autopilot to use 0x3e as base, i.e. 
# TURNATEND | ROLL | SLIDE | TURN | FORWARD
AUTO 0x3e

RENDERER_FRONTCUT 0
VIEW_SIZE 256
RENDERER_LOADCLUT ${$root.global.dir.clut}/colotuxpal.ppm


#
# Setup the additional window for the outer view
#
VIEW_ADD Outside
VIEW_SET Outside
RENDERER_ENGINE Class
MARKER_VIS 3
RENDERER_FRONTCUT 0 
RENDERER_MODE Gradient
# draw only when current view
VIEW_DRAWWHENFLAGS |0x04

# Make it bright
LIGHT 10000 
RENDERER_LOADCLUT ${$root.global.dir.clut}/colotuxpal.ppm
RENDERER_FINESTEP 6

