Soren Vorre Therkildsen (svorre++at++daimi.au.dk)
Tue, 8 Jun 1999 11:12:18 +0200 (MDT)
On Wed, 2 Jun 1999
Daniela Rainer wrote:
>
> our VR application has a state problem in multipipe mode.
>
> The VR renderer for scientific visualization dynamically
> creates polygon/tristrip/line/point objects (isosurfaces,
> cuttingsurfaces ...). Additionally it draws other geometry like
> coordinate systems, menues and interactors. Some of the interactors
> are loaded by the iv loader.
>
> Sometimes suddenly the apperance of some of the objects changes on
> one stereo eye.
> For example on 3 windows of the CAVE objects are lighted
> ambient and diffuse and for one window in one stereo channel
> some of the objects appear only ambient.
> Probably the material changes but it could be also the light source.
>
> Each geoset has a full geostate with a front and back material
> thus shouldn't inherit any state attributes.
>
I think I have the exact same problem. I am also running
Performer 2.2.3 on an Onyx2 IR system, with two displays
mostly running in stereo.
We first saw the problem, when we started using a new interface,
where we can rotate, translate and scale our model. In our case
the problem occurs, when we display models with a lot of geometry,
and we try to scale the model down. Suddenly most of the geomtry
turns bright allmost white, but only on one screen and only one
of the stereo channels (Not allways the same channel or screen).
Only object with a pure color like pure red, green or blue,
do not turn bright white.
It looks to me as if my single pfLight has been turned up to a
very high intensity. I have tried to set my light to
Sun->setColor(PFLT_DIFFUSE, 100.0f, 100.0f, 100.0f );
This gives almost exactly the same effect, execpt it
happens on all four channels.
The model I am trying to visualise is loaded from several different
.pfb files, which have been converted from .iv and .obj with
pfconv, if that is relevant in any way.
Larry Ramey wrote:
> Try a pfFlushState called from a draw call back. Try it in various
> places, I noticed that a loaded model file (performer town) destroyed
> the GL state of MY graphical objects, but pfFlushState fixed it
> immedeately.
I do not know if this was an answer to Daniela's mail but I have tried
to add pfFlushState() in my draw callback, but that did not seem to
help.
Does anyone have any suggestions.
Sincerly yours
Søren Vorre
This archive was generated by hypermail 2.0b2 on Tue Jun 08 1999 - 02:12:26 PDT