|
|
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
|
|