Hi marcus, hi antonio,

tank for all these suggestions.
Let me explain a little better the problem.

Right now I have a big scene loaded up inside a 
multiviewport and then shared between various servers.

I'd like to get a very big image of the scene rendered by the front 
server, so I may print it without loosing too much quality. Right now
the only solution that I've found is to make a copy of all the geometries on
an
auxiliary viewport, local on the client machine and then use the tiled
camera 
to render the huge image.

It works, but it's far from efficient nor fast. 

So I was just wondering if there were a way to use the same idea of the 
Tiledcamera + grabforeground directly on the server machines.

Thanks,
E.

-----Messaggio originale-----
Da: Marcus Lindblom [mailto:[email protected]] 
Inviato: martedì 10 febbraio 2009 12.17
A: [email protected]
Oggetto: Re: [Opensg-users] hi res screenshots and cluster servers

Antonio Bleile wrote:
> 
> 
> On Mon, Feb 9, 2009 at 6:42 PM, Marcus Lindblom 
> <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Volker Settgast wrote:
>      > Enrico Borrione schrieb:
>      >> I have a client-server application and I'd like to
>      >> save an high res screenshot of the remote viewport (i.e
3200x2000)..
>      >> Since I am already using a tiledcameradecorator
>      >> as remote camera, I thought that it wouldn't be much of a problem
>      >> putting up the hi res code inside this app...
>      >>
>      >> But, it seems like that the GrabForeground won't work in a
>      >> remote environment. Until today I was using a FileGrabForeground
>      >> for the custom screenshot (limited to the server's resolution)
>      >> but I don't think that it can be reused for this purpose.
>      >>
>      >> Does anyone have a solution for this trouble? Am I missing
>     something?
>      >>
>      >>
>      >
>      > Try the FBOViewport for that. You are limited only by Your graphics
>      > hardwares max. texture size (should be at least 4096x4096 in todays
>      > hardware).
>      > This viewport could be used either in Your server or in the
>     client. For
>      > using decorators You have to set "IgnoreCameraDecorators" in the
>      > FBOViewport to false.
> 
>     I have submitted a contrib that uses tiledcameradecorator to take
>     mulitple screenshots, then assemble them into something huge. It's on
>     the contrib page on the wiki.
> 
>     Someone did use that, but at the state it is on the wiki, it needs
some
>     work to use.
> 
>     I think it was Anthony Bleile (spl?), or maybe someone else, but I
>     haven't seen him on the list anymore.
> 
> 
> Hehe.... Still here, not actively involved in OpenSG anymore though...
> I think the main problem is that you need to transfer
> the pixel data from the remote server to the client, which is AFAIK not
> possible natively in OpenSG. Si I'd guess that you need a little hack
> to do a composited screenshot in a clustering environment.

Right. But if you only need one screenshot, rendering a few frames on 
the server is ok. If you're taking multiple screenshots you need more 
performance, but is that the case here?

Is it important to generate the images on the clients?

Cheers,
/Marcus


----------------------------------------------------------------------------
--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to