how apply random textures to uv mapped polygons?

Forums: how apply random textures to uv mapped polygons?
Newtek Lightwave 3D (exporter developed by holocube, Integrated Plugin developed by juanjgon)

Moderator: juanjgon

how apply random textures to uv mapped polygons?

Postby 3dworks » Tue May 08, 2018 7:30 pm

3dworks Tue May 08, 2018 7:30 pm
is there a way - maybe via OSL - to random texture map a group of polygons which share the same surface and UV map? ideally i would like to use this for curtain planes behind windows, but i can imagine other useful ways as well. i wish to use a set of defined textures which can be integrated into the node network or be loaded at runtime from a folder.

cheers

markus
Specs: Apple MacBook Pro M1 max 64GB 2TB, MacOS 12.5 / MacPro 5,1 with NVIDIA GeForce GTX 1080 8G, MacOS 10.13.6 / Mac Pro 5,1 with AMD RX5700 8G, MacOS 12.3.1 / HP Z600 with NVIDIA 3060 RTX 12G, Windows 10 pro + Netstor GPU box, 4 x NVIDIA GTX 980ti 6G.
User avatar
3dworks
Licensed Customer
Licensed Customer
 
Posts: 294
Joined: Fri May 21, 2010 5:08 pm
Location: Berlin

Re: how apply random textures to uv mapped polygons?

Postby juanjgon » Tue May 08, 2018 9:48 pm

juanjgon Tue May 08, 2018 9:48 pm
Hi,

If they share the same material and UV map and they are not instances I'm not sure if it is going to be possible using the current Octane shader nodes, but probably yes, as you say, an OSL shader could help perhaps building some kind of random UV mapping coordinates.

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: how apply random textures to uv mapped polygons?

Postby 3dreamstudios » Wed May 09, 2018 3:03 am

3dreamstudios Wed May 09, 2018 3:03 am
I think what your asking for is a feature/tool in LWCAD. FYI. I know it's not Octane related, and as you say maybe OSL could help...but I use the feature in LWCAD all the time to help randomize polys on the UV layout grid.
3dreamstudios
Licensed Customer
Licensed Customer
 
Posts: 479
Joined: Fri Apr 03, 2015 8:55 pm

Re: how apply random textures to uv mapped polygons?

Postby 3dworks » Wed May 09, 2018 10:57 am

3dworks Wed May 09, 2018 10:57 am
3dreamstudios wrote:I think what your asking for is a feature/tool in LWCAD. FYI. I know it's not Octane related, and as you say maybe OSL could help...but I use the feature in LWCAD all the time to help randomize polys on the UV layout grid.


interesting, which feature specifically are you refering to? i have LWCAD, but not sure if i understand what workflow could be used? cheers markus
Specs: Apple MacBook Pro M1 max 64GB 2TB, MacOS 12.5 / MacPro 5,1 with NVIDIA GeForce GTX 1080 8G, MacOS 10.13.6 / Mac Pro 5,1 with AMD RX5700 8G, MacOS 12.3.1 / HP Z600 with NVIDIA 3060 RTX 12G, Windows 10 pro + Netstor GPU box, 4 x NVIDIA GTX 980ti 6G.
User avatar
3dworks
Licensed Customer
Licensed Customer
 
Posts: 294
Joined: Fri May 21, 2010 5:08 pm
Location: Berlin

Re: how apply random textures to uv mapped polygons?

Postby 3dreamstudios » Thu May 10, 2018 7:53 pm

3dreamstudios Thu May 10, 2018 7:53 pm
3dworks wrote:
3dreamstudios wrote:I think what your asking for is a feature/tool in LWCAD. FYI. I know it's not Octane related, and as you say maybe OSL could help...but I use the feature in LWCAD all the time to help randomize polys on the UV layout grid.


interesting, which feature specifically are you refering to? i have LWCAD, but not sure if i understand what workflow could be used? cheers markus


I may not understand your request, sorry if this doesn't help. But under LWCAD Cad Modify, there is a Random section...then a UV Random. This will allow you to randomize the placement of the UV's on polys...so you don't get a repeating pattern typically, but could be used for other techniques too I guess.
3dreamstudios
Licensed Customer
Licensed Customer
 
Posts: 479
Joined: Fri Apr 03, 2015 8:55 pm

Re: how apply random textures to uv mapped polygons?

Postby 3dworks » Thu May 10, 2018 10:39 pm

3dworks Thu May 10, 2018 10:39 pm
3dreamstudios wrote:
3dworks wrote:
3dreamstudios wrote:I think what your asking for is a feature/tool in LWCAD. FYI. I know it's not Octane related, and as you say maybe OSL could help...but I use the feature in LWCAD all the time to help randomize polys on the UV layout grid.


interesting, which feature specifically are you refering to? i have LWCAD, but not sure if i understand what workflow could be used? cheers markus


I may not understand your request, sorry if this doesn't help. But under LWCAD Cad Modify, there is a Random section...then a UV Random. This will allow you to randomize the placement of the UV's on polys...so you don't get a repeating pattern typically, but could be used for other techniques too I guess.


thanks, will have a look into that! :-)
Specs: Apple MacBook Pro M1 max 64GB 2TB, MacOS 12.5 / MacPro 5,1 with NVIDIA GeForce GTX 1080 8G, MacOS 10.13.6 / Mac Pro 5,1 with AMD RX5700 8G, MacOS 12.3.1 / HP Z600 with NVIDIA 3060 RTX 12G, Windows 10 pro + Netstor GPU box, 4 x NVIDIA GTX 980ti 6G.
User avatar
3dworks
Licensed Customer
Licensed Customer
 
Posts: 294
Joined: Fri May 21, 2010 5:08 pm
Location: Berlin

Re: how apply random textures to uv mapped polygons?

Postby adkkda » Sat May 12, 2018 12:38 am

adkkda Sat May 12, 2018 12:38 am
User avatar
adkkda
Licensed Customer
Licensed Customer
 
Posts: 32
Joined: Tue Aug 06, 2013 3:13 am

Re: how apply random textures to uv mapped polygons?

Postby 3dworks » Sat May 12, 2018 8:33 am

3dworks Sat May 12, 2018 8:33 am
adkkda wrote:This is how it works ...
https://www.youtube.com/watch?v=ej29Ye6jhZ0


thank you!
Specs: Apple MacBook Pro M1 max 64GB 2TB, MacOS 12.5 / MacPro 5,1 with NVIDIA GeForce GTX 1080 8G, MacOS 10.13.6 / Mac Pro 5,1 with AMD RX5700 8G, MacOS 12.3.1 / HP Z600 with NVIDIA 3060 RTX 12G, Windows 10 pro + Netstor GPU box, 4 x NVIDIA GTX 980ti 6G.
User avatar
3dworks
Licensed Customer
Licensed Customer
 
Posts: 294
Joined: Fri May 21, 2010 5:08 pm
Location: Berlin

Return to Lightwave 3D


Who is online

Users browsing this forum: No registered users and 21 guests

Fri Apr 26, 2024 7:17 am [ UTC ]