News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Turbolux Materials Rendering Issues

Started by knute971, February 22, 2023, 08:43:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knute971

I am working on a rendering of a kitchen that contains 14 oak cabinets.  Each cabinet consists of a shell, doors, panels, stiles and rails -- probably 50 to 80 parts.

After spending considerable time trying to find a material that renders realistically (almost), I have the following questions:

1. Is there a way to change the current material to the desired material without having to facet edit each and every part, select none, and then reassign the desired material?  Is there a bulk material edit? (I could redefine the current material names to the desired material settings, but that would destroy the original and might be a last resort.)

2. My rendering gets monotonous because all parts are using the same grain patterns.  I tried copying the material and changing the orientation to 0, 90, 180, and 270 degrees, but that doesn't really resolve the problem.  I have attached Drawing 1 which contains one cabinet and uses only 0 and 180 degree grain patterns.

3. With all the parts having similar materials, the individual parts don't really stand out when rendered.  I tried changing the wireframe line thickness, but that is ignored in the rendering.  How can I highlight the individual parts?

4. As a separate issue, I have noticed that the Drawing Setup/Turbolux screen contains a check box for "Use Lights" but the TC Help manual does not and needs an updated explanation of the option.  I am somewhat confused as to how to use this option.

 
You cannot view this attachment.
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

Torfinn

I'm not a renderguy, but copy the material and give it name that end with -copy or -org in example, then you can adjust the old material by adjust the picture to your like, and if you are not happy with the result you still have the org material picture, then delete that and take away the -copy or what you used and you are back when render next time
This way will change all the different parts that used that material based on that specific picture in one go.

Right click on a teacup and check Renderable objects and Supress Hidden Lines and it will look like attached.

This is just a simple way to do it, others may have better idea's, so wait a bit and see :)

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Andy H

Quote4. As a separate issue, I have noticed that the Drawing Setup/Turbolux screen contains a check box for "Use Lights" but the TC Help manual does not and needs an updated explanation of the option.  I am somewhat confused as to how to use this option.

Use lights, refers to the standard TC lights one normally accesses in design director - lights.  With it turned on, the lights in design director (headlight, point, ambient etc), will work in the TL scene.  So one could, if one wished, turn off environment and luminance lighting in TL scene settings, and simply use the standard lights, like one would have done in the past with Lightworks or RedSDK.

It was introduced in one of the patches (build 35.1), and not available if someone was still using the original TC build. Probably why the help file doesn't mention it.

Like most things there are pro's and con's.  Environment and luminance, gives better shadows,  are more realistic, allow more variety of lighting. And are the recommended way to Illuminate a scene in Luxcore.  Standard lights are easy to set up, adjustable in design director, (no confusing dialogs). And people are probably more familiar with them. 

It is possible to use both in the same scene. though possibly not recommended.  The lights can be a bit bright.  So in some circumstances may require turning down to 0.25w or lower.

Andy H

Quote1.
Is there a way to change the current material to the desired material without having to facet edit each and every part, select none, and then reassign the desired material?  Is there a bulk material edit? (I could redefine the current material names to the desired material settings, but that would destroy the original and might be a last resort.)

Two settings, Program setup - advanced preferences.  Ensure, 'transfer materials from operand on its facet' is NOT ticked.  Then in material palette, right click and ensure 'Drag on facet' is NOT ticked.

One can normally tell if materials is facet applied, because when a part is selected, more than one material is highlighted in the material palette.   With both the above turned off. any material applied is set for all facets of the selected object. and are essentially the base material affecting the whole object.   

Unfortunately, once you have applied a material to facets, you need to use facet edit mode. to get rid of it, The base material is normally the one shown in object properties, facet material override this base, on any facets that were dragged onto.

Personally, I 'Rarely (almost never)' drag a material onto an object,  I prefer to select the object, right click the material required and use 'Set Material'.  Drag on facet is always turned off.  this way I can change all faces of an object at once, simply by changing the material.  There are times when facet material are very useful.  Like a cutaway drawing of a mechanical component. For that I used facet edit, and apply material.

If one has facet material applied, and don't want them.  Ensure drag on facet is not ticked,  use the facet edit tool, select part, Control + A, right click in the material palette, and choose set none.  This will switch all faces to use the base material.  whether that's another material or pen colour, depends on how the facet material was originally applied.  Very occasionally things can be stubborn, but usually this is when opening older drawings.

Orientation of the base material, depends on how the object was drawn, and which workplane wat set the the time.  Sometimes orientation is easier by just having more than one material, Or in some circumstances, it is necessary to  change the object reference by using the boolean add method. (draw a box, orientate it, put it inside the object,  boolean add - selecting object and then box).  Works most of the time.


Andy H

#4
For object definition.  That is more fiddly. And Torfinn's suggestion is a very good way for ensuring the object edges are defines.  Normally one relies on shadows, specular features, and slight tone differences to tell objects apart.

With dark materials, normal definition is harder to achieve as shadows don't show up as good.  Where the door sits against the cabinet. it can sometimes help to introduce a gap, say 1mm. Which the renderer will then use to create a shadow.  but again, these don't always show up well, on dark materials.

Also.  whilst environment maps are good,  they can reduce any shadow or specular effect.  I would suggest in addition to a map, also using a luminance or even Turbolux scene - sun, with the gain turned right down, say, 0.00002 in all three boxes. 

DonCW

Quote from: knute971 on February 22, 2023, 08:43:40 PMI am working on a rendering of a kitchen that contains 14 oak cabinets.  Each cabinet consists of a shell, doors, panels, stiles and rails -- probably 50 to 80 parts.

After spending considerable time trying to find a material that renders realistically (almost), I have the following questions:

1. Is there a way to change the current material to the desired material without having to facet edit each and every part, select none, and then reassign the desired material?  Is there a bulk material edit? (I could redefine the current material names to the desired material settings, but that would destroy the original and might be a last resort.)

2. My rendering gets monotonous because all parts are using the same grain patterns.  I tried copying the material and changing the orientation to 0, 90, 180, and 270 degrees, but that doesn't really resolve the problem.  I have attached Drawing 1 which contains one cabinet and uses only 0 and 180 degree grain patterns.

3. With all the parts having similar materials, the individual parts don't really stand out when rendered.  I tried changing the wireframe line thickness, but that is ignored in the rendering.  How can I highlight the individual parts?

4. As a separate issue, I have noticed that the Drawing Setup/Turbolux screen contains a check box for "Use Lights" but the TC Help manual does not and needs an updated explanation of the option.  I am somewhat confused as to how to use this option.

 
You cannot view this attachment.
Quote from: Andy H on February 23, 2023, 01:09:19 AM
Quote1.
Is there a way to change the current material to the desired material without having to facet edit each and every part, select none, and then reassign the desired material?  Is there a bulk material edit? (I could redefine the current material names to the desired material settings, but that would destroy the original and might be a last resort.)

Two settings, Program setup - advanced preferences.  Ensure, 'transfer materials from operand on its facet' is NOT ticked.  Then in material palette, right click and ensure 'Drag on facet' is NOT ticked.

One can normally tell if materials is facet applied, because when a part is selected, more than one material is highlighted in the material palette.   With both the above turned off. any material applied is set for all facets of the selected object. and are essentially the base material affecting the whole object.   

Unfortunately, once you have applied a material to facets, you need to use facet edit mode. to get rid of it, The base material is normally the one shown in object properties, facet material override this base, on any facets that were dragged onto.

Personally, I 'Rarely (almost never)' drag a material onto an object,  I prefer to select the object, right click the material required and use 'Set Material'.  Drag on facet is always turned off.  this way I can change all faces of an object at once, simply by changing the material.  There are times when facet material are very useful.  Like a cutaway drawing of a mechanical component. For that I used facet edit, and apply material.

If one has facet material applied, and don't want them.  Ensure drag on facet is not ticked,  use the facet edit tool, select part, Control + A, right click in the material palette, and choose set none.  This will switch all faces to use the base material.  whether that's another material or pen colour, depends on how the facet material was originally applied.  Very occasionally things can be stubborn, but usually this is when opening older drawings.

Orientation of the base material, depends on how the object was drawn, and which workplane wat set the the time.  Sometimes orientation is easier by just having more than one material, Or in some circumstances, it is necessary to  change the object reference by using the boolean add method. (draw a box, orientate it, put it inside the object,  boolean add - selecting object and then box).  Works most of the time.



I don't know if this will help you but, have a look on Don Cheke's website under 'Turbocad Tips' #6. It's about seeding materials, I remember it worked well using Lightworks and maybe you can implement into Turbolux.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

knute971

Torfinn,

I finally did as you suggested and copied and renamed the materials.  That worked!

Regarding:
Quote from: Torfinn on February 22, 2023, 09:26:31 PMRight click on a teacup and check Renderable objects and Supress Hidden Lines and it will look like attached.
I tried this approach and really didn't like the results.

Quote from: Andy H on February 23, 2023, 01:58:28 AMWhere the door sits against the cabinet. it can sometimes help to introduce a gap, say 1mm. Which the renderer will then use to create a shadow. 
I am going to try the gap method and then work on luminance and lights.  I tried in my full kitchen rendering to assign a luminance to the ceiling (AVSP2..), but that didn't seem to change anything.  I also tried to simulate a high hat over the sink with a ball and spot luminance -- also no effect, with the "Use lights" checked.

Don CW,
I did try the seeding method, but I found that I had to seed each and every part -- too tedious.

Thanks to all for the help and suggestions!

DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

DonCW

Quote from: knute971 on February 23, 2023, 09:33:00 AMTorfinn,

I finally did as you suggested and copied and renamed the materials.  That worked!

Regarding:
Quote from: Torfinn on February 22, 2023, 09:26:31 PMRight click on a teacup and check Renderable objects and Supress Hidden Lines and it will look like attached.

One more method to try. Seed one large piece then slice it onto sizes you need.[Even the size of a sheet of plywood would work] If all four door rails are the same dimension create one length long enough and slice it that into the 4 pieces. I believe you'd don't have to seed each piece, probably creating a few then rotating them, turning them end to end would give you a good finished product

I tried this approach and really didn't like the results.

Quote from: Andy H on February 23, 2023, 01:58:28 AMWhere the door sits against the cabinet. it can sometimes help to introduce a gap, say 1mm. Which the renderer will then use to create a shadow. 
I am going to try the gap method and then work on luminance and lights.  I tried in my full kitchen rendering to assign a luminance to the ceiling (AVSP2..), but that didn't seem to change anything.  I also tried to simulate a high hat over the sink with a ball and spot luminance -- also no effect, with the "Use lights" checked.

Don CW,
I did try the seeding method, but I found that I had to seed each and every part -- too tedious.

Thanks to all for the help and suggestions!


DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

knute971

Just for comparison, I saved Drawing1 in TC2021 format and redid the rendering with Lightworks material.

Perhaps the TC2022 rendering needs more work with lighting and materials definition, but I am disappointed to say that the Lightworks rendering seems to be better.
                                         
TC2022You cannot view this attachment. TC2021You cannot view this attachment.

BTW, I just want to commend Andy H on his Turbocad Turbolux compilation, H.Hubich on his Photorealism in Turbocad and Don Cheke on his tutorials, especially #36 & #41.  I regularly refer to these excellent sources.
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

Andy H

I'm certainly no expert on rendering, not like Darrel or Majo.  But dark wood is not the easiest for definition.

I had a play with the wood, set to glossy, changed the gain to be slightly different on the rails, panel and body. brought the doors slightly forward. and added a sphere light, to give a touch or reflection.

I got rid of all the facet stuff. If you fancy trying to change things, ensure 'drag on facet' is turned off first.

knute971

Quote from: Andy H on February 23, 2023, 03:18:18 PMadded a sphere light, to give a touch or reflection

Andy,

What were the details of the sphere light?  I have been poring over your Turbolux compilation on Luminance and am confused and would like to see a real world sample.
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

Andy H

The sphere light, emits light just like a normal light bulb, in all directions around the source or position.  In the file above, I attached it to a small 1 inch diam sphere object, which is above the cabinet.

Real world example. Next to my computer desk, I have a standard lamp, which I use instead of ceiling lights. (If Standard lamp doesn't translate to American, its a lamp on top of a pole attached to a base, sat on the floor).  Just like the controls of the sphere light, I can change the bulb size (radius), the power or colour.   Efficacy I have no control over as its set by the makers of the bulb.  Gain doesn't apply to normal bulbs.  Though I guess one could think of it as a dimmer switch on steroids mixed with LSD.

The difference is position.

Position may be needed because on many occasions the light would be attached to a solid opaque object.   To be more realistic, one could change the object material to ArchGlass, set material IOR to 1.05, and set position to 0,0,0.  But I don't bother, I just set the position outside the object.  Or set the radius larger then the radius of the source object.

The point luminance, or standard TC point light, is very similar, but they don't have radius setting.  For true realism, one could use MapSphere, and assign IES light data from the manufacturers. (if you can find any). But none of my renders ever need to be that accurate, so I've never bothered with IES.

Not sure if that helps or not.

Jeff_in_90620

Quote from: knute971 on February 22, 2023, 08:43:40 PMMy rendering gets monotonous because all parts are using the same grain patterns.

Henry Hubich had advice to altering the wood grain patterns in different objects to do just that, but my experimentation with TurboLux yielded no joy.

If you are willing to add multiple copies of the wood grain definition and alter the UV Delta in each one to adjust its offset as shown in the attached images, you can get more realistic results.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)