Hi
I am trying to use random per island in Blender 2.83 and luxcore 2.4 and it seems to not work for me.
This is test scene, can someone confirm what I am doing wrong or is it somehow broken thanks.
Random per island help please
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Random per island help please
WIndows 11 Pro Ryzen 7 5700x RTX 3090 32 GB RAM
Re: Random per island help please
The random per island shape code performs a "merge doubles" operation before detecting the islands: https://github.com/LuxCoreRender/LuxCor ... pe.cpp#L43
This should probably be removed for this shape (Cycles doesn't do this).
This should probably be removed for this shape (Cycles doesn't do this).
Re: Random per island help please
I have merged the doubles but still no effect like in sharlybg tutorial:
https://www.youtube.com/watch?v=NO9VE2SxXm0
Still cant figure it out ...maybe sharlybg can check it??
https://www.youtube.com/watch?v=NO9VE2SxXm0
Still cant figure it out ...maybe sharlybg can check it??
WIndows 11 Pro Ryzen 7 5700x RTX 3090 32 GB RAM
-
- Posts: 135
- Joined: Fri Jul 06, 2018 9:32 am
Re: Random per island help please
The initial issue that I had was, that the term "island" is usually used in conjunction with UV islands, which the original poster also seemed to have thought (looking at his file). Aside from that, there really seems to be an issue if the polygon island is just split from the rest of the geometry but isn't moved. As soon as the the split polygons are moved away from the rest of the geometry, the RPI node works. Maybe worth looking into that "double merge" issue.
Last edited by AndreasResch on Wed Mar 03, 2021 12:33 pm, edited 1 time in total.
Re: Random per island help please
This is intended: overlapped edges are considered the same. 2 edges are considered overlapped if the distance of their vertices is less than an epsilon (i.e. something like a 0.00001 meters).AndreasResch wrote: ↑Wed Mar 03, 2021 7:31 am The initial issue that I had was, that the term "island" is usually used in conjunction with UV islands, which the original poster also seemed to have thought (looking at his file). Aside from that, there really seems to be an issue if the polygon island is just split from the rest of the geometry but isn't moved. As soon as the the split polygons are moved away from the rest of the geometry, the RPI node works. Maybe worth looking into that "double merge" issue.
Re: Random per island help please
Maybe the "remove doubles" step could be made optional?
In the Blender addon it would be disabled then, to make the behaviour the same as in Cycles.
In the Blender addon it would be disabled then, to make the behaviour the same as in Cycles.
Re: Random per island help please
It isn't possible (i.e. meshes split by materials, quads split in 2 triangles, etc.). It is something has been already discussed in the original Island thread.