[info-performer] Trackball resetPivot()

New Message Reply Date view Thread view Subject view Author view

From: Rémy Deslignes (rdeslignes++at++silicon-worlds.fr)
Date: 02/12/2003 08:53:25


  Hi,

I have a strange feeling about the pfvmTrackball :

I use it with the following config scene :

<?xml version="1.0" ?>

<viewer>

<Module>
  <class>pfvmLoader</class>
  <data>
    <model>
        <filename>earth.pfb</filename>
    </model>
  </data>
</Module>

<Module>
  <class>pfvmTrackball</class>
</Module>
      
</viewer>

But , once loaded, my trackball is not centered at the center of the
earth ( which is , of course, a sphere ) ...
As the trackball should perform a resetPivot() ( which " will update eye
orientation so that view vector points towards the center of scene's
bounding box, and lastly, will adjust pivot distance such that pivot is
placed exactly at the center of scene's bounds." ( dixit the man pages )
) , is there a reason why my sphere is not centered ?

I'm using PF 3.0 on a (windows) box.

PfThanks() for any PfHelp*

Rémy


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 12 2003 - 08:54:23 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.