POV-Ray : Newsgroups : moray.win : Redrawing scene after transformation in plugin : Re: Redrawing scene after transformation in plugin Server Time
17 May 2024 17:58:24 EDT (-0400)
  Re: Redrawing scene after transformation in plugin  
From: Remy Closset
Date: 9 Jul 2004 03:00:39
Message: <40ee4297$1@news.povray.org>
I can't help for your plugin,but I support it. I think it's a very
interesting feature.

friendly



news:web.40edcfe0e5234cf5ded0eafc0@news.povray.org...
> Here's the basic code (simplified a bit) for the function I have that I
> thought should handle this:
>
> long WINAPI SceneEvent(long hObjID,int nFlags)
> {
>  switch (nFlags)
>  {
>   case MRY_NTC_OBJ_TRANSFORMED :
>   {
>    err_log << "TRANSFORMED : "<< hObjID << endl;
>
>    g_pSceneFuncs->fnRedrawScene(MRY_SCN_DRW_RECALC &
> MRY_SCN_DRW_REDRAW_IMMEDIATE);
>   }
>   break;
>  }
>  return(MRY_SUCCESS);
> }
>
>
>
>
>
> After the object is transformed in any way, the TRANSFORMED message is
> indeed printed, but apparently the function underneith it, set to redraw
> the scene, doesn't seem to have any effect on the scene at all.  Am I even
> doing this remotely correctly?  Does anyone have any suggestions as to how
> to get this to work, or even an easier way to go about doing it?
>
>
> Doug Kavendek
>
>
>


Post a reply to this message

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