Re: [PyOpenGL-Users] More difficulties with framebuffers
Brought to you by:
mcfletch
From: Christopher B. <Chr...@no...> - 2010-12-17 00:26:29
|
On 12/16/10 3:15 PM, Derakon wrote: > a microscope slide. These images are tiled in a mosaic viewer, and the > user can pan and zoom about in the viewer. Once we get a few thousand > tiles, the viewer starts bogging down because it has to try to draw > all of those tiles when the user is zoomed out. I want to modify the > viewer to pre-render the tiles using framebuffers at a low level of > detail (packing many tiles onto each pre-rendered megatile); then, > when the user zooms out, I can switch from rendering each tile > individually to using the pre-rendered megatiles with no apparent loss > of detail but a reduction in orders of magnitude of the number of > textures that OpenGL has to deal with. > > Unfortunately, I'm running into some scaling and offsetting issues -- 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 -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... |