Search found 23 matches
- Mon Jan 28, 2019 1:46 pm
- Forum: User Support
- Topic: Select pass mode (AOV for rendering) in Blender using python
- Replies: 3
- Views: 2916
Re: Select pass mode (AOV for rendering) in Blender using python
It does not matter which AOV is selected in the image editor, Blender/LuxCore will always render all of the requested AOVs. The same is true for Cycles by the way. You can enable/disable AOVs in the render layer settings, but the "Combined" and "Default Lightgroup" AOVs will alw...
- Mon Jan 28, 2019 8:41 am
- Forum: User Support
- Topic: Select pass mode (AOV for rendering) in Blender using python
- Replies: 3
- Views: 2916
Select pass mode (AOV for rendering) in Blender using python
Hi, I would like to automatically change the "Pass" mode in Blender to render only specific AOV - please see also my question on BlenderStackexchange: https://blender.stackexchange.com/questions/127822/select-pass-mode-via-python-script . It's possible to select it with mouse click, but I ...
- Wed Jan 23, 2019 10:46 am
- Forum: User Support
- Topic: Lux measurement using Irradiance feature
- Replies: 31
- Views: 32946
Re: Lux measurement using Irradiance feature
In Blender, the border is not a property of the camera, but of scene.render: https://docs.blender.org/api/2.79/bpy.types.RenderSettings.html?highlight=border_max_x#bpy.types.RenderSettings.border_max_x Thank you for comments - excuse me for not being that accurate with pseudocode before (I updated ...
- Wed Jan 23, 2019 8:13 am
- Forum: User Support
- Topic: Lux measurement using Irradiance feature
- Replies: 31
- Views: 32946
Re: Lux measurement using Irradiance feature
Thanks for this idea! If I understand it correctly, my python code should look something like this, written in pseudo-code (please correct me if I'm wrong): # PSEUDO CODE for BlenderPY API camera = Camera("panoramic") render = Render() # Set boundaries render.border_min_y = 0.5 #border ren...
- Mon Jan 21, 2019 12:06 pm
- Forum: User Support
- Topic: Lux measurement using Irradiance feature
- Replies: 31
- Views: 32946
Re: Lux measurement using Irradiance feature
What exactly needs to be done from the Blender side? Create a list of points on the surface of a mesh, and write it to a text file? Or something else? For a given mesh (visible inside a camera's view), values of illuminance (measured in lux) should be returned for chosen points on that surface. Now...
- Mon Jan 21, 2019 9:07 am
- Forum: User Support
- Topic: Lux measurement using Irradiance feature
- Replies: 31
- Views: 32946
Re: Lux measurement using Irradiance feature
... getting as input a text file with a generic list of rays to trace ... I am continuing with the work - I recently looked into the code of existing camera types, and I would like to ask you the following questions: 1. How to construct text file with a generic list of rays to trace and set it as a...
- Thu Jan 17, 2019 7:39 am
- Forum: User Support
- Topic: Changing material of the object via blendluxcore python script
- Replies: 2
- Views: 2041
Re: Changing material of the object via blendluxcore python script
Thank you very much for your help - that's excactly what I needed!
- Fri Jan 11, 2019 9:14 am
- Forum: User Support
- Topic: Changing material of the object via blendluxcore python script
- Replies: 2
- Views: 2041
Changing material of the object via blendluxcore python script
Hi, I want to change the material of an object (for example of a Cube/Plane) in Blender using Blendluxcore, and I want to be able to assign the material via python script. I found the available materials in blender, I select an object -> Material -> Node Tree Presets -> Matte, Glossy etc. I also fou...
- Wed Jan 09, 2019 1:39 pm
- Forum: User Support
- Topic: Lux measurement using Irradiance feature
- Replies: 31
- Views: 32946
Re: Lux measurement using Irradiance feature
You should add a new file to compile to CMake configuration file here: https://github.com/LuxCoreRender/LuxCore/blob/b57e93df9742b900138f0645dd29b1c50357c530/src/slg/CMakeLists.txt#L260 Ok, I duplicated camera.cpp, and renamed it to my_camera.cpp, and added the line with my_camera.cpp in CMakeLists...
- Wed Jan 09, 2019 12:07 pm
- Forum: User Support
- Topic: Lux measurement using Irradiance feature
- Replies: 31
- Views: 32946
Re: Lux measurement using Irradiance feature
Ok, thank you! Yes, I compiled it in Windows before. So I would probably need to edit LuxRays.sln project using VisualStudio, which is located in luxcorerender\WindowsCompile\Build_CMake\LuxCore ?