Auto-illumination of 2d shapes

(David Tschumperlé) #41

Yes, but that can be already done with a few scripting work :slight_smile:
You also made me realize than scripting this filter can also generate cool illumination animations.

(David Tschumperlé) #42

I’ve added an interactive preview module in the filter Illuminate 2d shape: it is now more easy to get an idea on how the estimated normal map behaves for different light directions.

( #43

Could choose here the position of the light

(Tobias) #44
  1. Wow cool.
  2. Why do you need a second preview window. Can’t you add it to the normal preview window?
  3. It would be very useful to have such a preview in the “3D elevation” filter too.

(David Tschumperlé) #45

No, the G’MIC core has no control over the Qt-widgets used by the plug-in, that’s why it manages its own window. This way, the filter interactive preview can run also in the GTK plug-in, as well as from the command line.

Maybe one day, at least if someone is willing to contribute :wink:

(Lyle Kroll) #46

Nothing short of wow. Enjoyed the video, David. :slight_smile:

(Shreedhar Inamdar) #47

This animation reminds me of the introductory shot of the adult Magneto moving the old German coin between his fingers in the movie X Men First Class.

( #48

I wish to use this in #software:natron @devernay

( #49

This remembers me to:

RunScript in Natron
( #50


synfig + #software:natron + #software:gmic


@bazza Interesting but the illumination is a bit twitchy. :crazy_face:

( #52

@afre Yes. But it work better of what thought