Thanks four your responses.
Now I am able to run OGS applications with equalizer in two nodes, now I
have another question :). I would like to generate a 180 degree view with
two nodes which have one video card an two outputs respectively; totally
four outputs. I prepared following configuration but when I used it; both
left and right windows generate same two view in each node. What might be
the problem? By the how can I generate achieve same 180 with wall
configuration?
Thanks in advance...
server
{
        config
        {
                node
                {
                        connection 
                        { 
                                hostname "192.168.1.155" 
                                        TCPIP_port 4242 
                        }
                        pipe 
                        { 
                                window 
                                { 
                                        name "LeftWindow"
                                        viewport [ 0 0 2560 1024 ]
                                        attributes{ hint_fullscreen ON }
                                        channel 
                                        { 
                                                name "kanalSol1" 
                                        }
                                        channel 
                                        { 
                                                name "kanalSol2" 
                                        }
                                }
                        }
                }
                node
                {
                        connection 
                        { 
                                hostname "192.168.1.78" 
                                        TCPIP_port 4242 
                        }
                        pipe 
                        { 
                                window 
                                { 
                                        name "RightWindow"
                                        viewport [ 0 0 2560 1024 ]
                                        attributes{ hint_fullscreen ON }
                                        channel 
                                        { 
                                                name "kanalSag1" 
                                        }
                                        channel 
                                        { 
                                                name "kanalSag2" 
                                        }
                                }
                        }
                }
                compound  
                {
                        compound
                        {
                                channel  "kanalSol1"
                                projection
                                {
                                        origin       [ 0 0 0 ]
                                        distance     1
                                        fov          [ 45 40 ]
                                        hpr          [ -90 0 0 ]
                                }
                        }

                        compound
                        {
                                channel  "kanalSol2"
                                        projection
                                {
                                        origin       [ 0 0 0 ]
                                        distance     1
                                                fov          [ 45 40 ]
                                        hpr          [ -45 0 0 ]
                                }
                        }

                        compound
                        {
                                channel  "kanalSag1"
                                projection
                                {
                                        origin       [ 0 0 0 ]
                                        distance     1
                                        fov          [ 45 40 ]
                                        hpr          [ 45 0 0 ]
                                }
                        }

                        compound
                        {
                                channel  "kanalSag2"
                                projection
                                {
                                        origin       [ 0 0 0 ]
                                        distance     1
                                        fov          [ 45 40 ]
                                        hpr          [ 90 0 0 ]
                                }
                        }
                }
        }    
}



santosh-18 wrote:
> 
> Hi
> 
> You need to do some changes in eqOSG to run in multiple node.
> 
> First thing in function InitData::parseCommandLine you need to remove 
> the condition which returns if the model file is not given so that you 
> can run eqOSG in client mode
> Then the in InitData class you need to change the type of variable 
> mModelFileName to std::string
> Now in function InitData::getInstanceData and applyInstanceData you need 
> to replace with the following
> 
> void InitData::getInstanceData( eq::net::DataOStream& stream )
> {
>     int length = mModelFileName.length();
>     stream << mFrameDataID << mLoadModel << length;
> 
>     for(int i = 0; i < length; i++)
>     {
>         stream<<mModelFileName[i];
>     }
> }
> 
> void InitData::applyInstanceData( eq::net::DataIStream& stream )
> {
>     int length;
>     stream >> mFrameDataID >> mLoadModel >> length;
> 
>     for(int i = 0; i < length; i++)
>     {
>         char tmp;
>         stream>>tmp;
>         mModelFileName.push_back(tmp);
>     }
> 
>     EQASSERT( mFrameDataID != EQ_ID_INVALID );
> }
> 
> 
> Now do following steps
> 
> 1. run eqOSG application in client mode on client machines as follows
> eqOSG -- --eq-client --eq-listen <ip>:<port>
> 
> 2.  run eqServer with config file
> 
> 3. run eqOSG with model file. Put the file on both node at same relative 
> location.
> 
> 
> Hope this will help you.
> 
> 
> -- Santosh Gaikwad
> 
> mfuluat wrote:
>> Hi there,
>> Has anyone managed to run eqOsg example (thanks thomas btw :) on two
>> winXp
>> nodes? It works well for 1-node configurations but when I tried i with
>> multiple nodes, in client node I got following errors;
>>
>> C:\>D:\Libs\eqOSG\Release\eqOSG.exe
>> D:\Libs\OpenSceneGraph-2.7.8\OpenSceneGraph-
>> Data-2.6.0\cow.osg -- --eq-client --eq-listen 10.0.0.8:4242
>> 3316 3086432 ..\lib\client\wglEventHandler.cpp:135 Message arrived for
>> unregiste
>> red window
>> 3316 3086432 ..\lib\client\wglEventHandler.cpp:135 Message arrived for
>> unregiste
>> red window
>> 3316 3086432 ..\lib\client\wglEventHandler.cpp:135 Message arrived for
>> unregiste
>> red window
>> 3316 3086432 ..\lib\client\wglEventHandler.cpp:135 Message arrived for
>> unregiste
>> red window
>> 3316 3086432 ..\lib\client\wglEventHandler.cpp:135 Message arrived for
>> unregiste
>> red window
>> 3316 3086432 ..\lib\client\wglEventHandler.cpp:135 Message arrived for
>> unregiste
>> red window
>> 3316 3086432 ..\lib\client\wglEventHandler.cpp:135 Message arrived for
>> unregiste
>> red window
>> 3316 3086432 ..\lib\net\session.cpp:334 Can't find master node for object
>> id
>> 169
>> 30136
>>
>> Thanks in advance.
>>   
> 
> _______________________________________________
> eq-dev mailing list
> [email protected]
> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
> http://www.equalizergraphics.com
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/eqOSG-on-two-nodes-tp2405644p2473200.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.


_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to