LUXUS FOR CARRARA - Initial Experiments

2

Comments

  • Did you spot the mistake?

    Sorry, but the pdf for Glass (here) had a glaring mistake in it... the normals were reversed. Here's a corrected version attached.


    JUST TO EMPHASISE THE POINT
       In Carrara backfaces are treated as frontfaces, so normal direction can be neglected or overlooked (or at least I have been doing so!) When rendering in LUX Render this is critical and I have no excuse not to have spotted it for I met this brutal fact when using meshes as light emitters before, plus the fact that I struggled with the Glass shader not realising the simple solution was checking the normals. As a side: to check the normals, click the 'Hide Backface' option in the Assembly Room under the General TAB.

    image

    My apologies, once again - I must be getting old - LOL!

    pdf
    pdf
    G LUX Setting Guide.pdf
    265K
  • Applying what I've discovered thus far...

    image

    For comparison original posted here

    image

  • mindsongmindsong Posts: 1,693
    Selinita said:

    Did you spot the mistake?

    ...

    My apologies, once again - I must be getting old - LOL!

    You are saving us all huge chunks of life as you share your learning. You have no idea how much these threads are enjoyed and appreciated!

    We are all getting old, but these shortcuts you share may mean we actually get some of this stuff done before we are ... too old ...

    bravo!

    --ms

  • ..a quick word on the Cauchy B value...

    IT'S COMPLICATED

  • Persona Non GrataPersona Non Grata Posts: 1,365
    edited July 2019

    Just joking...

    But to be 'serious' I would say that a value around 1.2 gives a fairly acceptable effect for most materials.

    image image


    If you want to push the effect, a ceiling of 4.2 should suffice

    image

    Post edited by Persona Non Grata on
  • mindsongmindsong Posts: 1,693

    that prism-matic refraction/distortion you're getting out of it - very cool.

    --ms

  • Persona Non GrataPersona Non Grata Posts: 1,365
    edited July 2019

    Metal2:Further thoughts...

    Luxus comes with presets; Aluminum (this should be Aluminium - you can change it in the Lusux.txt file in the usual extensions folder); Amorphous Carbon; Copper, Gold and Silver. However, it is possible to specify your own SOPRA file, which a careful search on-line can procure you. The following are examples of Aluminium amalgates for comparison.

    image

    Aluminium

    image

    Aluminium Oxide (Palik)

    image

    Aluminium Arsenide

    image

    Aluminium Arsenide (Temp 626 C)

    image

    Aluminium Copper

    image

    Aluminium Oxynitride

    image

    Aluminium Antimonide

    image

    Aluminium Silicon

    image

    Aluminium Silicon Titanium

     

    Post edited by Persona Non Grata on
  • Persona Non GrataPersona Non Grata Posts: 1,365
    edited July 2019

    AreaLights

    The cube is 5x5x5 and the following table shows the effect of varying sized planes set at a top distance of 12...

    image

    Size: 12x12

    image

    Size: 6x6

    image

    Size: 3x3

    image

    Size: 1.5x1.5

    image

    Size: 0.75x0.75

    image

    Size: 0.375x0.375

    IES Files:

    Lights can be further affected by IES (a good supply can be found here.)

    image

    Size: 3x3
    IES: Corelite DIVIDE RECESSD LED 3000K
    DRI-WD-1L30-UNV-22-T1-STD

    image

    Size: 3x3
    IES: Corelite Z3 RECESSD LED 3000K
    CCT Z3-WD-1L30-LD5-UNV-22

    image

    Size: 3x3
    IES: Corelite R3 RECESSD FLUORESCENT
    R3-WB-1T8-2X2


    NOTE:

    1. The shader on the cube is a LUX Materials Mix shader comprising of a GlossyCoating over a Lux NULL Material mixed with a plane Matte, all controlled by a greyscale texture map.
    2. When using LUX Materials Mix, make sure that you are mising two different types; I found mixing between two Mattes produced a dull grey image...
    Post edited by Persona Non Grata on
  • Persona Non GrataPersona Non Grata Posts: 1,365
    edited July 2019

    A sparce overview of the Rough Glass settings using red as a base in the form of one PDF...

    image

    pdf
    pdf
    RG LUX Settings Guide.pdf
    195K
    Post edited by Persona Non Grata on
  • I forgot to mention that the "Depth" parameter listed under LUX Rough Glass is infact 'Cauchy B' - you can change it in the Luxus.txt file in the usual Extensions folder...

    image

    ..and the result...

    image

  • Bump, Displacement and Loop SubD

    image

    Bump

    image

    Displacement - No SubD

    image

    SubD Level 2


    NOTE:

    1. Bump and Normal maps can be used as normal (ie in the Carrara shader)
    2. Displacement can be set using Carrara's displacement tab
    3. SubD is controlled by the Extra Adaptive Steps
  • 3drendero3drendero Posts: 2,017
    Looks like a shader pack is ready soon... will it be sold at Daz3d store or elsewhere?
  • Nooooooo!!!

    I'm just sharing what I'm discovering - anyone can use this info and make a 'pack' if they so choose. Besides LUXUS for Carrara doesn't interface with LuxCoreRender and a saved .lux file won't run in it either. So I'm probably "flogging a dead horse" as they say.

    I did read somewhere that a shadowcatcher was going to be implemented in Luxrender v1.6, but I can't see that it was ever the case. LuxRender via LUXUS for Carrara had (still has) great potential, was not finished, has one or two minor errors (as I've highlighted) and is a lot, lot cheaper than the current favourite (Oc.......)

  • makmamakma Posts: 54

    Thank you so much for your effort! This thread is amazing!!! Your findings are very helpful.

    I set up a simple scene to use Luxrender and have found it very quick in rendering on my new rig. But I'm stuck with PBR shader set up. Don't know how to set up roughnes maps – what slot- and what Luxrender material is good for PBR shader set up at all. Any idea? Are you gonig to check it out some day?

    Yes, it is abandonedware but very powerful and quick to render photorealistic images. Its' excellent online help is very useful. Much better than LuxCoreRender one. For Carrara users it is a very interesting alternative render engine. I hope more of them will test it and use in their projects.

    It's a pity that there is no new Luxus for LuxCoreRender that seems to be a follow up of Luxrender. Maybe some day before everyone will convert to Blender EEVEE.

  • Hi makma,

    Thanks for your comment... I'm certainly going to have a look at getting textures from 3D-Coat over to Carrara and out to LUX Render, but at this stage I don't know enough about the various maps AO, Gloss, Metal, Rough, etc and what they represent to know what to do with them. Feel free to post anything you discover...

     

  • INITIAL Experiments with Textures from 3D-Coat


    IMAGE 1:
    Textured box in 3D-Coat using a gloss and a matt layer (Click on detail to see the big picture!)

    image


    IMAGE 2:
    Colour and Gloss maps produced and applied to model in Carrara

    image


    NOTE:

    1. Use LUX Gloss or LUX Gloss Translucent as there is a gloss element
    2. Apply 3D-Coat exported Colour map to Diffuse
    3. Set Specular to a low value and calculate the requisite IOR (see above for the formula to use)
    4. Apply 3D-Coat exported Gloss map to both Roughness U and Roughness V

    Simples !

  • ..and

    IMAGE 1
    Gloss, Colour and Displacement. (Click on detail for the bigger picture!)
    image


    IMAGE 2
    Maps applied to model in Carrara
    image


    NOTE:

    1. 3D-Coat will save a displacement map along with a text file describing the height of the map to be applied which is in mm so needs to be divided by 100 to get the correct displacement amplitude for LUX Render, which likes meters....
  • REIVAXREIVAX Posts: 70
    edited July 2019

    hello bonjour selinita

    39 tutorial for luxrender from one creator start here

    de la part d'un des createur;

     

    la playlist

    https://www.youtube.com/playlist?list=PLujxSBD-JXgnGmsn7gEyN28P1DnRZG7qi

    son site contient de petite perle

    her web page

    https://users.cg.tuwien.ac.at/zsolnai/

    luxrender s'appelle luxcorerender et est toujours opensource

    avec une bonne documentation du moins pour moi

    https://luxcorerender.org/download/

    Amicalement

     

    Post edited by REIVAX on
  • @REIVAZ - C'est génial, ce video et le livre en-ligne! Merci encore!!

    This video is basically an introduce to a course that may or may not be available, but there's an on-line book (Physically Based Rendering 3rd Edition) that some might find interesting at http://www.pbr-book.org/3ed-2018/contents.html. There are also very interesting videos by this same author, including granular simulations as applied to water, jello (jelly) and making the MonaLisa come alive...

  • I forgot to mention...

    image

    Original posted above

    image

    Gloss map inverted 


    NOTE:

    1. You will need to 'Invert Colour' the gloss map to get an accurate disctribution across your model.
    2. The difference in perceived colour is due to the inverted gloss map and could be adjusted by altering the following parameters; 'Tone Mapping,' 'Colo[u]r Space' and 'Film Response.'
  • Velvet

    This take a long time to render and is prone to fireflies...

    image


    NOTE:

    1. It is best to use the 10000% slider and remember that a setting of 10,000 is actually 100 (divide by 100)
    pdf
    pdf
    V LUX Settings.pdf
    270K
  • Homogeneous volumes

    image

    pdf
    pdf
    H LUX Settings Guide.pdf
    242K
  • makmamakma Posts: 54
    edited July 2019

    Hi, Selinita!

    Thank you for an inspiration. I'm not a scientific mind but to learn Luxrender some systematic approach should help. Below there are a few of my attempts to get to grip with Luxrender PBR materials out of the map sets I've found around.

    I put roughness map in roughness slots/channels and additionaly a roughness map in specularity slot. Changing brightness of that map I got different specularity effects. Furhtermore the light source makes a difference so I show you three sets with 0, 50, 100 % of brightness of roughness map in specularity slot below. Sun light, sky2, infinity.

     

    sun rough in spec.jpg
    900 x 319 - 358K
    sky2 rough in spec.jpg
    900 x 319 - 350K
    infinity rough in spec.jpg
    900 x 319 - 361K
    Post edited by makma on
  • makmamakma Posts: 54
    edited July 2019

    Additonaly I rendered a metalness map in specularity slot with a second trial with inverted color of metalness map. Find the results below.

     

    Not much but helps me to control the PBR materials with maps but numbers. Curious about the other materials in Luxrender. Next discoveries soon, hope.

     

    sun metalness in spec.jpg
    900 x 506 - 671K
    Post edited by makma on
  • Hi makma,

    You're off to a great start! Thanks for sharing your findings - I like the metalness tests yes

  • makmamakma Posts: 54

    Hi Selinita,

    Thank you.

    A glossy coated is the material I'm after, I see. With base material maps only: diffuse, hight-map in bump slot, metalness in specularity slot, IOR 1,3 (not sure is that necessary).

     

    infinity glossy coated metalness in spec.jpg
    721 x 563 - 495K
  • makmamakma Posts: 54

    I can use roughness map instead for metalness but the result is different (left) and inverting it makes the material almost metallic (right)

     

    infinite glossy coated roughness and rougness inverted in spec IOR 1,3 bump.jpg
    1000 x 563 - 752K
  • makmamakma Posts: 54
    edited September 2019

    And "flogging dead horse” again? No, The „horse” is still alive and happy to gallop. To me it gives me a perfect opportunity to learn more on unbiased rendering and the only method to get .exr file from Carrara so far.

    My old file of candles project has come handy to learn area lights, glossy transparency and glass materials. Is seems to be OK. Took about 2 hours of rendering time. Unfortunately I couldn't set up path tracer for quick rendering the caustics. So I used a bidir engine thus eliminating the GPU rendering at all. The second picture is in real resolution.

    candles012 z exr shadows up 600.jpeg
    2000 x 2624 - 326K
    candles012 z exr shadows up 600 clouseup.jpeg
    869 x 1006 - 110K
    Post edited by makma on
  • makmamakma Posts: 54

    On blenderartist site they discussed the best rendering engine for caustics with high appreciation on LuxRender caustics capacity. Curious to find out what it is in real I set up a simple scene to render caustics in Carrara. The result is below. With higher number of both eye and light rays.

    cautsics 01 bidir.jpeg
    1000 x 750 - 59K
Sign In or Register to comment.