Cool, shouldn’t be that big of a deal to get it working if you’re proficient with the SDK. Check out this page and start with “UpdatePerViewItems”.
You can do it with the SDK, but it’s not easy and it would only work with Nitrous viewports and would only apply to the SDK plugin object you create.
You keep posting snippets of code that don’t actually tell us what your plugin is supposed to do. Sorry, I can’t really help further beyond explaining…
Oh ok, then it’s fine, because the gizmo size coordinates are undoubtedly in local space and so that code is telling the GraphicsWindow the proper dra…
If ‘pb_sg_grav_dir’ is getting the gizmo transform and ‘inode’ is the node the modifier is applied to, then yes…gtm*tm will convert your gizmo transfo…
The TM of the node your modifier is on will already be in world space coordinates. In other words, if you query INode->GetObjectTM(TimeValue t) the…
Oh sorry yea, didn’t realize you were still using the old callback
RenderBegin and RenderEnd are only called once per render. That means if you’re rendering a sequence of images, you’ll only ever get the time of the s…
I have a plugin that gets the current time in a NOTIFY_RENDER_PREEVAL callback…I’m assuming the NOTIFY_PRE_RENDERFRAME callback is similar. Here’s ho…
Well, I can’t really help without seeing more of the code and your screenshots don’t clear anything up. I guess the advice I’ll leave you with is: do…
I guess I’d have to see more of your code, as well as screenshots of your node setup in order to fully understand the problem. None of the code you po…
I haven’t used gizmos with the SDK much, but my guess is that it’s operating in local coordinates relative to its node. So the first thing you want to…
What do you mean by “gravity modifier”? Do you mean that your plugin has a sub-object gizmo that you can rotate around? You should never, ever do any…
What do you mean rotate the gravity? Do you mean a gravity spacewarp node? Or do you mean your geometry plugin node? Why would rotating your geometry/…
So after your plugin runs there are 3 nodes: Your geometry plugin node which does the work The hair node which was created by your plugin The…