I have modified the way you where calculating the shadows intensity. I think now it is working properly but you still need to test it and see if it is…
Ok, here is a last pure MXS attempt. If I understood correctly, your setup is: 2 objects (188 verts each), 1 lite 1 matte and 2 light sources. This …
For the previous task, doing it in MXS was a good decision I guess. It didn’t take a lot of work and it did the job. Now for casting shadows it is a …
Flub: Is your GUI also flickering while running the script? Yes, the Set Keys button flickers. BTW, I don’t think we are working with the right …
The test scene runs at 14-15 ms (66 FPS) per iteration on my end, while the original code runs at 70-71 (14 FPS). The most critical point I see is to…
OK, here is a little optimized version. I’ve also included a test scene with animated objects and lights for better comparison. It can still be optim…
Hello @Flub, Could you provide a full description of the task or a test scene? Amount of objects, faces, lights, animated parameters of any involvin…
The resize issues you are still having are when the dialog is docked and you want to resize it that it does not redraw the UI correctly?
I too though it was something much simpler than this. Perhaps an additional handler to manage this in the WindowProc. It would also be good to have t…
Yes, that’s what I am doing right now. But I tough there could be a way to cast the MXS rollout to a ICustToolbar or something like that but couldn’t …
I got pretty much everything implemented using the .Net APIs, so it has a few more features than the default cui struct. How did you finally add the …
Does this “solve” the gamma issues in Max 2014-? ( image = getlastrenderedimage copy:false if (IDisplayGamma.colorCorrectionMode==#gamma) do imag…
I know this does not answer your question, but can’t you just save the rendered bitmap and avoid the use of UIAccessor? ( image = getlastrenderedima…
Since this is the very first time I’m looking into this, I am very unfamiliar with the code and concepts. I’ve tried to create a CUIFrame from the SD…
WOW, black magic The second time you run the script (after have opened the Scene Explorer once), the icon don’t even show up until you drag the wind…