[ISL Help] Concentric circles
- Originalplan®
- Posts: 757
- Joined: Sat Sep 26, 2015 8:58 pm
- 3D Software: Cinema 4D
- Contact:
[ISL Help] Concentric circles
Hey guys & girls.
What is the simplest *easiest way to create concentric circles via ISL on mat surface...dozens of them??
Thank you!
What is the simplest *easiest way to create concentric circles via ISL on mat surface...dozens of them??
Thank you!
Re: [ISL Help] Concentric circles
I was getting a little rusty in ISL, so it was good to brush up again Even found a crashbug in the shader editor along the way!
Without further ado, your material, sir: http://www.indigorenderer.com/materials/materials/1656
Without further ado, your material, sir: http://www.indigorenderer.com/materials/materials/1656
- Originalplan®
- Posts: 757
- Joined: Sat Sep 26, 2015 8:58 pm
- 3D Software: Cinema 4D
- Contact:
Re: [ISL Help] Concentric circles
@lycium THANK YOU!
Re: [ISL Help] Concentric circles
No problem, and thanks Yves/fused for helping me out
- pixie
- Posts: 2332
- Joined: Sat Dec 29, 2007 4:54 am
- Location: Away from paradise
- 3D Software: Cinema 4D
- Contact:
Re: [ISL Help] Concentric circles
Do you want anisotropy? Because that's how'll get anisotropy!
Re: [ISL Help] Concentric circles
Yeah it works off the UV map, so I guess it won't be circles unless the UV map is perfect / undistorted. It's possible to modify it to use the worldspace position or angles or something like that to get around this, but then your object also has to be perfectly aligned.
In any case, let me know if you need any changes.
In any case, let me know if you need any changes.
- pixie
- Posts: 2332
- Joined: Sat Dec 29, 2007 4:54 am
- Location: Away from paradise
- 3D Software: Cinema 4D
- Contact:
Re: [ISL Help] Concentric circles
I cannot get the shader to work on the bump channel, it goes haywire!lycium wrote:Yeah it works off the UV map, so I guess it won't be circles unless the UV map is perfect / undistorted. It's possible to modify it to use the worldspace position or angles or something like that to get around this, but then your object also has to be perfectly aligned.
In any case, let me know if you need any changes.
- Attachments
-
- aniso3.zip
- (572 Bytes) Downloaded 282 times
Re: [ISL Help] Concentric circles
Hmm, I'm not sure exactly what effect you're looking for now. As it is the shader is not really suited to bump mapping, because of that instantaneous change in colour / height; furthermore, the bump map shader expects a single value (real / scalar) and not a colour / vec3.
Try messing with this code in the bump shader:
You can tune the numbers as before in the shader editor, and you can try the other commented line to see if it's maybe more like what you want (put the # before the 2nd line and remove it in the first line after the "in").
Try messing with this code in the bump shader:
Code: Select all
def eval() real :
let
c = getTexCoords(0)
in
#1 - pow(sin(length(c) * 64) * 0.5 + 0.5, 117)
1 - pow(sin(length(c) * 14), 117)
- pixie
- Posts: 2332
- Joined: Sat Dec 29, 2007 4:54 am
- Location: Away from paradise
- 3D Software: Cinema 4D
- Contact:
Re: [ISL Help] Concentric circles
Sadly it doesn't work on GPUlycium wrote:Hmm, I'm not sure exactly what effect you're looking for now. As it is the shader is not really suited to bump mapping, because of that instantaneous change in colour / height; furthermore, the bump map shader expects a single value (real / scalar) and not a colour / vec3.
Try messing with this code in the bump shader:
You can tune the numbers as before in the shader editor, and you can try the other commented line to see if it's maybe more like what you want (put the # before the 2nd line and remove it in the first line after the "in").Code: Select all
def eval() real : let c = getTexCoords(0) in #1 - pow(sin(length(c) * 64) * 0.5 + 0.5, 117) 1 - pow(sin(length(c) * 14), 117)
Re: [ISL Help] Concentric circles
Yeah I noticed that the bump shaders aren't working on GPU at the moment. Pending investigation
- Originalplan®
- Posts: 757
- Joined: Sat Sep 26, 2015 8:58 pm
- 3D Software: Cinema 4D
- Contact:
Re: [ISL Help] Concentric circles
!lycium wrote:No problem, and thanks Yves/fused for helping me out
: ))))))lycium wrote:Pending investigation
Who is online
Users browsing this forum: No registered users and 3 guests