Thanks a lot, Carsten,

Your code is very helpful~

2009/5/29 Carsten Neumann <[email protected]>

>        Hello Jie Liu,
>
> Jie Liu wrote:
>
>> I am using OpenSG v1.8.0,
>>
>> and I implemented the server/client framework according to the 'Cluster'
>> chapter of tutorial;
>>
>
> are you using the Tutorials/12ClusterServer.cpp and
> Tutorials/13ClusterClient.cpp or did you reimplement them yourself?


I compiled the code from Developers' Document (HTML version,  the cluster
chapter) .


>
>  I have a problem, that the client window is always black, even though the
>> server window display a turos;
>>
>
> for the MultiDisplayWindow this is intended, the client runs the
> application/simulation/interaction part and the servers produce images on a
> tiled display for example.
>
>  So how can I show the turos on both server window and client window? I
>> thank that will be more intuitive for users.
>>
>
> you can give the MultiDisplayWindow a client window that it can use to
> render locally (of course that means your client now needs a lot more
> resources than before).
>
>  BTW, I tried to use setSize/resize method to change window  size at
>> runtime, but seems nothing is took into force.
>>
>
> on the server windows this should work fine (it does for me with the
> tutorials), for the client window the reshape callback does not pass the
> information to the SimpleSceneManager.
> I've attached a modified 13ClusterClient.cpp that renders locally on the
> client.
>
>  How can I achieve that? And how can I remove the frame border of the
>> server window?
>>
>
> that depends on the toolkit you use to create the window (e.g. X11, glut,
> Qt), with glut I think the best you can do is call glutFullScreen().


I tried glutFullScreen(), yes it works in some sense. It

>
>
>        Cheers,
>                Carsten
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>


-- 
Jie Liu
Visualization Research Group
Center for Information Science, School of EECS,
Room 2104, Science Building No.2,
Peking University, Beijing 100871, China
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to