luxcore materials in blender

Use this forum for general user support and related questions.
Post Reply
mick
Posts: 60
Joined: Mon May 21, 2018 7:57 pm

luxcore materials in blender

Post by mick » Wed Jul 11, 2018 7:07 pm

I installed the blender add-on, and switched to luxcore renderer. But I can't find the luxcore materials (e.g. roughmatte) and luxcore material properties.

How?

User avatar
FarbigeWelt
Posts: 305
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: luxcore materials in blender

Post by FarbigeWelt » Wed Jul 11, 2018 8:09 pm

Did you get to to the following tools tab?
LuxCoreRender Materials.jpg
LuxCoreRender Materials
You can easy use nodes now to build the material you like to have.
Glossy Rough Specular 0,0,0.jpg
Glossy Rough Specular 0,0,0
Set specular color to 0,0,0 to get matte looking.
Microsoft Windows 10 Professional, intel i7 4770K, 32 GB, AMD R9 290x 4 GB, AMD R9 390x 8 GB
Instagrammer, please join #luxcorerender for your renderings.

User avatar
B.Y.O.B.
Developer
Posts: 1733
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: luxcore materials in blender

Post by B.Y.O.B. » Wed Jul 11, 2018 8:22 pm

You have to make one of the areas into a node editor, that's where you can edit materials.
You can add new nodes (materials, textures etc.) by hovering your mouse over the node editor, then press Shift+A.

Here is the BlendLuxCore manual (I admit it does not explain everything yet, we need more wiki authors):
https://wiki.luxcorerender.org/Category:BlendLuxCore
About the node editor basics:
https://wiki.luxcorerender.org/BlendLuxCore_Node_Editor
Attachments
scrn_2018-07-11_22-18-18.png
Support LuxCoreRender project with salts and bounties

mick
Posts: 60
Joined: Mon May 21, 2018 7:57 pm

Re: luxcore materials in blender

Post by mick » Wed Jul 11, 2018 9:17 pm

Yes, that is what I did, and what I see.

But I'm expecting to see the materials from the LuxCore SDL Reference Manual v2.0. e.g. roughmatte, and the extra properties like cauchyc for glass. Where are they?

User avatar
FarbigeWelt
Posts: 305
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: luxcore materials in blender

Post by FarbigeWelt » Wed Jul 11, 2018 9:21 pm

There is also a way to get rough matte material.
Maybe 'sigma' is not the best way to call it.
Matte Sigma.jpg
Matte Sigma
And in lots of cases you get a useful tip waiting with the mouse pointer above an user interface item.
Microsoft Windows 10 Professional, intel i7 4770K, 32 GB, AMD R9 290x 4 GB, AMD R9 390x 8 GB
Instagrammer, please join #luxcorerender for your renderings.

User avatar
B.Y.O.B.
Developer
Posts: 1733
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: luxcore materials in blender

Post by B.Y.O.B. » Wed Jul 11, 2018 10:11 pm

mick wrote:
Wed Jul 11, 2018 9:17 pm
But I'm expecting to see the materials from the LuxCore SDL Reference Manual v2.0. e.g. roughmatte, and the extra properties like cauchyc for glass. Where are they?
The nodes don't expose the LuxCore properties 1:1, they are a more user-friendly version.
Sometimes one node creates multiple LuxCore materials behind the scene, e.g. the glass node can create glass, roughglass and archglass depending on the settings.
You can see what exactly is going on in the Python export code: https://github.com/LuxCoreRender/BlendL ... /materials

Does this help or do I misunderstand what you asked?
Support LuxCoreRender project with salts and bounties

mick
Posts: 60
Joined: Mon May 21, 2018 7:57 pm

Re: luxcore materials in blender

Post by mick » Thu Jul 12, 2018 12:15 am

I'm going to check the code.

My objective is to manually create the materials that I cannot import from the models/scenes I create with pyluxcore.

The super-objective is to understand and find a way around the issue that I have to create lenses with hyper-fine meshes to avoid strange artifacts on the projection plane. At the moment my models take 1 hour to render in sufficient quality on a strong computer.

Actually the bigger part of the time is for adding the hyper-fine meshes to the scene. I have the suspect that the API is iterating over each vertex and face to transform from python list to the actual data type. Then I guess it would be worthwhile to provide API calls to feed in the the target types directly, in best case compatible/convertible with ndarrays.

Post Reply