Discussion related to the LuxCore functionality, implementations and API.
Dade
Developer
Posts: 5672 Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy
Post
by Dade » Mon Mar 23, 2020 4:14 pm
Omg....
Exporting a quad using 6 vertices instead of 4 is wrong for sure.
How does Cycles work with the default cube from the "island" point of view ? Is it considered a single island or 6 (one for each face) ?
B.Y.O.B.
Developer
Posts: 4146 Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:
Post
by B.Y.O.B. » Mon Mar 23, 2020 4:21 pm
It's a single island in Cycles. As it should be, we're definitely doing something wrong during export.
Dade
Developer
Posts: 5672 Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy
Post
by Dade » Mon Mar 23, 2020 4:33 pm
B.Y.O.B. wrote: ↑ Mon Mar 23, 2020 4:21 pm
It's a single island in Cycles. As it should be, we're definitely doing something wrong during export.
So, apparently Cycles "islands" are base only on vertices position and they disregard Normals/UVs/etc. (?)
Is there a way to test this assumption ? Like with a cube with split normals to see if we still get a single island ?
B.Y.O.B.
Developer
Posts: 4146 Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:
Post
by B.Y.O.B. » Mon Mar 23, 2020 4:43 pm
Dade wrote: ↑ Mon Mar 23, 2020 4:33 pm
So, apparently Cycles "islands" are base only on vertices position and they disregard Normals/UVs/etc. (?)
Yes, the Cycles implementation seems to check only vertices and their edges for connections:
https://github.com/sobotka/blender/blob ... h.cpp#L662
Dade
Developer
Posts: 5672 Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy
Post
by Dade » Mon Mar 23, 2020 4:47 pm
B.Y.O.B.
Developer
Posts: 4146 Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:
Post
by B.Y.O.B. » Mon Mar 23, 2020 4:55 pm
However we should still fix the Blender -> LuxCore mesh conversion, do you want to take that on or should I have a look at it?
Dade
Developer
Posts: 5672 Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy
Post
by Dade » Mon Mar 23, 2020 4:58 pm
B.Y.O.B. wrote: ↑ Mon Mar 23, 2020 4:55 pm
However we should still fix the Blender -> LuxCore mesh conversion, do you want to take that on or should I have a look at it?
I'm not going to touch it for the moment.
lacilaci
Donor
Posts: 1969 Joined: Fri May 04, 2018 5:16 am
Post
by lacilaci » Mon Mar 23, 2020 7:04 pm
B.Y.O.B. wrote: ↑ Mon Mar 23, 2020 4:55 pm
However we should still fix the Blender -> LuxCore mesh conversion, do you want to take that on or should I have a look at it?
Could this also fix custom normals for luxcore or that's a separate issue?
B.Y.O.B.
Developer
Posts: 4146 Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:
Post
by B.Y.O.B. » Mon Mar 23, 2020 7:14 pm
lacilaci wrote: ↑ Mon Mar 23, 2020 7:04 pm
Could this also fix custom normals for luxcore or that's a separate issue?
That's another matter.
Dade
Developer
Posts: 5672 Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy
Post
by Dade » Tue Mar 24, 2020 3:49 pm
Added information to the first post about new: "random" texture, shape "islandaov" and shape "randomtriangleaov".