Campbell Barton
dfbbac9b94
style cleanup
2013-06-22 10:59:30 +00:00
Thomas Dinges
bf2c46f5bd
Code cleanup / Cycles:
...
* Remove unused variable from noise_wave().
2013-03-27 19:08:29 +00:00
Thomas Dinges
56538ea685
Cycles / OSL:
...
* More small improvements: return immediately, and use "else if".
2013-03-10 00:42:47 +00:00
Thomas Dinges
5ac628fb47
Cycles / OSL:
...
* Avoid some conditional branches for the Noise texture and return immediately.
2013-03-10 00:11:52 +00:00
Thomas Dinges
e3784a27d6
Cycles / OSL:
...
* Fix for r53689, there are two noise types, signed and unsigned.
Caused Musgrave Texture to render differently compared to SVM backend.
2013-02-04 11:23:40 +00:00
Brecht Van Lommel
8cf374d401
Cycles: different fix for perlin noise generating nan values, now check for
...
the result to be finite afterwards which is a bit faster and works for OSL
too without needing to slow down OSL itself.
2013-01-09 22:06:03 +00:00
Brecht Van Lommel
615fe0295f
Cycles OSL: refactoring and fixes
...
* Moved kernel/osl/nodes to kernel/shaders
* Renamed standard attributes to use geom:, particle:, object: prefixes
* Update stdosl.h to properly reflect the closures we support
* Fix the wrong stdosl.h being used for building shaders
* Add geom:numpolyvertices, geom:trianglevertices, geom:polyvertices attributes
2012-11-03 14:32:13 +00:00