jokerbuilder / cortex-vfx

Automatically exported from code.google.com/p/cortex-vfx
0 stars 0 forks source link

Errors in RSL #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

When I just combined exist codes into a simple RSL shader and try to compile 
it, both the RPS 13.5 compiler and Pixie compiler will report error at 
"varying vector light" in IECoreRI/Marschner.inl .

When I replace the all "light" in the declare of the function body with 
omega_r in the papers, it passes in both compilers, so I would like to know 
what's wrong !

Thanks !

Original issue reported on code.google.com by Bo.Schwa...@gmail.com on 13 Apr 2010 at 4:03

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by thehaddo...@gmail.com on 20 Sep 2010 at 11:28

GoogleCodeExporter commented 9 years ago
It looks like both compilers don't like variables called "light". It may be a 
reserved word. What's the error message?
Did anybody else experienced this problem? We compile with 3delight with no 
problems.

Original comment by lucio.im...@gmail.com on 23 Sep 2010 at 7:03

GoogleCodeExporter commented 9 years ago
renamed 'light' variables to 'lightVec'.

Original comment by lucio.im...@gmail.com on 23 Sep 2010 at 7:54