Request ; Random Per island Node

Use this forum for general user support and related questions.
Benny
Posts: 7
Joined: Mon Mar 16, 2020 1:34 pm

Request ; Random Per island Node

Post by Benny » Mon Mar 16, 2020 1:57 pm

Can this node be included with Luxcore in the near future :

- For making fast random colorvariation for Plants tree etc,.....
- For joined objects that need colervariation ,bump ,roughness etc...
Attachments
000 Screenshot_1.png

User avatar
Dade
Developer
Posts: 3923
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Request ; Random Per island Node

Post by Dade » Mon Mar 16, 2020 2:09 pm

Isn't already possible to achieve the same result using Object ID texture :?:

I remember some work has been done in BlendLuxCore about this topic.
Support LuxCoreRender project with salts and bounties

Benny
Posts: 7
Joined: Mon Mar 16, 2020 1:34 pm

Re: Request ; Random Per island Node

Post by Benny » Mon Mar 16, 2020 2:55 pm

No, can not be done with OBject id texture /color .

Only solution is to use random vertex color , but this verry slow to assign , compared to the new node with cycles Random Per island

juangea
Donor
Posts: 109
Joined: Thu Jan 02, 2020 6:23 pm

Re: Request ; Random Per island Node

Post by juangea » Tue Mar 17, 2020 8:55 am

Dade, as Benny says it’s not possible right now.

Object ID gives random color per object, what that node does is to give random values per island, with this I mean that you can have 1 object with 10 leafs for example, and using that node inside the shader of that object will give you color variation in all the leafs, they are 1 object, not 10 objects, the object has 10 separated geometric parts,

Right now it’s impossible to generate random values for separated parts inside the same object, this was an option added to cycles recently, and it’s super important to give variation on floors, trees and plants, etc...

User avatar
Sharlybg
Donor
Posts: 1824
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Request ; Random Per island Node

Post by Sharlybg » Tue Mar 17, 2020 9:44 am

let me find a link it seem there is remap node for that purpose.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

User avatar
Dade
Developer
Posts: 3923
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Request ; Random Per island Node

Post by Dade » Tue Mar 17, 2020 10:36 am

juangea wrote:
Tue Mar 17, 2020 8:55 am
Object ID gives random color per object, what that node does is to give random values per island, with this I mean that you can have 1 object with 10 leafs for example, and using that node inside the shader of that object will give you color variation in all the leafs, they are 1 object, not 10 objects, the object has 10 separated geometric parts,

Right now it’s impossible to generate random values for separated parts inside the same object, this was an option added to cycles recently, and it’s super important to give variation on floors, trees and plants, etc...
I can write shape that can assign vertex colors based on this "island" concept. It is something to do as pre-processing because, indeed, I can not establish what is an "island" at run-time (during the rendering).

I could introduce this "island" concept in general: does Blender has this mesh information ? Can it be exported ?
Support LuxCoreRender project with salts and bounties

User avatar
Sharlybg
Donor
Posts: 1824
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Request ; Random Per island Node

Post by Sharlybg » Tue Mar 17, 2020 11:07 am

IS that enough for your need ?
Random island.jpg
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

juangea
Donor
Posts: 109
Joined: Thu Jan 02, 2020 6:23 pm

Re: Request ; Random Per island Node

Post by juangea » Tue Mar 17, 2020 11:16 am

All those boxes are joined in a single object?

If they are not, join them in a single mesh with a single material, and you will see no color variation, that's where the "random per island" comes into play.

Benny
Posts: 7
Joined: Mon Mar 16, 2020 1:34 pm

Re: Request ; Random Per island Node

Post by Benny » Tue Mar 17, 2020 11:28 am

For more information you can take a look here :D ; Blender 2.82 & 2.83 etc... : https://developer.blender.org/rB1c2f7b022a
Attachments
Screenshot_2.png
000 jarch sv quad script .jpg

User avatar
Sharlybg
Donor
Posts: 1824
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Request ; Random Per island Node

Post by Sharlybg » Tue Mar 17, 2020 11:28 am

Aah now i understand your particular need. This is in Devs side :D
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

Post Reply