[osg-users] hook osg into other window
Trajce Nikolov NICK
trajce.nikolov.nick at gmail.com
Mon Aug 1 09:01:14 PDT 2016
Hi,
Maybe you can set up a timer there and call your viewer->frame() on the
timer event. Or launch a thread?
On Mon, Aug 1, 2016 at 3:12 PM, Sebastian Messerschmidt <
sebastian.messerschmidt at gmx.de> wrote:
> Am 01.08.2016 um 15:04 schrieb Han Hu:
>
>> Hi Sebastian ,
>>
>> Sketchup doesn't have any API to allow render into its openGL context.
>>
>> And thanks for your snippet on handling the HWND. But I think the real
>> problem lies in that I do not have access to the render loop. So there is
>> nowhere for me to place the viewer->frame() to render the stuffs.
>>
> Maybe you can use the Sketchup-API to at least "pause" the original
> applications rendering, so you can sneak in and perfrom your frame.
>
>
>> At last thanks again.
>>
>> Cheers,
>> Han
>>
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=68233#68233
>>
>>
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160801/a7a82900/attachment-0002.htm>
More information about the osg-users
mailing list