Ajax opened this issue on Apr 19, 2008 ยท 15 posts
bagginsbill posted Sat, 19 April 2008 at 7:08 AM
Yep. On a related note, maybe somebody has the answer to this one, because I'm stumped.
I have a major new shader-related freebie coming, something like matmatic, but without any scripting on the user's part. It builds shaders from rules, and will update all the materials on a figure at once.
As it completes each material zone's shader, it calls shadertree.UpdatePreview().
While you're watching, the nodes currently in the material room editor will update, the root node preview updates, and so does the corresponding pose room previews of the figure.
My problem:
Only polygons associated with the current material room material zone update in the pose room preview. Nothing else updates.
While I'm in the mat room, if I use the mouse to touch a zone on the figure, it will trigger an update, but only on that zone.
Has anybody worked out how to get the whole figure's preview to refresh?
Please do not guess. Only answer if you know, because I've already tried dozens of things.
No combination of UpdateTree, Draw, or DrawAll alone will get it done.
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)