OSL help

A forum where development builds are posted for testing by the community.
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.
Post Reply
User avatar
Jolbertoquini
Licensed Customer
Posts: 1067
Joined: Sun Aug 31, 2014 7:08 am
Location: London
Contact:

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
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
User avatar
bepeg4d
Octane Guru
Posts: 10387
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi JO,
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
ciao Beppe
Post Reply

Return to “Development Build Releases”