BlendLuxCore Development

Discussion related to the LuxCore functionality, implementations and API.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

Added mist, vignetting, color aberration and background image plugins.
Attachments
scrn_2018-02-18_16-50-28.png
jensverwiebe
Supporting Users
Posts: 141
Joined: Tue Jan 09, 2018 6:48 pm

Re: BlendLuxCore Development

Post by jensverwiebe »

Great.
Possibly would make sense to have the tonemapping default on ?
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

Of course, thanks.
A typical "Copy-paste regression".
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

Added the contour lines plugin.

I think that was all of them.
In my opinion OUTPUT_SWITCHER is not needed because we now have proper Blender integration for AOVs.

By the way, LuxCore is missing the Glare plugin from Classic Lux.
Attachments
contour_lines.jpg
jensverwiebe
Supporting Users
Posts: 141
Joined: Tue Jan 09, 2018 6:48 pm

Re: BlendLuxCore Development

Post by jensverwiebe »

B.Y.O.B. wrote: Sun Feb 18, 2018 5:34 pm Added the contour lines plugin.

I think that was all of them.
In my opinion OUTPUT_SWITCHER is not needed because we now have proper Blender integration for AOVs.

By the way, LuxCore is missing the Glare plugin from Classic Lux.
Looks all fine.
Glare and other s can be as well done with blender compositor. So no big loss ;)
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

True. Some other plugins can also be done in compositor (like bloom or background image).
But I'll leave them, they are quick to use.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

Thanks to Philstix I was inspired to write a material selection dropdown with search feature:
Attachments
scrn_2018-02-18_22-50-40.png
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Development

Post by kintuX »

B.Y.O.B. wrote: Wed Feb 14, 2018 6:32 am Thanks to Philstix we now have a node with IOR presets - and you can even search them comfortably.
This is nice :) tho...

1. Glossy Material is still missing "Use IOR" option ;)

2. Tried using IOR node for Mixing Materials (Matte + Glossy Coat, IOR pluged in 'Mix Factor') but that doesn't work.
'Material 1' gets occluded (black).

3. How can user add presets to IOR node? Is there a 'list' to which one could simply add more?
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

kintuX wrote: Mon Feb 19, 2018 6:59 pm 2. Tried using IOR node for Mixing Materials (Matte + Glossy Coat, IOR pluged in 'Mix Factor') but that doesn't work.
'Material 1' gets occluded (black).
IOR output is a floating point number (e.g. 1.5).
Mix factor is a floating point number that is clamped to 0..1 range (0: only show material 1, 1: only show material 2).
If you put any IOR greater than or equal to 1 into the mix amount, you will only get material 2.
All working as it should ;)

I know what you mean though... you want a texture that evaluates the dot product between camera ray and surface normal.
Maybe we can add that. However I'm not sure it's super useful because most LuxCore materials already include the fresnel effect.
But extra flexibility is never wrong I guess.
kintuX wrote: Mon Feb 19, 2018 6:59 pm 3. How can user add presets to IOR node? Is there a 'list' to which one could simply add more?
You can fork the repo, edit the list and send a pull request as described here: viewtopic.php?f=5&t=9&p=1312#p1312
Here's the list: https://github.com/LuxCoreRender/BlendL ... ets.py#L21
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

kintuX wrote: Mon Feb 19, 2018 6:59 pm 1. Glossy Material is still missing "Use IOR" option ;)
By the way I'm not sure why people keep nagging me about this feature and seem to be super keen on it.
If I look at the code, it just seems to be a scale factor for the specular color: https://github.com/LuxCoreRender/LuxCor ... y2.cpp#L56
So if your IOR is higher, you get a brigher specular color, and if it is lower, you get a darker specular color.
Please enlighten me why this is such a big deal.

Not meaning to sound rude, I'm genuinely interested.
By the way, the wiki says:
https://wiki.luxcorerender.org/LuxCore_SDL_Reference_Manual_v2.0#Type:_glossy2 wrote: IOR of the coating. IOR overrides color Ks if both are specified
But this does not seem to be the case in the actual code.
Which of the two is wrong?
Post Reply