NodesProject
ActivePublic

Watchers

  • This project does not have any watchers.

Details

Description

Node editor.

Module Owner: @Lukas Toenne (lukastoenne)

Recent Activity

Today

Amir (Warrior) added a comment to T54314: Contents of "Viewer Node" image block do not get updated .

@Philipp Oeser (lichtwerk) @Jeroen Bakker (jbakker) Thanks for investigating this more. I also remember at some point when I was accessing the pixels directly through "Viewer Node" image block and stored them on disk. What I realized however was the pixels were sort of rotated. I remember the depth map rendering that I got was shown 90 degrees rotated. So I have a request from you: I would appreciate if you can provide a nice Python API that allows people to easily access the rendering results without having to store the renderings on disk. Maybe bpy.ops.render.render() could take an argument like keepInMemory=True. Then people can access the rendering results through something like renderings = np.array(bpy.ops.render.results). The should also account for having a couple of output nodes. For instance, if in the node editor I have 5 Viewer nodes, renderings should be a 5 x 4 x resolution x resolution tensor.

Thu, Apr 19, 5:41 PM · Python, Nodes, Cycles, BF Blender
Philipp Oeser (lichtwerk) changed Type from Bug to To Do on T54314: Contents of "Viewer Node" image block do not get updated .
Thu, Apr 19, 1:30 PM · Python, Nodes, Cycles, BF Blender
Philipp Oeser (lichtwerk) claimed T54314: Contents of "Viewer Node" image block do not get updated .

Interesting problem.

Thu, Apr 19, 1:30 PM · Python, Nodes, Cycles, BF Blender

Mon, Apr 16

Aaron Carlisle (Blendify) edited reviewers for D2829: Nodes: Add square and diamond socket shapes for pynodes (see D2814), added: Brecht Van Lommel (brecht), Julian Eisel (Severin); removed: Nodes.
Mon, Apr 16, 4:53 AM · BF Blender: 2.8, Nodes
Aaron Carlisle (Blendify) abandoned D2838: Clean up spacing of node defenitions.

Noisy changes like this aren't really worth as they can just cause merge conflicts and don't have much benefit.
Thanks for the patch but I am closing this one to let us keep focusing on more important things.

Mon, Apr 16, 4:37 AM · Nodes

Wed, Apr 11

Amir (Warrior) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

@Brecht Van Lommel (brecht) Just an update: I can get somehow around the forking issue using subprocess and doing one rendering at the time. However, the problem with using subprocess is I have to literally import everything I need from scratch. This makes the rendering much more time-consuming than doing the rendering normally. Sorry if it's too obvious that I'm just trying to convince you to prioritize this :) I hope that happens :)

Wed, Apr 11, 5:24 PM · Python, Nodes, Cycles, BF Blender

Wed, Apr 4

Amir (Warrior) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

@Brecht Van Lommel (brecht) I hope you will prioritize this in the future. Many people like me need to use Blender as a module for their research work. Anyways, I used gdb to get you the back trace after Python freezes. Here's what I get (I had to CTRL+C at the end):

Wed, Apr 4, 5:46 AM · Python, Nodes, Cycles, BF Blender
Brecht Van Lommel (brecht) triaged T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes) as Low priority.

This is a very low priority issue for me, since it should be quite easy to work around in the ways I suggested and the python module is not something we officially release. Given that there are many more important bugs to solve I'm not going to spend time on this now.

Wed, Apr 4, 5:01 AM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) renamed T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes) from Unable to export renderings in OpenEXR when using the multiprocessing in Python (Blender freezes) to Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Wed, Apr 4, 4:54 AM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) raised the priority of T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes) from Incomplete to Needs Triage.
Wed, Apr 4, 4:53 AM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

@Brecht Van Lommel (brecht) I'm not sure if this could be very relevant but I used OpenEXR Python bindings package to do some tests. Here's what I found out: if I have a function that simply loads an exr file and separates its channels into (R, G,B) as shown below and I execute this function via multiprocessing.Process everything works fine. However, when I just do import bpy and execute the same function via multiprocessing.Process things do not work and Python freezes. I would say this is a bug in Blender. Could you please look into this? I would really appreciate it.

Wed, Apr 4, 4:53 AM · Python, Nodes, Cycles, BF Blender

Tue, Apr 3

Brecht Van Lommel (brecht) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

I would not make a bug report to the OpenEXR project, it's not clear at all there is a bug in their library and I wouldn't expect them to investigate a vague report like that. It's a possibility but too early to tell.

Tue, Apr 3, 6:54 AM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) renamed T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes) from Unable to export rendering results in OpenEXR format using Python (Blender freezes) to Unable to export renderings in OpenEXR when using the multiprocessing in Python (Blender freezes).
Tue, Apr 3, 6:13 AM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

@Brecht Van Lommel (brecht) I also posted an issue on OpenEXR's GitHub repo (link here). Hopefully they can also make some clarification from their side.

Tue, Apr 3, 6:09 AM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

@Brecht Van Lommel (brecht) You said it wouldn't surprise you if some parts of Blender of OpenEXr does not work well with forking. So I wonder, which one do you think is more likely to be the case given that I can store my renderings in other formats? Would you think it's more likely that OpenEXR is the one to blame here?

Tue, Apr 3, 5:51 AM · Python, Nodes, Cycles, BF Blender

Mon, Apr 2

Amir (Warrior) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

@Brecht Van Lommel (brecht) I tried with spawn but I keep getting weird errors and things do not work. It seems that I have to somehow make the process spawnable and I don't know how to do that precisely. I hope you can find a solution for this. It's so annoying for me since I have to millions of renderings and I didn't expect to do it sequentially :(

Mon, Apr 2, 9:00 PM · Python, Nodes, Cycles, BF Blender
Brecht Van Lommel (brecht) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

If there's another bug with OpenEXR saving unrelated to multiprocessing, another bug report can be created for that,

Mon, Apr 2, 6:31 PM · Python, Nodes, Cycles, BF Blender
Brecht Van Lommel (brecht) triaged T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes) as Incomplete priority.
Mon, Apr 2, 6:30 PM · Python, Nodes, Cycles, BF Blender
Brecht Van Lommel (brecht) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

Maybe try using the spawn start method?
https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods

Mon, Apr 2, 6:28 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) updated the task description for T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Mon, Apr 2, 5:52 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) updated the task description for T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Mon, Apr 2, 5:33 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

@Brecht Van Lommel (brecht) Sorry for the missing information. I just realized that the problem is being caused if I call the rendering function using multiprocessing.Process and updated the script in my bug report that shows how exactly I do rendering in my project, with all other irrelevant details removed. The strange thing is I can easily render my meshes if I do not want the rendering result to be stored in EXR files. So, if I replace OPEN_EXR with PNG and replace 32 with 8/16 I will definitely get the rendering results stored on disk. This does not happen when trying to store the result in OpenEXR format and I did not know that the multiprocessing package might be causing it. What should I do now? Why I cannot store EXR files when using multiprocessing.Process?

Mon, Apr 2, 5:33 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) updated the task description for T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Mon, Apr 2, 5:24 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) raised the priority of T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes) from Incomplete to Needs Triage.
Mon, Apr 2, 3:53 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) added a comment to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).

@Brecht Van Lommel (brecht) Sorry I should have been more clear. The problem is I am compiling Blender as Python module in Ubuntu 16.04. I don't think it is possible to import the Blender module given those arguments you mentioned. Could you please double-check this as well?

Mon, Apr 2, 3:51 PM · Python, Nodes, Cycles, BF Blender

Sun, Apr 1

Brecht Van Lommel (brecht) triaged T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes) as Incomplete priority.

I can't reproduce this issue. I tried putting the above code in a test.py script with bpy.ops.render.render(write_still=True) at the end, and then running ./blender -b -P test.py.

Sun, Apr 1, 7:23 AM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) updated the task description for T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Sun, Apr 1, 5:09 AM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) updated the task description for T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Sun, Apr 1, 3:06 AM · Python, Nodes, Cycles, BF Blender

Sat, Mar 31

Amir (Warrior) updated the task description for T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Sat, Mar 31, 4:07 PM · Python, Nodes, Cycles, BF Blender

Thu, Mar 29

Amir (Warrior) updated the task description for T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Thu, Mar 29, 4:03 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) updated the task description for T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Thu, Mar 29, 4:02 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) added a project to T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes): Python.
Thu, Mar 29, 4:02 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) added projects to T54314: Contents of "Viewer Node" image block do not get updated : Nodes, Python.
Thu, Mar 29, 4:01 PM · Python, Nodes, Cycles, BF Blender
Amir (Warrior) created T54461: Unable to export/import EXR files after doing `import bpy` and when using the multiprocessing in Python (Blender freezes).
Thu, Mar 29, 4:00 PM · Python, Nodes, Cycles, BF Blender

Mar 19 2018

Brecht Van Lommel (brecht) closed T54240: Node editor: replacing connection to principled BSDF clearcoat normal sends old connection to clearcoat weight as Resolved by committing rB8ecf35d850fd: Fix T54240: automatic node link moving should take into account type..
Mar 19 2018, 9:53 PM · Nodes, BF Blender

Mar 7 2018

LazyDodo (LazyDodo) added a comment to T54240: Node editor: replacing connection to principled BSDF clearcoat normal sends old connection to clearcoat weight.

can confirm on windows with both 2.79 and 2.79a

Mar 7 2018, 12:55 AM · Nodes, BF Blender
LazyDodo (LazyDodo) triaged T54240: Node editor: replacing connection to principled BSDF clearcoat normal sends old connection to clearcoat weight as Confirmed priority.
Mar 7 2018, 12:54 AM · Nodes, BF Blender

Mar 6 2018

Sergey Sharybin (sergey) closed T54235: Movie clip texture doesnt update in viewport using material or texture mode (cycles) as Archived.

Thanks for the report, but this is a known limitation of our shading system in master branch, which is stated in our TODO list.

Mar 6 2018, 2:32 PM · Nodes, Cycles, BF Blender

Mar 5 2018

Braeden (B-Rae) created T54235: Movie clip texture doesnt update in viewport using material or texture mode (cycles).
Mar 5 2018, 8:18 PM · Nodes, Cycles, BF Blender

Feb 18 2018

Brecht Van Lommel (brecht) closed T54089: Pass Index in Object Info node does not refresh in Node Tree on change for Object Index as Resolved by committing rB1beb6b43c162: Fix T54089: missing GLSL material draw update when changing object pass index..
Feb 18 2018, 8:20 PM · Nodes, BF Blender
Brecht Van Lommel (brecht) raised the priority of T54089: Pass Index in Object Info node does not refresh in Node Tree on change for Object Index from Incomplete to Confirmed.

Ok, so this is about GLSL material display.

Feb 18 2018, 7:24 PM · Nodes, BF Blender
ronan ducluzeau (zeauro) added a comment to T54089: Pass Index in Object Info node does not refresh in Node Tree on change for Object Index.

You can update the change by selecting different frame or continuously by playing animation.

Feb 18 2018, 6:53 PM · Nodes, BF Blender
Brecht Van Lommel (brecht) lowered the priority of T54089: Pass Index in Object Info node does not refresh in Node Tree on change for Object Index from Confirmed to Incomplete.

Are we talking about the previews in the node editor? Those are not expected to update when changing the object index, they are only previewing the material in isolation, the object(s) in the scene have no influence.

Feb 18 2018, 6:36 PM · Nodes, BF Blender

Feb 17 2018

ronan ducluzeau (zeauro) triaged T54089: Pass Index in Object Info node does not refresh in Node Tree on change for Object Index as Confirmed priority.

Confirmed on ubuntu 16.04 64bits NVIDIA Titan Black with master 5bc2c17 and 2.79aRC.

Feb 17 2018, 11:55 AM · Nodes, BF Blender

Feb 16 2018

Rumen Belev (syziph) created T54089: Pass Index in Object Info node does not refresh in Node Tree on change for Object Index.
Feb 16 2018, 11:57 PM · Nodes, BF Blender

Feb 13 2018

Sergey Sharybin (sergey) added a commit to T53833: Particle Info node and Displacement Crash: rC7ed2fc4ef203: Fix T53833: Particle Info node and Displacement Crash.
Feb 13 2018, 3:25 PM · Nodes, Cycles, BF Blender

Jan 25 2018

Daniel Paul (DaPaulus) added a comment to T53903: NodeWrangler Principled BSDF Auto Setup.

Ohh okay, i didnt know.
The option for metallic is not for all metal textures available.

Jan 25 2018, 4:57 PM · Nodes, Addons
Brecht Van Lommel (brecht) closed T53903: NodeWrangler Principled BSDF Auto Setup as Invalid.

I don't think that's right, you should be downloading the metalness workflow textures from Poliigon to use with the pinrcipled BSDF. The reflection textures comes from the specular workflow which is different. They don't seem to map directly to any of the principled BSDF inputs.

Jan 25 2018, 2:41 PM · Nodes, Addons
Daniel Paul (DaPaulus) created T53903: NodeWrangler Principled BSDF Auto Setup.
Jan 25 2018, 9:56 AM · Nodes, Addons

Jan 19 2018

Mai Lavelle (maiself) closed T53833: Particle Info node and Displacement Crash as Resolved.
Jan 19 2018, 4:51 AM · Nodes, Cycles, BF Blender