POV-Ray : Newsgroups : povray.advanced-users : Classes/containers in sdl? : Re: Classes/containers in sdl? Server Time
27 Apr 2024 22:26:06 EDT (-0400)
  Re: Classes/containers in sdl?  
From: clipka
Date: 16 Nov 2016 22:08:26
Message: <582d1f2a$1@news.povray.org>
Am 17.11.2016 um 02:51 schrieb [GDS|Entropy]:

>> POV-Ray for Windows does provide a GUI plug-in API, which to my
>> knowledge is how Moray interfaces to POV-Ray. I have never had a closer
>> look at the interface though -- my guess is that it is not much more
>> than a way for the plug-in to initiate a render of a POV or INI file.
>>
>>
> 
> I wonder what they were doing to get the render to occur in their own
> hosted form window? That is the crux of it.
> 
> I am afraid that I will discover that they scanned the memory, located the
> pov process and hooked into the live output of the renderer directly, then
> just copied the memory contents and shoved it into a picture box. *shivers*

It's not that bad. Judging from a quick glance, it's a neat event
dispatch interface using a bunch of C function pointers, including some
apparently intended to report the rendered pixel data (see `pvguiext.h`).


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.