Blender Git Commits

Blender Git "soc-2012-swiss_cheese" branch commits.

Page: 8 / 14

June 30, 2012, 04:29 (GMT)
OpenGL Regression Fixes: I focused on fixing several ugly regressions in edit mode.

Removed DM_DRAW_USE_COLORS flag from draw_dm_faces_sel, it seems to conflict with the setDrawOptions function. However, not sure which one is right.

The "mapped" callback functions have to set their formats outside of the callback because only the caller really knows what format is needed.

June 30, 2012, 04:10 (GMT)
formatting, removed local variable to make code a little cleaner
June 30, 2012, 01:17 (GMT)
Fix display of normals for vertices and faces in edit mode

Added calls to gpuImmediateFormat_V3() and gpuImmediateUnformat().

June 30, 2012, 00:57 (GMT)
Fix black colors in edit mode

Modified draw_dm_faces_sel() to set the DM_DRAW_USE_COLORS flag when
drawing selected faces, updated EMDM's drawMappedFaces() to add colors
to the gpu immediate format when needed.

June 29, 2012, 23:02 (GMT)
Fix color of grid axes in the 3D view

Replace gpuImmediateFormat_V3 with gpuImmediateFormat_C4_V3.

June 29, 2012, 22:31 (GMT)
fixed user prefs crash
June 29, 2012, 11:32 (GMT)
Merge w/ Trunk: r48303-r48394
June 29, 2012, 11:27 (GMT)
Fiddling with header files, last commit probably wouldn't compile if GPU_functions.h was included outside of the GPU project.
June 29, 2012, 11:16 (GMT)
Aggressive rewriting of r48334 because it failed to build with MSVC8
June 28, 2012, 04:06 (GMT)
forgot to add the color dictionary for the color readability commit
June 28, 2012, 04:02 (GMT)
Changed header comment to read "The Original code is Copyright (C) 2012."
June 28, 2012, 01:13 (GMT)
Color Readability: Start to make drawing color specification more consistent and readable.

Changed gpuColorPack to gpuColor3x and gpuColor4x which take a hex color code.
Define common color codes as readable macros (e.g., #define CPACK_RED 0xFF0000)
Special gpuGrey function for shades of grey
Change most places that specify an alpha to use floats instead of bytes
Always format color components as 0.0f and alpha as 0.000f

There are still several places that specify compile time constants for colors and that use float or bytes instead of a single hex. I'd like to unify all of these to use hex, and then put all the colors into GPU_colors.h (if it makes sense to). Some files might do better with a local color dictionary.
June 28, 2012, 00:00 (GMT)
fixed wierd const primitive parameter
June 27, 2012, 21:57 (GMT)
Adding Axis Rotation function.
Clean up warnings.
June 27, 2012, 16:20 (GMT)
Files aren't ready yet

June 27, 2012, 14:53 (GMT)
Fix GLES mesh conversion
June 27, 2012, 14:40 (GMT)
Disable some shader which won't compile under GLES
B_GLES is a custom define for GL ES
June 27, 2012, 14:35 (GMT)
ARB/EXT are very simular to standard functions.
OpenGL ES support only standard functions.
Therefore we have gpu** which automaticly chooses between gl** and gl**ARB
We use standard enums and gpu functions automaticly translates to ARB enums to call gl**ARB.
GLSL and some Framebuffer functions are added.
June 27, 2012, 08:10 (GMT)
No need to set the default value for PixelTransfer. PixelTransfer is deprecated so this is a start at actually eliminating all of the calls.
June 27, 2012, 06:02 (GMT)
Made use of ClientActiveTextureARB and ClientActiveTexture consistent. (both are deprecated but should be using one or the other if it is being used)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021