BG Random UV Projection node

Forums: BG Random UV Projection node
Forum for OctaneRender Lua scripting examples, discussion and support.

BG Random UV Projection node

Postby bepeg4d » Sun Oct 21, 2018 9:57 pm

bepeg4d Sun Oct 21, 2018 9:57 pm
Hi all,
here is an OSL Projection node to randomise position, rotation and scale of the uvs of scattered objects. It uses the Random Color Texture node to obtain the random values, but you can use any other texture node:

https://vimeo.com/296310449
Hint: connect the same Random Color Texture node used to drive the OSL Projection, firstly into a Gradient node to batter control the range, and then in the Power pin of the ImageTexture node, to randomly change also the aspect of the texture over clones:
Capture_30.PNG

Here is the OSL script:
BGrandomUVproj_osl.zip
(931 Bytes) Downloaded 36 times

an .orbx example scene:
BGrandomUVproj_orbx.zip
(368.75 KiB) Downloaded 28 times

and a c4doctane example scene:
BGrandomUVproj_c4d.zip
(465 KiB) Downloaded 33 times


Happy GPU Rendering,
ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 6092
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: BG Random UV Projection node

Postby FxDesign » Thu Oct 25, 2018 4:04 pm

FxDesign Thu Oct 25, 2018 4:04 pm
That's fantastic, thank you
FxDesign
Licensed Customer
Licensed Customer
 
Posts: 80
Joined: Wed Apr 24, 2013 10:47 am

Re: BG Random UV Projection node

Postby funk » Wed Dec 05, 2018 3:45 am

funk Wed Dec 05, 2018 3:45 am
Thanks Beppe. Very handy!
Win10 Pro 64 / Core i7-975 3.33GHz / 12GB RAM / GTX 1080 Ti + GTX 670 / 2x1920x1200 / MODO 12
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
funk
Licensed Customer
Licensed Customer
 
Posts: 615
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Re: BG Random UV Projection node

Postby J.C » Wed Dec 05, 2018 8:48 am

J.C Wed Dec 05, 2018 8:48 am
Wow!. Awesome script. Thanks for sharing Beppe!
CPU – i7 8700k 4.8Ghz + 64GB RAM, GPU – 2xGTX 980 Ti,1xGTX 970
System – OS X 10.12.6, Windows 10, Octane 3.0x/4, Blender Plugin 15.3.4 and 16.x.x
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 676
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 2 guests

Tue Jan 22, 2019 4:21 pm [ UTC ]