Hey all,
I'm setting up a standard shader for our studio and I have some questions about osl support in VRay Next for Maya (Windows 10).
- Can I pass a string to texture() and expect it to work? I saw an old forum post (https://groups.google.com/forum/#!to...ev/vb0-1Cbvz7o) saying it wasn't supported but I think I've seen examples of working since then? Not sure.
- While testing texture(), I've been looking for a log file (where printf() might end up). Where would I find that output? When rendering interactively? When batch rendering?
- When compiling my shaders, I get a warning (.\oslc.exe .\surfaceShader_v1.osl -> .\surfaceShader_v1.osl:0: warning: Unable to find "stdosl.h"), but it compiles and seems to work just fine. Why that warning? What do I need to do to satisfy it? This is in my file (#include "stdosl.h") and without it, it doesn't compile. It's got me scratching my head.
Thanks!
Jake
I'm setting up a standard shader for our studio and I have some questions about osl support in VRay Next for Maya (Windows 10).
- Can I pass a string to texture() and expect it to work? I saw an old forum post (https://groups.google.com/forum/#!to...ev/vb0-1Cbvz7o) saying it wasn't supported but I think I've seen examples of working since then? Not sure.
- While testing texture(), I've been looking for a log file (where printf() might end up). Where would I find that output? When rendering interactively? When batch rendering?
- When compiling my shaders, I get a warning (.\oslc.exe .\surfaceShader_v1.osl -> .\surfaceShader_v1.osl:0: warning: Unable to find "stdosl.h"), but it compiles and seems to work just fine. Why that warning? What do I need to do to satisfy it? This is in my file (#include "stdosl.h") and without it, it doesn't compile. It's got me scratching my head.
Thanks!
Jake
Comment