|
From: Don H. <dh...@ho...> - 2003-04-01 23:28:23
|
>LDLite already does of-screen rendering. The windows update is >a bitblt from memory to the screen, and I've often thought about >adding scroll bars or stretching the result. I don't know how to >not have a window pop up (especially since some initialization may get >kicked-off by the initial window update message), but I could probably >get it to launch as an icon down in the toolbar so it doesn't clutter >the screen. Oops, I just checked a new ldlite.cpp and ldlitecommandlineinfo.cpp into CVS. It creates and draws in an offscreen buffer in InitInstance() when the commandline contains a -MS (capital S). The best I could do was hide the unused window so you may not want much of this. Take a peek at the diffs and see if there's anything worth keeping in there. I think I only changed the code in 3 places. >BTW, is the "-H" flag used for anything? I'm adding support to make >the transparent halftone (dither) checkerboard be larger than 1 pixel >so that the effect survives image scaling. I checked, and -H is unused. Rats! Now you're gonna make me generate halftone patterns on the fly for glPolygonStipple(). Oh well, that code needs some cleaning anyhow. I still have a bunch of junk code lying around from when I thought a random stipple pattern would be really cool. It wasn't. It was actually pretty awful looking. Have fun, Don _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |