|
From: Daniele C. <dca...@in...> - 2005-07-22 13:52:31
|
I render a Quesa scena into a Windows bitmap with arbitrary dimension. I create a PixmapDrawContext and I use Q3PixmapDrawContext_GetPixmap for create the bitmap. Daniele At 08.55 21/07/2005 -0600, you wrote: >We've got a function that renders a Quesa scene into a picture, on both >Mac and Windows. On the Mac this works fine, but on Windows it hangs or >crashes for all but the smallest image sizes. (Yes, that sounds like >we're not allocating a big enough pixel buffer, but two of us have gone >over the code carefully, and even tried allocating 10 times as much space >as we should need, and it still crashes.) > >The hang or crash seems to be happening inside Q3View_EndRendering, but we >haven't traced it down inside Quesa (my Windows debugging skills are limited). > >So, the next step is probably to try to reproduce this in a simpler >app. Do any of the examples in the SDK exercise this functionality? I >looked in Geom Test and didn't see it there, and none of the others sound >promising, but perhaps I'm missing something. > >Barring that, would anyone happen to have a simple example of rendering to >a pixel buffer lying around? > >Thanks, >- Joe > >-- >,------------------------------------------------------------------. >| Joseph J. Strout Check out the Mac Web Directory: | >| jo...@st... http://www.macwebdir.com/ | >`------------------------------------------------------------------' > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Quesa-develop mailing list >Que...@li... >https://lists.sourceforge.net/lists/listinfo/quesa-develop > |