Changeset 3484


Ignore:
Timestamp:
Mar 11, 2013 3:12:21 PM (7 years ago)
Author:
ldelgass
Message:

Update flow example to use quaternion to configure initial camera angle

Location:
trunk/examples/flow
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/flow/demo2/demo2.tcl

    r1943 r3484  
    2727    output.field.component.style  "-nonuniformcolors {0.0 steelblue4 0.000001 blue 0.01 green  0.1 grey 1.0 white} -markers {1% 2% 3% 5% 8% 10% 20% 50% 80%} -opacity 1"
    2828    output.field.camera.position {
    29         theta 90 phi 0 psi 0 pan-x 0 pan-y 0 zoom 1.0
     29        qw 1 qx 0 qy 0 qz 0 pan-x 0 pan-y 0 zoom 1.0
    3030    }
    3131    output.field.component.extents 2
  • trunk/examples/flow/flowtest.tcl

    r1943 r3484  
    7878    $f2.component.style  "-color rainbow -levels 6 -opacity 1"
    7979    $f2.camera.position {
    80         theta 90 phi 0 psi 0 pan-x 0 pan-y 0 zoom 1.0
     80        qw 1 qx 0 qy 0 qz 0 pan-x 0 pan-y 0 zoom 1.0
    8181    }
    8282    $f2.component.extents 2
Note: See TracChangeset for help on using the changeset viewer.