Yeah I figured that was the case with the culling.

I am trying to get a screenshot with a 1:1 ratio, kind of like a level 
editor can save a shot, but without zoom so I don't lose quality and 
detail. I've tried messing with viewport and projection settings, but seems 
the GL buffer still can't go outside that. The screenshot produced shows 
the correct dimensions of the viewport, but only the window part has 
anything on it, the rest ends up black.

On Sunday, October 29, 2017 at 4:59:18 AM UTC-5, Benjamin Moran wrote:
>
> Hi Charles,
>
> I don't think there are any GL buffers that would normally have this image 
> data, because the GPU would cull this off-screen data from the final 
> fragment rasterization. 
>
> Are you trying to just capture the data to save a screen shot, or do a 
> mini map type effect? 
>
> I would guess that most level editors simply render the scene twice. The 
> main view, and a second view with different viewport and projection 
> settings. That would be zoomed out in this case. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to