On 2010-06-17 12:10, Johannes Brunen wrote:
> Hello Marcus,
>
> "Marcus Lindblom"<ma...@yar.nu>  schrieb im
> Newsbeitrag news:hvcjae$r9...@dough.gmane.org...
>>
>> Not that I know any specifics, but what is the difference between
>> rendering to a printing context compared to just rendering to a big
>> in-memory texture/image, save that to a file and print that?
>>
> First, the printing context is not supported by the graphics hardware.
> Secondly, the printing device can be much larger than a in memory
> texture/image buffer. This problem can only(?) be avoided by applying some
> tiling/pattern mechanism.

I see. Tiling is what my code does. It creates a huge OSG:Image and then 
renders smaller tiles that are copied back to the image, to allow for a 
final size larger than what the GPU framebuffer can hold.

>> http://www.opensg.org/attachment/wiki/PotentialContributions/sgutil.zip
>>
> Thank you Marcus, I will have a look into the code.

Okies.

Cheers,
/Marcus


------------------------------------------------------------------------------
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