writing config.eqc

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

writing config.eqc

rarum
This post has NOT been accepted by the mailing list yet.
Hy.. Long time i am trying to write configuration file for small cluster can you help me with this ?
I have 3 nodes (computers)
2 projectors (for stereo rendering)
first projector is connected to node 1 and second projector to node 2
node 3 has no monitor or projector but have graphic card.
My idea is
1 node render first 1/3 of (stereo) of screen
2 node render second 1/3 (stereo) of screen
3 node render last 1/3 of (stereo) screen

I am using stereo in mode LEFT and RIGHT eye not anaglyph
It is posible to divide rendering into this configuration ?
I have some attempts with config examples but not working correctly .
Thanks for reply.
Reply | Threaded
Open this post in threaded view
|

Re: writing config.eqc

rarum
This post has NOT been accepted by the mailing list yet.
global
{
    #EQ_WINDOW_IATTR_HINT_FULLSCREEN ON
}

server
{
    connection { hostname "147.232.176.157" port 5050 }
    config
    {
        appNode
        {
            connection { hostname "147.232.176.157" port 5151 }
            pipe
            {
                window
                {
                    viewport [0 0.75 1 0.25]
                 name "Left SMall"
                    attributes
                {
                #hint_drawable pbuffer
                hint_fullscreen OFF  
                }
                   
                    channel { name "channel1" }
                }
                               
        window
                {
                viewport [0 0.75 1 0.25]
                name "Right SMall"
                    attributes
                {
                #hint_drawable pbuffer
                hint_fullscreen OFF  
                }
                   
                    channel { name "channel4" }
                }
            }
        }
        node
        {
        name "Left"
            connection { hostname "147.232.176.157" port 5252 }
            pipe
           {
             window
             {
                viewport [ 0 0 1024 768 ]
                attributes
                {
                #hint_drawable pbuffer
                }
                                       
                channel { name "channel2" }
            }
                               
        }
        }
        node
        {
            connection { hostname "147.232.176.157" port 5353 }
            pipe
        {
                window
                {
                        name "Right"
                        viewport [ 0 0 1024 768 ]
                        attributes
                        {
                        #hint_drawable pbuffer
                        }
                        channel { name "channel3" }}
                }
        }

        observer{}
        layout{ view { mode STEREO observer 0 }}
        canvas
        {
            layout 0
            wall{}
             segment { viewport [ 0  0 1 1 ] eye [ LEFT ] channel "channel2" }
            segment { viewport [ 0 0 1 1 ] eye [ RIGHT ] channel "channel3" }
        }
                compound
                {
                        compound
                        {   #left
                                channel  ( segment 0 view 0 )

                                compound
                                {
                                        viewport [ 0 0 1 .75 ]
                                }
                                compound
                                {
                                        channel "channel1"
                                        viewport [ 0 .75 1 .25 ]
                                        outputframe {}
                                }
                                inputframe { name "frame.channel1" }
                        }
                        compound
                        {
                                #right
                                channel  ( segment 1 view 0 )

                                compound
                                {
                                        viewport [ 0 0 1 .75 ]
                                }
                                compound
                                {
                                        channel "channel4"
                                        viewport [ 0 .75 1 .25 ]
                                        outputframe {}
                                }
                                inputframe { name "frame.channel4" }
                        }
                }
    }    
}
I write something like this it's work bad but I don't know why ... final window for left eye is OK but final window for right eye still has part of left screen instead of right screen
And how big is advantage in dividing rendering between 3 computer instead of 2 in my purpose ?
or can be total rendering slower than on 2 computers ?
Reply | Threaded
Open this post in threaded view
|

Re: writing config.eqc

Stefan Eilemann
In reply to this post by rarum
Hi,

On 5. Apr 2013, at 0:11, rarum [via Software] <[hidden email]> wrote:

> I have 3 nodes (computers)
> 2 projectors (for stereo rendering)
> My idea is
> 1 node render first 1/3 of (stereo) of screen
> 2 node render second 1/3 (stereo) of screen
> 3 node render last 1/3 of (stereo) screen

Your best shot would probably be to use the three GPUs to render the two segments using cross-segment load-balancing. Have a look at the configs with a view_equalizer and the EGPGV paper to understand how it works.


HTH,

Stefan.