Fix for collada -- some intermediate patch remained untweaked there



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50629 954f8c5b-7b00-dc11-b283-0030488c597c
Buildbot: OpenColorIO should be enabled for buildbot now

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50630 954f8c5b-7b00-dc11-b283-0030488c597c
fix for bug in txt_undo_read_uint32() reading 4byte unicode values.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50631 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: replace macro for BLI_rect size/center with inline functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50632 954f8c5b-7b00-dc11-b283-0030488c597c
* Disable building of Legacy Compositor in Scons. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50633 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / OSL:
* Fixes for Voronoi, Gradient and Magic Textures. SVM and OSL renders excactly the same now. 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50634 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / OSL:
* Fix Musgrave Texture, used wrong Perlin Noise (0..1) instead of -1..1. Also added comment to noise_basis() to make it clear which noise type is used there. 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50635 954f8c5b-7b00-dc11-b283-0030488c597c
Merged this part of code by mistake.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50636 954f8c5b-7b00-dc11-b283-0030488c597c
OSL implementation of RGB ramp node.

The sampled color ramp data is passed to OSL as a color array. This has to be done as actual float[3] array though, since the Cycles float3 type actually contains 4 floats, leading to shifting color components in the array.

Additional parameter set functions for arrays have been added to the Cycles OSL interface for this purpose.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50637 954f8c5b-7b00-dc11-b283-0030488c597c
Generate compatible OSL shader parameter names in cases where the node has and input and output with the same name. In that case the convention is to add suffixes "In" and "Out" respectively.
Example:

Blender node has one input "Color" and one output "Color"

-> OSL parameter names should be "ColorIn" and "ColorOut"

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50638 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for OSL 'Normal' node: the Direction parameter is of 'normal' type instead of generic 'vector'.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50639 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for own commit: Forgot to add function stub implementations in case OSL is disabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50640 954f8c5b-7b00-dc11-b283-0030488c597c
Yet another OSL fix: Some functions are missing stubs that were not used in old OSL implementation yet.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50641 954f8c5b-7b00-dc11-b283-0030488c597c
remove unused parts of raskter module.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50642 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove unused structs and also some style cleanup.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50643 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: make local game engine functions static


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50644 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarations


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50645 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in recent commit (made function static that shouldn't have been), add extra gcc warnings to cmake.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50646 954f8c5b-7b00-dc11-b283-0030488c597c
SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50647 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50648 954f8c5b-7b00-dc11-b283-0030488c597c