Enrico wrote:
> Hi opensg friends,
>
> i am back on my former screenshots problem.
> I am running OpneSG in client-server mode,
> with the client setting up the scene and controlling the navigation and the
> server simply executing the render itself.
>
> I want to take screenshots of the remote scene and save the images back to
> the client. Doing it via the GrabForeGround ends up in client-side empty
> pngs. Just to be sure that the foregrounds are working, I paired to the grab
> Foreground a FileGrabForeground, which saves pngs remotely without a
> problem.
> [snip]
> Does anyone can find a reason why I can't get the pixmaps locally? 
> I'd like to get 'em back to the client cause the final goal is to shrink all
> the pngs to a single AVI (since I don't seem to be able to get the
> avforeground working)
>   
I'd wager a guess (no guarantees):

Since GrabForeground downloads the image (via glReadPixels) to the 
server image, that aspect/data is never sync:ed back to the client (data 
usually goes the other way, right? ) ?

Writing it as a file on the server is ok since it's actually "there".

Lookign at GrabForeGround::draw() there is also no CPEdit() on the 
image, so that might be it (i.e. you must do a workaround and register 
the image data as changed), if you're actually able to get any data back 
(check that first).

Hope it helps,
/Marcus

P.S. I really want to do some clustering work someday. It seems pretty 
kool.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to