Hi Guys,
I would like to have some help with this OSL script by François Gastaldo http://pressf9.free.fr/compounds/QUIPCam.osl is a OSL cam
https://vimeo.com/68952269 is really interesting to place object on HDRI and build the mesh aswell I can see different ways to do but I was trying with this.. anyway I have Trace errors on this part.
" // Trace Ray for AO
color AOcol = 1.0 ;
float Dist = 1.0 ;
float mixage = 1.0 ;
vector DirTrace = VectorAO ;
int DoTrace = trace (P, DirTrace ) ; //, "maxdist" , maxDistance ) ;
if ( DoTrace) {
// If hit something
int HitTrace = getmessage ("trace", "hitdist" , Dist ) ;"
I know I read on the manual we should use a node connection for the dirt map if we want use this Ao feature any help would be great.
Cheers,
JO
OSL 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:
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
Hi JO,
at a first look, it seems that the script is using the closure color, that is not currently supported by Octane OSL:
ciao Beppe
at a first look, it seems that the script is using the closure color, that is not currently supported by Octane OSL:
Code: Select all
output closure color closureOut = 0.0