Hi Andreas,

Hm. Yes, that is sort of what I do. I'll give it a try.

/Marcus

Andreas Zieringer wrote:
Hi Marcus,

you can look into OpenSG/Source/Experimental/ShadowMapViewport/OSGShadowMapViewport.cpp in createShadowMaps() there is some code for creating a high resolution shadow map.

Andreas

Hi,

I've been trying on and off for a few days to take really large-resolution screenshots (for use in printed materials) so I need 300-600 dpi, i.e. resolutions larger than 4096x4096.

I thought that a nested for-loop with TileCameraDecorator and GrabForeGround would to the trick but I can't get it to work. Indeed, it seems to be doing somewhat what I want, but it won't behave in all aspects.

So, before I spend another day setting viewport sizes, image sizes and projection matrices, I just would like to check if anyone has done anything like this and could post some code on it.

I would like to make one function that takes a window and a size and outputs a large image.

Very grateful for any help offered.

Best regards,
/Marcus


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to