####################################################################
vcamera -ortho
vviewparams -scale 1e-8
-vfrustumculling 0
+vrenderparams -frustumculling off
if { [test3d 1e-7] != 1 } {
puts "Error: 3D projection test failed: camera is orthographic, view frustum culling is OFF"
####################################################################
vcamera -ortho
vviewparams -scale 1e-8
-vfrustumculling 1
+vrenderparams -frustumculling on
if { [test3d 1e-7] != 1 } {
puts "Error: 3D projection test failed: camera is orthographic, view frustum culling is ON"
# Test camera with less starting distance 1.0 to avoid jittering. #
####################################################################
vcamera -persp
-vfrustumculling 0
+vrenderparams -frustumculling off
if { [test3d 1.0] != 1 } {
puts "Error: 3D projection test failed: camera is perspective, view frustum culling is OFF"
# Test camera with less starting distance 1.0 to avoid jittering. #
####################################################################
vcamera -persp
-vfrustumculling 1
+vrenderparams -frustumculling on
if { [test3d 1.0] != 1 } {
puts "Error: 3D projection test failed: camera is perspective, view frustum culling is ON"