Hello Johannes,

Johannes Brunen wrote:
> 1. I use a gradient background in my scene but it is not tiled at all. I 
> will have to investigate what is really happening...

have you set bg->setTile(true) ?

> 2. The Image class does allocate a continous buffer for the whole image at 
> once. This does not scale very well and leads rather fast to memory 
> exhaustion. A better solution would be to write the tile data in a stream 
> like manner. Or a special image class which does hold its buffer on disk 
> instead of the main memory.

hm, you could save the tiles as separate files, then you'd only need an 
Image the size of a single tile. There is hopefully some smart image 
processing library that can create on large file from a number of small 
ones?
However, does that even help with printing? I mean can the printing APIs 
deal with not getting the whole image at once?

> 3. The image generation process is visible to the end user. This is an 
> application specific problem. I would have to create a separate 'printing' 
> window which is not visible to the application user.

yup, FBO... *runs and hides* ;)

> I did not know about the TileCameraDecorator class and its application. 
> OpenSG does really have a lot to offer. Problem is often to uncover the 
> hidden treasures.

        Cheers,
                Carsten

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to