Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create first node inside Blender #8

Open
myselfhimself opened this issue Mar 9, 2020 · 5 comments
Open

Create first node inside Blender #8

myselfhimself opened this issue Mar 9, 2020 · 5 comments
Assignees

Comments

@myselfhimself
Copy link
Owner

Example : the sharpen node

From https://gmic.eu/reference.shtml#sharpen

Example of use:
--
  | image.jpg sharpen 300
  | image.jpg blur 5 sharpen 300,1

Should be hardcoded for now. Generation from the JSON output of G'MIC 2.90 will come later on.

@myselfhimself
Copy link
Owner Author

myselfhimself commented Mar 9, 2020

For showing labels those tips from Blenderchat can be used

 you have the 'depscription' field of each node property
or can use label's from layout.label(text='some nice text..')

@myselfhimself
Copy link
Owner Author

sharpen is a builtin command, not a filter, so will possibly not be in the .json output from G'MIC.
Our goal in the end is to generate nodes almost exclusively from that .json file.
Here are corresponding higher level sharpening filters that will belong in this file:

  [#1] Details/Constrained Sharpen
  [#2] Details/Sharpen [Deblur]
  [#3] Details/Sharpen [Gold-Meinel]
  [#4] Details/Sharpen [Gradient]
  [#5] Details/Sharpen [Hessian]
  [#6] Details/Sharpen [Inverse Diffusion]
  [#7] Details/Sharpen [Multiscale]
  [#8] Details/Sharpen [Octave Sharpening]
  [#9] Details/Sharpen [Richardson-Lucy]
  [#10] Details/Sharpen [Shock Filters]
  [#11] Details/Sharpen [Texture]
  [#12] Details/Sharpen [Tones]
  [#13] Details/Sharpen [Unsharp Mask]
  [#14] Details/Sharpen [Whiten]
-> Octave Sharpening & Texture are much appreciated

Thanks to @dtschump for pointing this out

@myselfhimself myselfhimself self-assigned this Mar 10, 2020
@myselfhimself
Copy link
Owner Author

The most transparent filters for the sharpen command are : 'Sharpen [Inverse Diffusion]' and 'Sharpen [Shock filters]'

@myselfhimself
Copy link
Owner Author

As far as python scripting in concerned, in a vanilla 2.8x blender, only node groups can be scripted, having custom fields/widgets in them... and node groups can output python-scripted images but cannot read a dynamic image generated through a node. The only thing that could be read programmatically with or without node link is an image node with linked stored image file...
This could be a starting point for POC instead of complaining that Blender does not have the needed patch yet... or not.

@myselfhimself
Copy link
Owner Author

myselfhimself commented Jun 18, 2020

This issue will be the priority for this project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant