[info-performer] Unable to set view per channel in a pfviewer (lib pfx)

New Message Reply Date view Thread view Subject view Author view

From: Brian Cooper (brian.cooper++at++jpl.nasa.gov)
Date: 07/26/2002 14:52:50


Dear Performers,

I am using a pfViewer to show multiple channels with the intention of
having different views of our scenegraph set in each channel. I was
unable to set the view per channel via
 view->getChannel(i)->setView(view.xyz, view.hpr); and can only set the
view for the whole viewer. I then discovered this code in
pfViewerManager.C at line 429 (in the simFrame method):

for(y=0, numChannels = viewer->getNumChannels(); y<numChannels; y++)
      viewer->getChannel(y)->setView(viewer->getView().xyz,
viewer->getView().hpr);

This seems to blatantly override any per channel view setting that might
have been done by the user, and forces all channels to one view. Short
of hacking this and using my own custom pfViewerManager does anyone have
a work around.

After hearing of the new development in pfx (Siggraph), with
manipulators etc, I am eager to get this new functionality but need to
proceed with my current version asap. By the way I am using OpenGL
Performer 2.5. Has this been changed at all in 2.5.1?
Thanks,

-- 

Brian K. Cooper - Jet Propulsion Lab - Pasadena CA - (818)-354-6298 brian.cooper++at++jpl.nasa.gov

Signature in Stereo (free view, diverge eyes): X X ZKSCZFYKDXNLORWVZKSCZFYKDXNLORWVZKSCZFYKDXNLORWVZKSCZFYKDXNLORWVZKSCZFYKDXNLORWV FWAVBMYQCLXJRGNTFWABMYQCQLXJRGTFWHABMYQJLXJVRGTFHABMYUQCLXVRGTFHOABYUQCLXWVRGTFH GRTUFHNBDTZFQATQGRUFHNBDTRZFQTQGRUYFHNBTRZFQETQGUYFHNBQTRZQEHTQGUYFNBXQTZQXEHTQG UQPDMMSKSJDOXNCSUQDMSMSKSJDONCVSUDMRSMKSZJDNCNVSDMSRSKSSZJNCFNVSDMSSKLSSJNSCFNVS JBAHAWXSALESVWDBJBHALWXSALESWDSBJHAQLWSAPLEWDKSBHAIQLSAMPLWDKSBHDAILSAMPLJWDKSBH ZXDEIWQMWXOUWGUKZXEIKWQMWXOUGUMKZEIFKWMWJXOGUQMKEIFKWMIWJXGUWQMKEIFWMKIWXGYUWQMK NWIZZTYXXEHTUVRTNWZZTYXXEKHTURTNWZLZTYXEKHTUQRTNZLSZTYXEKHUQGRTNZLSTYAXEHUXQGRTN UHOMSMYSZWBYWWYVUHOSMYSZTWBYWWVUHEOSMYSZWBYEWWVUEIOSMYSZWBEWWVUEZIOMYASZBEFWWVUE UMTMEBOJVWXKQLIIUMTMEBOJVWXKQLIIUMTMEBOJVWXKQLIIUMTMEBOJVWXKQLIIUMTMEBOJVWXKQLII


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jul 26 2002 - 14:51:47 PDT

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