PolyTools3D
@polytools3d
New Member
Joined: Feb 14, 2024
Topics: 17 / Replies: 1674
Reply
RE: Converting simple renderer script to max sdk plugin

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…

6 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

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 …

6 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

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 …

6 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

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 …

6 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

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…

6 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

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…

6 years ago
Forum
Reply
RE: Converting simple renderer script to max sdk plugin

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…

6 years ago
Forum
Reply
RE: [SDK] Register Dialog for docking

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?

6 years ago
Forum
Reply
RE: [SDK] Register Dialog for docking

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…

6 years ago
Forum
Reply
RE: [SDK] Register Dialog for docking

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 …

6 years ago
Forum
Reply
RE: [SDK] Register Dialog for docking

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 …

6 years ago
Forum
Reply
RE: How to press the OK button in JPEG IMAGE CONTROL window?

Does this “solve” the gamma issues in Max 2014-? ( image = getlastrenderedimage copy:false if (IDisplayGamma.colorCorrectionMode==#gamma) do imag…

6 years ago
Forum
Reply
RE: How to press the OK button in JPEG IMAGE CONTROL window?

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…

6 years ago
Forum
Reply
RE: [SDK] Register Dialog for docking

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…

6 years ago
Forum
Reply
RE: [SDK] Register Dialog for docking

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…

6 years ago
Forum
Page 16 / 113