Hi Guys,
I was looking around for OSL script for parallax mapping projection and Find this one here http://www.racoon-artworks.de/?p=773 is working for me on the orbx attached I jsut don't know how to changes some parts there to make work.
First is the UVW is based on world space I guess need be on Object space, also then be able to scale the texture as usually UV projection.
This could be really interesting for some projects. Please any help would be great for those who control better the OSL scripting.
Best,
JO
Parallax projections HELP
Forum rules
NOTE: The software in this forum is not %100 reliable, they are development builds and are meant for testing by experienced octane users. If you are a new octane user, we recommend to use the current stable release from the 'Commercial Product News & Releases' forum.
NOTE: The software in this forum is not %100 reliable, they are development builds and are meant for testing by experienced octane users. If you are a new octane user, we recommend to use the current stable release from the 'Commercial Product News & Releases' forum.
- Jolbertoquini
- Posts: 1067
- Joined: Sun Aug 31, 2014 7:08 am
- Location: London
- Contact:
- Attachments
-
- Parallax_mapping.zip
- orbx scene
- (10.55 MiB) Downloaded 545 times
Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
- Jolbertoquini
- Posts: 1067
- Joined: Sun Aug 31, 2014 7:08 am
- Location: London
- Contact:
Jolbertoquini wrote:Hi Guys,
I was looking around for OSL script for parallax mapping projection and Find this one here http://www.racoon-artworks.de/?p=773 is working for me on the orbx attached I jsut don't know how to changes some parts there to make work.
First is the UVW is based on world space I guess need be on Object space, also then be able to scale the texture as usually UV projection.
This could be really interesting for some projects. Please any help would be great for those who control better the OSL scripting.
Best,
JO
I was speaking with @Pascal and he gave me a great idea to replace the line "vector uvwIn = vector(u,v,0)" by "point uvwIn = P" and is working better get the texture displayed properly but I fell the parallax has a offset on the x axis on the UV I don't know how to get that fixed we still looking at

Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
- Jolbertoquini
- Posts: 1067
- Joined: Sun Aug 31, 2014 7:08 am
- Location: London
- Contact:
Hi Guys
It's Alive is working Guys... here scene attached, I think need be adjust the OSL script I'm terrible with that but is working, maybe Dev Team could actually propose a new octane projection node? or just help and have a more clean script.
Big shout out to Pascal and Fadj for the help. they point out some solutions after testing a bit is better!
Here the scene attached.
Best,
JO
It's Alive is working Guys... here scene attached, I think need be adjust the OSL script I'm terrible with that but is working, maybe Dev Team could actually propose a new octane projection node? or just help and have a more clean script.
Big shout out to Pascal and Fadj for the help. they point out some solutions after testing a bit is better!
Here the scene attached.
Best,
JO
- Attachments
-
- Parallax_mapping_Final.zip
- Orbx scene
- (8.05 MiB) Downloaded 451 times
Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
- Jolbertoquini
- Posts: 1067
- Joined: Sun Aug 31, 2014 7:08 am
- Location: London
- Contact:
Hi Guys,
Here a new scene, I adjust a bit actually the 2d transform was wrong my bad! here a great result with other type of texture.
Cheers,
JO
Here a new scene, I adjust a bit actually the 2d transform was wrong my bad! here a great result with other type of texture.
Cheers,
JO
- Attachments
-
- Parallax_Fire.zip
- Orbx_scene
- (5.65 MiB) Downloaded 394 times
Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
- Jolbertoquini
- Posts: 1067
- Joined: Sun Aug 31, 2014 7:08 am
- Location: London
- Contact:
Yes please take the latest orbx scene you can see better I had to invert stuffs to make work please check texture settings and etc.noldo wrote:I try your shader, great result but the shading seems inverted along 1 axis...
I try to investigate.
Edit. Found it, it works with the normal map y inverted.
This will help.
If we are lucky dev team could help us to get something better

Cheers,
JO
Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
- Jolbertoquini
- Posts: 1067
- Joined: Sun Aug 31, 2014 7:08 am
- Location: London
- Contact:
You welcome is a wip, please don't hesitate to share it if you find something better for the script, we manage to get without flip but require more samples, but also we try to get the height texture to be like a imager node cause this case we can tile the textures please let us know.VVG wrote:Thanks!
Cheers,
JO
Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
- Jolbertoquini
- Posts: 1067
- Joined: Sun Aug 31, 2014 7:08 am
- Location: London
- Contact:
Hi There,
The best results are with 2019's beta with OC4.0.5 doesn't work really well the OSL I realize this morning I don't why I guess was some OSL updates...
Best,
JO
The best results are with 2019's beta with OC4.0.5 doesn't work really well the OSL I realize this morning I don't why I guess was some OSL updates...
Best,
JO
Octane Render for Maya.
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w
https://vimeo.com/jocg/videos
https://www.linkedin.com/in/jocgtd
http://www.hmxmedia.com/
--------------------
Join MAYA OCTANE USERS Skype discussion here :
https://join.skype.com/LXEQaqqfN15w