Last change
on this file since 295 was 286, checked in by campagne, 19 years ago |
ELYSE sauvegarde provisoire (JEC)
|
File size:
1.4 KB
|
Rev | Line | |
---|
[286] | 1 | <!--
|
---|
| 2 | The orientation field of an SoCamera defines
|
---|
| 3 | a rotation from the default position, that is to say
|
---|
| 4 | a camera looking toward -z axis with up along y axis.
|
---|
| 5 | -->
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 | <widget class="CascadeButton">
|
---|
| 9 | <label>Camera</label>
|
---|
| 10 | <widget class="Menu">
|
---|
| 11 | <widget class="MenuItem">
|
---|
| 12 | <label>Front (+z)</label>
|
---|
| 13 | <activate exec="DLD">OnX region_setNode type SoCamera height 70000 position 0 0 70000 orientation 0 1 0 0</activate>
|
---|
| 14 | </widget>
|
---|
| 15 | <widget class="MenuItem">
|
---|
| 16 | <label>Back (-z)</label>
|
---|
| 17 | <activate exec="DLD">OnX region_setNode type SoCamera height 70000 position 0 0 -70000 orientation 0 1 0 3.14</activate>
|
---|
| 18 | </widget>
|
---|
| 19 | <widget class="MenuItem">
|
---|
| 20 | <label>Side +z at left</label>
|
---|
| 21 | <activate exec="DLD">OnX region_setNode type SoCamera height 70000 position 70000 0 0 orientation 0 1 0 1.57</activate>
|
---|
| 22 | </widget>
|
---|
| 23 | <widget class="MenuItem">
|
---|
| 24 | <label>Side +z at right</label>
|
---|
| 25 | <activate exec="DLD">OnX region_setNode type SoCamera height 70000 position -70000 0 0 orientation 0 1 0 -1.57</activate>
|
---|
| 26 | </widget>
|
---|
| 27 | <widget class="MenuItem">
|
---|
| 28 | <label>Top</label>
|
---|
| 29 | <activate exec="DLD">OnX region_setNode type SoCamera height 70000 position 0 70000 0 orientation 1 0 0 -1.57</activate>
|
---|
| 30 | </widget>
|
---|
| 31 | <widget class="MenuItem">
|
---|
| 32 | <label>Dump</label>
|
---|
| 33 | <activate exec="DLD">OnX region_dumpCamera</activate>
|
---|
| 34 | </widget>
|
---|
| 35 | </widget>
|
---|
| 36 | </widget>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.