> 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).
Yes. Sounds right. Could you try to check this?
> However, I think it would fix the problem only for
> those
> viewports rendered locally.
>
This could be handled in drawSendAndRecv. Each workpackage contains the
viewport number. With this it is possible to assing the right buffer.
while(wI != _cluster.workpackages.end())
{
// !!! get viewport wI->viewportId
// check for stereo buffer
// activate correct buffer
channel = groupConn->selectChannel();
do
{
groupConn->get(&tile,sizeof(Tile::Header));
if(tile.header.last)
{
> 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.
>
this would be solved by activating the right buffer before recv.
> 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?
>
Currently I'm not able to do any development in OpenSG, but I think you
should be able to fix this problem. I'll try to help you by mail.
Marcus
> 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
>
-------------------------------------------------------------------------
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