Hi, thanks for all the hints..

Currently, we are setting all those things up, and the stereo is _not_
working...
I have being looking at the implementation of the BalancedMultiWindow. It
is a very complex and long implementation, so my conclusions about it might
be wrong. However, It seems that it doesnt have stereo support right now.
Mainly, for two reasons (I believe):

The duplication of the client viewports at the server is done at the
function calculateServerPort(), near line 900 of the
OSGBalancedMultiWindow.cpp, by the following instruction:
 serverPort = Viewport::create();

Isnt it possible to do it like in the MultiDisplayWindow? (
OSGMultiDisplayWindow.cpp, line 191):
 serverPort = ViewportPtr::dcast(getPort()[cv]->shallowCopy());

This would create a viewport of the same type of the client (a StereoBVP
when appropriate). However, I think it would fix the problem only for those
viewports rendered locally.

I think that the second issue is the same of the SortFirstWindow. For those
viewports that are received from the network, they are being drawed at the
end of the drawSendAndRecv() function, but the setup of the correct buffer
is not done before the glDrawPixels().. So Dirk, I think that those
activate()/deactivate() methods for the viewports would come in handy
in this situation also.

I dont know if these conclusions are right.. mainly because I didnt
understand the whole implementation of the BalancedMW yet..  What do you
think? Are those points making sense?

Thanks in advance.
Olavo.





On 2/8/07, Dirk Reiners <[EMAIL PROTECTED]> wrote:


       Hi Marcus,

Marcus Roth wrote:
>
> With the BalancedMultwindow you have to set the following field values
> accurate.
>
> hServers,vServers  Number of vertical and horizontal display servers
> size               the summed resolution of all display servers
>
> The MultidisplayWindow can guess some values for this fields, but as the
> Balanced window muts be able to transfers pixel areas to the right
> destination, this values must match exaclty
>
> The number of servers can be larger then hServers x vServers. The
> remaining servers are used as pure rendering servers.
>
> e.g. if you have 2 projectors wiht a 1280 x 1024 resolution you have to
> set hServers=2, vServers=1, size 2560,1024. If you want to use 4 servers
> to render to this two projectors you an set servers =
> [projHost1,projHost2,
> otherHost1,otherHost2]

I think the question was more targeted at stereo than general workings.
Does the
RMW support stereo viewports?

       Dirk

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to