Difference between revisions of "User:Kunigami/GSoc2011/Reports"
From BRL-CAD
(→Reports: libpng conflict solved) |
(→Week 6: Reports updated) |
||
Line 3: | Line 3: | ||
== Week 6 == | == Week 6 == | ||
+ | # Implemented support for reflection and refraction in the OSL Shader that is used by rt | ||
+ | # Implemented support for reflection and refraction in the stand alone application that uses BRL-CAD shooting system to render BRL-CAD scenes with osl shaders | ||
# Started getting errors due to different version of libpng. BRL-CAD uses 1.4 and OIIO used 1.2. Recompiled OIIO to use 1.4 and the problem was solved. | # Started getting errors due to different version of libpng. BRL-CAD uses 1.4 and OIIO used 1.2. Recompiled OIIO to use 1.4 and the problem was solved. | ||
Revision as of 14:05, 1 July 2011
Contents
Reports
Week 6
- Implemented support for reflection and refraction in the OSL Shader that is used by rt
- Implemented support for reflection and refraction in the stand alone application that uses BRL-CAD shooting system to render BRL-CAD scenes with osl shaders
- Started getting errors due to different version of libpng. BRL-CAD uses 1.4 and OIIO used 1.2. Recompiled OIIO to use 1.4 and the problem was solved.
Week 5
- Implemented an osl shader, which seems not to give correct results
- Implemented a stand-alone application to render BRL-CAD scenes with OSL shaders [screenshot]
Week 4
- Discovered that the crashing was due to multi-threaded issues. I'm currently using -P 1 on my tests.
- Re-defined the OSLRenderer interface, so that it considers recursion rays needed for reflection and transmission
- Start studying how the rt application works.
Week 3
- Adapted the OSL raytracer so that it can be called by the osl shader.
- The rt application is currently crashing. Inspecting with valgrind I suspect that it is due to memory leaks.
Week 2
- Not very productive week. With the help of the mentors I managed to solve the compile error.
Week 1
- Implemented a (poor) polka dot for BRL-CAD, to get familiarized with the shaders syntax. [polka dot goblet]
- Trying to compile the OSL raytracer outside OSL build, but getting compile errors, that I have no idea on how to solve. I've emailed the dev list asking for help.
Week 0 (Community Bonding)
- Compiled OSL sources both in Ubuntu 10.10 and Mac OS X Snow Leopard. (had trouble with 11.04, mainly due to LLVM)
- Found a raytracer developed by Erich Ocean and Brecht [1] that uses OSL-written shaders. It currently renders refraction wrongly. [screenshot]
- Discovered the cause of the above error: I was using the wrong shader for glass. Now, the image is correctly rendered. [screenshot]