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. An additional reason that the win32 memory 
printing context was formely used is that it allows to easily render GDI 
graphics into the very same context. This, however, is not used by my code.

> That's what I did a few years ago when we needed print-quality images of
> 3D-scenes. The code for that is still here, but it probably needs some
> tweaks to work in 2.0:
>
> http://www.opensg.org/attachment/wiki/PotentialContributions/sgutil.zip
>
Thank you Marcus, I will have a look into the code.

Best,
Johannnes




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