[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44025] branches/bmesh/blender: svn merge ^/trunk/blender -r43995:44024

Campbell Barton ideasman42 at gmail.com
Sat Feb 11 05:11:02 CET 2012


Revision: 44025
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44025
Author:   campbellbarton
Date:     2012-02-11 04:10:50 +0000 (Sat, 11 Feb 2012)
Log Message:
-----------
svn merge ^/trunk/blender -r43995:44024

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43995

Modified Paths:
--------------
    branches/bmesh/blender/CMakeLists.txt
    branches/bmesh/blender/doc/python_api/rst/gpu.rst
    branches/bmesh/blender/doc/python_api/sphinx_doc_gen.py
    branches/bmesh/blender/doc/python_api/sphinx_doc_gen.sh
    branches/bmesh/blender/extern/CMakeLists.txt
    branches/bmesh/blender/extern/binreloc/CMakeLists.txt
    branches/bmesh/blender/extern/bullet2/CMakeLists.txt
    branches/bmesh/blender/extern/carve/CMakeLists.txt
    branches/bmesh/blender/extern/colamd/CMakeLists.txt
    branches/bmesh/blender/extern/eltopo/CMakeLists.txt
    branches/bmesh/blender/extern/glew/CMakeLists.txt
    branches/bmesh/blender/extern/libmv/CMakeLists.txt
    branches/bmesh/blender/extern/libopenjpeg/CMakeLists.txt
    branches/bmesh/blender/extern/libredcode/CMakeLists.txt
    branches/bmesh/blender/extern/lzma/CMakeLists.txt
    branches/bmesh/blender/extern/lzo/CMakeLists.txt
    branches/bmesh/blender/extern/recastnavigation/CMakeLists.txt
    branches/bmesh/blender/intern/elbeem/intern/ntl_vector3dim.h
    branches/bmesh/blender/intern/elbeem/intern/utilities.h
    branches/bmesh/blender/release/scripts/startup/bl_operators/clip.py
    branches/bmesh/blender/release/scripts/startup/bl_operators/presets.py
    branches/bmesh/blender/source/blender/blenfont/BLF_api.h
    branches/bmesh/blender/source/blender/blenfont/intern/blf_glyph.c
    branches/bmesh/blender/source/blender/gpu/intern/gpu_extensions.c
    branches/bmesh/blender/source/blender/modifiers/CMakeLists.txt
    branches/bmesh/blender/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp
    branches/bmesh/blender/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp
    branches/bmesh/blender/source/gameengine/Ketsji/KX_FontObject.cpp

Property Changed:
----------------
    branches/bmesh/blender/
    branches/bmesh/blender/release/


Property changes on: branches/bmesh/blender
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/soc-2011-cucumber:37517,38166-38167,38177,38179-38180,38187,38242,38384,38387,38403-38404,38407,38968,38970,38973,39045,40845,42997-42998,43439
/branches/soc-2011-tomato:42376,42378-42379,42383,42385,42395,42397-42400,42407,42411,42418,42443-42444,42446,42467,42472,42486,42650-42652,42654-42655,42709-42710,42733-42734,42801,43872
/trunk/blender:39992-43995
   + /branches/soc-2011-cucumber:37517,38166-38167,38177,38179-38180,38187,38242,38384,38387,38403-38404,38407,38968,38970,38973,39045,40845,42997-42998,43439
/branches/soc-2011-tomato:42376,42378-42379,42383,42385,42395,42397-42400,42407,42411,42418,42443-42444,42446,42467,42472,42486,42650-42652,42654-42655,42709-42710,42733-42734,42801,43872
/trunk/blender:39992-44024

Modified: branches/bmesh/blender/CMakeLists.txt
===================================================================
--- branches/bmesh/blender/CMakeLists.txt	2012-02-11 04:05:00 UTC (rev 44024)
+++ branches/bmesh/blender/CMakeLists.txt	2012-02-11 04:10:50 UTC (rev 44025)
@@ -1490,10 +1490,9 @@
 endif()
 
 if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
-	if(WITH_IK_ITASC OR WITH_MOD_FLUID)
+	if(WITH_IK_ITASC)
 		message(WARNING "Using Clang as CXX compiler: disabling WITH_IK_ITASC and WITH_MOD_FLUID, these features will be missing.")
 		set(WITH_IK_ITASC OFF)
-		set(WITH_MOD_FLUID OFF)
 	endif()
 endif()
 

Modified: branches/bmesh/blender/doc/python_api/rst/gpu.rst
===================================================================
--- branches/bmesh/blender/doc/python_api/rst/gpu.rst	2012-02-11 04:05:00 UTC (rev 44024)
+++ branches/bmesh/blender/doc/python_api/rst/gpu.rst	2012-02-11 04:10:50 UTC (rev 44025)
@@ -1,13 +1,14 @@
+*******************
 GPU functions (gpu)
-===================
+*******************
 
 .. module:: gpu
 
 This module provides access to materials GLSL shaders.
 
-*****
+
 Intro
-*****
+=====
 
 Module to provide functions concerning the GPU implementation in Blender, in particular
 the GLSL shaders that blender generates automatically to render materials in the 3D view
@@ -15,16 +16,15 @@
 
 .. warning::
 
-    The API provided by this module should be consider unstable. The data exposed by the API 
-    are are closely related to Blender's internal GLSL code and may change if the GLSL code 
-    is modified (e.g. new uniform type). 
+   The API provided by this module should be consider unstable. The data exposed by the API
+   are are closely related to Blender's internal GLSL code and may change if the GLSL code
+   is modified (e.g. new uniform type).
 
 
-*********
 Constants
-*********
+=========
 
---------------
+
 GLSL data type
 --------------
 
@@ -59,15 +59,15 @@
 .. data:: GPU_DATA_3F
 
    three floats
-   
+
    :value: 4
-   
+
 .. data:: GPU_DATA_4F
 
    four floats
-   
+
    :value: 5
-   
+
 .. data:: GPU_DATA_9F
 
    matrix 3x3 in column-major order
@@ -86,448 +86,450 @@
 
    :value: 8
 
------------------
+
 GLSL uniform type
 -----------------
 
 .. _uniform-type:
 
-Constants that specify the type of uniform used in a GLSL shader. 
+Constants that specify the type of uniform used in a GLSL shader.
 The uniform type determines the data type, origin and method
-of calculation used by Blender to compute the uniform value. 
+of calculation used by Blender to compute the uniform value.
 
 The calculation of some of the uniforms is based on matrices available in the scene:
 
-    .. _mat4_cam_to_world:
-    .. _mat4_world_to_cam:
+   .. _mat4_cam_to_world:
+   .. _mat4_world_to_cam:
 
-    *mat4_cam_to_world*
-      Model matrix of the camera. OpenGL 4x4 matrix that converts 
-      camera local coordinates to world coordinates. In blender this is obtained from the
-      'matrix_world' attribute of the camera object.
+   *mat4_cam_to_world*
+     Model matrix of the camera. OpenGL 4x4 matrix that converts
+     camera local coordinates to world coordinates. In blender this is obtained from the
+     'matrix_world' attribute of the camera object.
 
-      Some uniform will need the *mat4_world_to_cam*
-      matrix computed as the inverse of this matrix.
+     Some uniform will need the *mat4_world_to_cam*
+     matrix computed as the inverse of this matrix.
 
-    .. _mat4_object_to_world:
-    .. _mat4_world_to_object:
+   .. _mat4_object_to_world:
+   .. _mat4_world_to_object:
 
-    *mat4_object_to_world*
-      Model matrix of the object that is being rendered. OpenGL 4x4 matric that converts
-      object local coordinates to world coordinates. In blender this is obtained from the
-      'matrix_world' attribute of the object.
-  
-      Some uniform will need the *mat4_world_to_object* matrix, computed as the inverse of this matrix.
-  
-    .. _mat4_lamp_to_world:
-    .. _mat4_world_to_lamp:
+   *mat4_object_to_world*
+     Model matrix of the object that is being rendered. OpenGL 4x4 matric that converts
+     object local coordinates to world coordinates. In blender this is obtained from the
+     'matrix_world' attribute of the object.
 
-    *mat4_lamp_to_world*
-      Model matrix of the lamp lighting the object. OpenGL 4x4 matrix that converts lamp
-      local coordinates to world coordinates. In blender this is obtained from the
-      'matrix_world' attribute of the lamp object.
-      
-      Some uniform will need the *mat4_world_to_lamp* matrix
-      computed as the inverse of this matrix.
+     Some uniform will need the *mat4_world_to_object* matrix, computed as the inverse of this matrix.
 
+   .. _mat4_lamp_to_world:
+   .. _mat4_world_to_lamp:
+
+   *mat4_lamp_to_world*
+     Model matrix of the lamp lighting the object. OpenGL 4x4 matrix that converts lamp
+     local coordinates to world coordinates. In blender this is obtained from the
+     'matrix_world' attribute of the lamp object.
+
+     Some uniform will need the *mat4_world_to_lamp* matrix
+     computed as the inverse of this matrix.
+
 .. data:: GPU_DYNAMIC_OBJECT_VIEWMAT
 
-    The uniform is a 4x4 GL matrix that converts world coordinates to 
-    camera coordinates (see mat4_world_to_cam_). Can be set once per frame.
-    There is at most one uniform of that type per shader.
+   The uniform is a 4x4 GL matrix that converts world coordinates to
+   camera coordinates (see mat4_world_to_cam_). Can be set once per frame.
+   There is at most one uniform of that type per shader.
 
-    :value: 1
+   :value: 1
 
 .. data:: GPU_DYNAMIC_OBJECT_MAT
 
-    The uniform is a 4x4 GL matrix that converts object coordinates 
-    to world coordinates (see mat4_object_to_world_). Must be set before drawing the object.
-    There is at most one uniform of that type per shader.
+   The uniform is a 4x4 GL matrix that converts object coordinates
+   to world coordinates (see mat4_object_to_world_). Must be set before drawing the object.
+   There is at most one uniform of that type per shader.
 
-    :value: 2
+   :value: 2
 
 .. data:: GPU_DYNAMIC_OBJECT_VIEWIMAT
 
-    The uniform is a 4x4 GL matrix that converts coordinates
-    in camera space to world coordinates (see mat4_cam_to_world_).
-    Can be set once per frame. 
-    There is at most one uniform of that type per shader.
+   The uniform is a 4x4 GL matrix that converts coordinates
+   in camera space to world coordinates (see mat4_cam_to_world_).
+   Can be set once per frame.
+   There is at most one uniform of that type per shader.
 
-    :value: 3
+   :value: 3
 
 .. data:: GPU_DYNAMIC_OBJECT_IMAT
 
-    The uniform is a 4x4 GL matrix that converts world coodinates
-    to object coordinates (see mat4_world_to_object_).
-    Must be set before drawing the object.
-    There is at most one uniform of that type per shader.
-   
-    :value: 4
-   
+   The uniform is a 4x4 GL matrix that converts world coodinates
+   to object coordinates (see mat4_world_to_object_).
+   Must be set before drawing the object.
+   There is at most one uniform of that type per shader.
+
+   :value: 4
+
 .. data:: GPU_DYNAMIC_OBJECT_COLOR
 
-    The uniform is a vector of 4 float representing a RGB color + alpha defined at object level.
-    Each values between 0.0 and 1.0. In blender it corresponds to the 'color' attribute of the object.
-    Must be set before drawing the object.
-    There is at most one uniform of that type per shader.
-   
-    :value: 5
-   
+   The uniform is a vector of 4 float representing a RGB color + alpha defined at object level.
+   Each values between 0.0 and 1.0. In blender it corresponds to the 'color' attribute of the object.
+   Must be set before drawing the object.
+   There is at most one uniform of that type per shader.
+
+   :value: 5
+
 .. data:: GPU_DYNAMIC_LAMP_DYNVEC
 
-    The uniform is a vector of 3 float representing the direction of light in camera space.
-    In Blender, this is computed by 
+   The uniform is a vector of 3 float representing the direction of light in camera space.
+   In Blender, this is computed by
 
-    mat4_world_to_cam_ * (-vec3_lamp_Z_axis) 
+   mat4_world_to_cam_ * (-vec3_lamp_Z_axis)
 
-    as the lamp Z axis points to the opposite direction of light.
-    The norm of the vector should be unity. Can be set once per frame.
-    There is one uniform of that type per lamp lighting the material.
+   as the lamp Z axis points to the opposite direction of light.
+   The norm of the vector should be unity. Can be set once per frame.
+   There is one uniform of that type per lamp lighting the material.
 
-    :value: 6
-   
+   :value: 6
+
 .. data:: GPU_DYNAMIC_LAMP_DYNCO
 
-    The uniform is a vector of 3 float representing the position of the light in camera space.
-    Computed as 
-    
-    mat4_world_to_cam_ * vec3_lamp_pos
+   The uniform is a vector of 3 float representing the position of the light in camera space.
+   Computed as
 
-    Can be set once per frame.
-    There is one uniform of that type per lamp lighting the material.
-   
-    :value: 7
-   
+   mat4_world_to_cam_ * vec3_lamp_pos
+
+   Can be set once per frame.
+   There is one uniform of that type per lamp lighting the material.
+
+   :value: 7
+
 .. data:: GPU_DYNAMIC_LAMP_DYNIMAT
 
-    The uniform is a 4x4 GL matrix that converts vector in camera space to lamp space.
-    Computed as 
+   The uniform is a 4x4 GL matrix that converts vector in camera space to lamp space.
+   Computed as
 
-    mat4_world_to_lamp_ * mat4_cam_to_world_

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list