Re: [PyOpenGL-Users] More difficulties with framebuffers
Brought to you by:
mcfletch
From: Derakon <de...@gm...> - 2010-12-17 21:25:02
|
I took a look at your code, but it looks like you're doing this all "manually" while I'm trying to leverage OpenGL to do the work for me. The basic flow of my code is: Main render function: if zoomed far out: render each megatile in view else: render each individual tile in view Add new tile function: find megatile(s) that this tile overlaps render tile to megatiles Something is going wrong in the "render to megatile" code, since when I render the megatile later in the main render function, its scale is off. But I can't figure out why. -Chris On Thu, Dec 16, 2010 at 4:31 PM, Christopher Barker <Chr...@no...> wrote: > On 12/16/10 4:26 PM, Christopher Barker wrote: >> >> Sorry, no time to try to take a look at your code, but we have a similar >> system in maproom, for rending tiles at different zoom levels, maybe it >> will help you figure out your issue: >> >> https://bitbucket.org/dhelfman/maproom/wiki/Home > > I think this is the relevant file: > > https://bitbucket.org/dhelfman/maproom/src/668ea464624e/maproomlib/plugin/Tile_set_layer.py > > -Chris > > > -- > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > Chr...@no... > |