OSL Distort Texture?

Forums: OSL Distort Texture?
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

OSL Distort Texture?

Postby blastframe » Mon Jul 27, 2020 8:21 am

blastframe Mon Jul 27, 2020 8:21 am
Is anyone aware of an OSL texture in Octane that will distort its input image with noise? I'm looking for something similar to C4D's native Distort Effect.
Distort.png


I found this post describing how to do use noise to distort in OSL, but it is for Blender and not using an input image/texture:
https://blender.stackexchange.com/questions/93430/osl-distortion-effect

Thank you!
User avatar
blastframe
Licensed Customer
Licensed Customer
 
Posts: 178
Joined: Wed May 21, 2014 6:01 am
Location: Los Angeles, CA USA

Re: OSL Distort Texture?

Postby Goldorak » Mon Jul 27, 2020 7:15 pm

Goldorak Mon Jul 27, 2020 7:15 pm
we are working on just such a thing for 2020.2
User avatar
Goldorak
OctaneRender Team
OctaneRender Team
 
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm

Re: OSL Distort Texture?

Postby galleon27 » Mon Jul 27, 2020 7:41 pm

galleon27 Mon Jul 27, 2020 7:41 pm
Here is an OSL shader by Rohan Dalvi that does that. Just create a OSL Projection node and load the script. Make sure your object has uvs.
Attachments
uv distort2.zip
(322 Bytes) Downloaded 320 times
Win 10 64bit // GTX 4090 + GTX 3090 // 5900x // 64GB // SideFX Houdini // C4D
User avatar
galleon27
Licensed Customer
Licensed Customer
 
Posts: 240
Joined: Wed Jul 15, 2015 11:55 am
Location: Serbia

Re: OSL Distort Texture?

Postby blastframe » Tue Jul 28, 2020 8:04 am

blastframe Tue Jul 28, 2020 8:04 am
Goldorak wrote:we are working on just such a thing for 2020.2


That's really exciting, Jules, thank you!
User avatar
blastframe
Licensed Customer
Licensed Customer
 
Posts: 178
Joined: Wed May 21, 2014 6:01 am
Location: Los Angeles, CA USA

Re: OSL Distort Texture?

Postby blastframe » Tue Jul 28, 2020 8:04 pm

blastframe Tue Jul 28, 2020 8:04 pm
galleon27 wrote:Here is an OSL shader by Rohan Dalvi that does that. Just create a OSL Projection node and load the script. Make sure your object has uvs.


Thank you @galleon27!! I will give this a try :)
User avatar
blastframe
Licensed Customer
Licensed Customer
 
Posts: 178
Joined: Wed May 21, 2014 6:01 am
Location: Los Angeles, CA USA

Re: OSL Distort Texture?

Postby ArturM » Mon Apr 05, 2021 9:18 am

ArturM Mon Apr 05, 2021 9:18 am
I think I'm trying to achieve a similar effect. Can you tell me please what to do after loading the script?
ArturM
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Sun Oct 20, 2019 9:43 am

Re: OSL Distort Texture?

Postby A.Lopez » Wed Mar 23, 2022 3:46 pm

A.Lopez Wed Mar 23, 2022 3:46 pm
Any news? 202.1 is gone...
A.Lopez
Licensed Customer
Licensed Customer
 
Posts: 60
Joined: Fri Jan 21, 2022 4:20 pm

Re: OSL Distort Texture?

Postby A.Lopez » Wed Mar 23, 2022 3:58 pm

A.Lopez Wed Mar 23, 2022 3:58 pm
Hi galleon, I'm trying to use your osl but I can only move my projection, not distorting...could you please share an example? I would appreciate it a lot, Roy
A.Lopez
Licensed Customer
Licensed Customer
 
Posts: 60
Joined: Fri Jan 21, 2022 4:20 pm

Re: OSL Distort Texture?

Postby bepeg4d » Thu Mar 24, 2022 8:14 am

bepeg4d Thu Mar 24, 2022 8:14 am
Hi,
from 2021.1 there is a new Distorted Mesh UV projection mode, no need to use OSL:
A18E25BF-25F4-4D8A-9995-319C19B0BFF4.jpeg


ciao,
Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9954
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: OSL Distort Texture?

Postby A.Lopez » Fri Mar 25, 2022 9:00 am

A.Lopez Fri Mar 25, 2022 9:00 am
Ciao Beppe! come stai?
Perfetto! grazie
A.Lopez
Licensed Customer
Licensed Customer
 
Posts: 60
Joined: Fri Jan 21, 2022 4:20 pm
Next

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 17 guests

Sat Apr 20, 2024 3:49 am [ UTC ]