LuxCoreRender 2.0


(Oyster) #81

I have installed Visual C++ Redistributable Packages for Visual Studio 2013 for my win7 64 bits with sp1
I have installed 391.01-notebook-win8-win7-64bit-international-whql.exe, i.e. the displayer driver, for my NVIDIA 740M

I tested both BlendLuxCore-v2.0beta3-win64.zip and luxcorerender-v2.0beta3-win64-opencl.zip on both official blender-2.79a-windows64.zip and blender-2.79b-windows64.zip. but all failed as https://blenderartists.org/forum/showthread.php?448186-LuxCoreRender-2-0&p=3300708&viewfull=1#post3300708 says:

Traceback (most recent call last):
File “E:\greensoft\3d\blender\blender-2.79a-windows64\2.79\scripts\modules\addon_utils.py”, line 331, in enable
mod = import(module_name)
File “E:\greensoft\3d\blender\blender-2.79a-windows64\2.79\scripts\addons\BlendLuxCore_init_.py”, line 13, in <module>
from .bin import pyluxcore
ImportError: DLL load failed: The specified module could not be found.

I read someone said that this is caused by 2.79b which can be found same for https://blenderartists.org/forum/showthread.php?360406-Sketchup-(SKP)-importer
but this sketchup importing addon works for my blender

any hints to find the reason?


(Dade) #82

Check if you have a file named “pyluxcore.pyd” inside the directory “\Users&lt;user name>\AppData\Roaming\Blender Fundation\2.79\script\BlendLuxCore\bin”. If not, something has gone wrong during the installation, just unzip the BlendLuxCore-v2.0beta3-win64.zip inside the “\Users&lt;user name>\AppData\Roaming\Blender Fundation\2.79\script” and retry. This time should work.


(Oyster) #83
  1. I have not decompressed luxcorerender-v2.0beta3-win64-opencl.zip, so everything.exe searched and found only one “pyluxcore.pyd” on my harddisk.
  2. actually I made directory E:\greensoft\3d\blender\blender-2.79-windows64\2.79\config\
  3. in fact, I unzip BlendLuxCore-v2.0beta3-win64-opencl.zip to E:\greensoft\3d\blender\blender-2.79-windows64\2.79\scripts\addons\ in my last post. but you have read that it does not work
  4. now I tried to install BlendLuxCore-v2.0beta3-win64-opencl.zip using install add-on from file, but nothing changed

Traceback (most recent call last):
File “E:\greensoft\3d\blender\blender-2.79a-windows64\2.79\scripts\modules\addon_utils.py”, line 331, in enable
mod = import(module_name)
File “E:\greensoft\3d\blender\blender-2.79a-windows64\2.79\scripts\addons\BlendLuxCore_init _.py”, line 13, in <module>
from .bin import pyluxcore
ImportError: DLL load failed: The specified module could not be found.


(Dade) #84

Where ?

Do you have now the “pyluxcore.pyd” file in your “E:\greensoft\3d\blender\blender-2.79-windows64\2.79\scripts\addons\BlendLuxCore\bin” directory ?


(Lane) #85

Damn, i have miss the release, nice to see that the project is still working. Will update my luxcore right now.


(Abdessamed AMMARI) #86

My test install LuxCore Render in blender 2.79b is not working but is working actually in blender 2.79a .

Solution:
1 - download blender 2.79a portable version.
2 - install luxcor render in this version. and save user setting. and close blender 2.79a.
3 -open blender 2.79b and select luxcore in panel render.

sorry my not speak english


(Oyster) #87

the first image: the only “pyluxcore.pyd” lives in “E:\greensoft\3d\blender\blender-2.79-windows64\2.79\scripts\addons\BlendLuxCore\bin”.

the 2nd and 3rd image: the addon has been installed with a proper directory structure





(Harvester) #88

I had almost the same issue but getting rid of all the GitHub file chunks inside the LuxCoreRender add-on solved my problem. Not sure if this is applicable to your case, but you might try.


(Dito) #89

Waiting for the UV Pass.
I hope for a clean interaction with the Map UV Node.


(LuxCore Addon Developer) #90

I doubt that this is the problem. Which files did you delete exactly?
Our release script already strips out most of the git stuff: https://github.com/LuxCoreRender/BlendLuxCore/blob/master/release/package_releases.py#L113

If you want a feature implemented, please post here.
What exactly do you mean with UV pass?
There’s a UV AOV: http://www.luxrender.net/wiki/Render_passes#UV_.28HDR.29


(Harvester) #91

Hi B.Y.O.B., those files I mentioned can be found inside the distributed compressed file (in my case BlendLuxCore-v2.beta3-win64-opencl.zip). and they are the following:



(English is not my native language) #92

Hi.
Is it a known problem/limitation that Rendered preview lose material and not update if you move some object while Rendered view enabled in viewport?
http://pasteall.org/blend/index.php?id=49343

Turn to Rendered view - Move (G) any object

Kubuntu 18.04, lux v2 beta3


(Martynas Žiemys) #93

Still cannot get it to work with 2.79b fresh install installed from the zip or copied manually, default user preferences, Visual C++ Redistributable Packages for Visual Studio 2013:

Did anybody find a solution for this?


(Dade) #94

It is a strange problem that affect few people. If you want try to track where the problem is, you could:

  1. download LuxMark (http://luxmark.org) and try if it works (to be sure your OpenCL installation is working fine);

  2. download the LuxCore standalone version from https://github.com/LuxCoreRender/BlendLuxCore/releases/download/blendluxcore_v2.0beta3/BlendLuxCore-v2.0beta3-win64.zip. Unpack the archive. Open the command prompt (i.e. cmd.exe). “cd” to the unpacked directory and run the following command “luxcoreui.exe scenes\cornell\cornell.cfg”. Does the rendering of Cornell Box run fine or do you get an error ?


(LuxCore Addon Developer) #95

Hi B.Y.O.B., those files I mentioned can be found inside the distributed compressed file (in my case BlendLuxCore-v2.beta3-win64-opencl.zip). and they are the following:

They are harmless and it makes no difference if they are there or not.

It is already fixed: https://github.com/LuxCoreRender/BlendLuxCore/issues/131
But thank you for the report.


(Martynas Žiemys) #96

Yep, already found the problem. For some reason OpenCL was not working. I tried the version without OpenCL and it worked so I then tried standalone and it gave me an error about OpenCL.dll missing. After reinstalling GPU drivers it is working fine now. I update GPU drivers from time to time so I was not expecting this.


(Dito) #97

Hi B.Y.O.B.,

thanks for the hint.

Apparently it is not yet implemented in the Blender plugin.
When I only export the Luxcore scene from Blender and render with the standalone it shows me a UV Pass.


If I render in Blender and save the image as OpenEXR multilayer, the UV pass is black.


(LuxCore Addon Developer) #98

I can not reproduce this, when I save as OpenEXR multilayer and open the saved image in Blender, the UV pass looks like in Blender.

Note that most AOVs only work with Path engine, not with Bidir.



(BigBlend) #99

Luxmark opencl compilation time is 1.4 seconds. Blender opencl compilation time is 90 seconds. Why?


(Dade) #100

The compilation time is based on the scene you are rendering (i.e. the OpenCL code is “tailored” for the scene you are going to render). More complex is your scene in term of material node definitions and more time is likely to take the compilation.

There is also a cache, so be sure to compare the compilation time only for the first runs (after the first, it will take about nothing).

I also assume you have a NVIDIA GPU, their OpenCL compiler can be very slow compared to AMD one.