A baking test scene

Discussion related to the LuxCore functionality, implementations and API.
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: A baking test scene

Post by Racleborg »

My workaround for the moment is on the first export to put very obviously different colours to the objects that are similar, grab the number after 1st bake, then re export with the correct material. A bit long winded , but it works. :)
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: A baking test scene

Post by Dade »

I should have fixed the small black-border problem, before:

wrong.jpg

now:

ok.jpg

Note: the problem was in the support for rendering baked objects in LuxCore, not in the baking process, so it was affecting only the rendering inside with LuxCore (not, for instance, with Eevee).

Note 2: it is very important to set the image map wrap mode of baked map to "clamp" (not the default "repeat"), otherwise you get the black border from other side of the map. The latest luxcoreui bake all command does that.
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: A baking test scene

Post by B.Y.O.B. »

Dade wrote: Fri Dec 06, 2019 11:34 am @B.Y.O.B., there may be some kind of regression related to Blender v2.81 (or the use of collections ?)
It was a conscious decision to make my life easier, but I can add the names back.
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: A baking test scene

Post by Racleborg »

Note 2: it is very important to set the image map wrap mode of baked map to "clamp" (not the default "repeat")
Just done this and and then needed to set the UV offset to U 1, V-1. That's correct to what has been said earlier I think?

For new users who don't know this , it might be a bit confusing. Could the V -1 be set under the hood and show V 0 in the node?
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: A baking test scene

Post by FarbigeWelt »

Racleborg wrote: Sat Dec 07, 2019 11:46 am V -1 be set under the hood and show V 0 in the node?
Do you mean V 1 instead of V 0, zero seems not to make any sense.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: A baking test scene

Post by Racleborg »

Do you mean V 1 instead of V 0, zero seems not to make any sense.
...mmmm....thinking :?

I've attached an image (artwork ;) )to hopefully show what I mean. Or maybe I've missed understood something?
Attachments
v0.jpg
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: A baking test scene

Post by Dade »

Racleborg wrote: Sat Dec 07, 2019 8:08 pm
Do you mean V 1 instead of V 0, zero seems not to make any sense.
...mmmm....thinking :?

I've attached an image (artwork ;) )to hopefully show what I mean. Or maybe I've missed understood something?
Unmark uniform scale and use 1,-1 for U and V scale :idea:

Note: scale, not offset.
Support LuxCoreRender project with salts and bounties
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: A baking test scene

Post by Racleborg »

Unmark uniform scale and use 1,-1 for U and V scale :idea:
That explains why things haven't been working out this end. ;) :lol:

Thank you.
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: A baking test scene

Post by Racleborg »

I’m getting some good results with baking textures :D except with the Velvet shader +bump. :?
(Images attached)

With no bump, then all appears good. With any bump (just.5mm in this case), then the result is close to black in Luxcoreui preview (shown), and in the resulting texture.

Maybe the problem is connected to the points that Sharlybg raised regarding the Velvet shader's shadow terminations, but just in case it isn't ....
Thanks
Attachments
.5mm Bumped velvet in luxcoreui.jpg
No umped velvet in luxcoreui.jpg
velvet for bake with bump.jpg
velvet for bake without bump.jpg
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: A baking test scene

Post by Dade »

Racleborg wrote: Mon Dec 09, 2019 11:05 am I’m getting some good results with baking textures :D except with the Velvet shader +bump. :?
Bump should be (and will be) baked in a separate map file. Does it happen without bump too ?
Support LuxCoreRender project with salts and bounties
Post Reply