Andrew Bailey (andrew++at++csunb0.leeds.ac.uk)
Wed, 02 Dec 1998 18:21:01 +0000
We are having problems getting a three projector system to display the correct view from
each projector. I originally had a setup as follows... 1 pfPipe, 1 pfPipeWindow and 3
channels (forward, left and right) with forward being a master channel. I then added the
scene, fov, EarthSky etc.. to the master channel. I then simply panned the left and right
cameras to create an overall field of view of 120 degrees, 40 from each channel. I used
the setViewport command to specify which part of the pipeWindow each channel should be
displaying in. This works OK, as I get a window with 3 channels and the 3 viewports, but
the views I get from the left and right are wrong. The views are OK to a certain extent
but if I am viewing, for example, a straight line which is on all 3 views, the line is
skewed at the channel joins (see attachment) where it should be straight.
Can someone clarify the correct order to setup pipes/windows/channels? Is there a specific
order? At the moment I am doing: pfGetPipe, then creating a new pfPipeWindow, then I
simply created 3 channels (Am I right in thinking I do not have to add them to the
pfPipeWindow as it automatically assigns them to the first pfPipeWindow?)
Our multichannel option uses a 1920x1240 window which is split like so...
+--------------------+
| | |
| RIGHT | REAR |
| | |
| | |
|--------------------|
| | |
| | |
| LEFT | CENTRE |
| | |
+--------------------+
Any ideas? Should I be using pfFrustum::makePersp instead? If so how?
Sorry about all the questions!
thanks,
Andrew
This archive was generated by hypermail 2.0b2 on Wed Dec 02 1998 - 10:23:54 PST