July 28, 2012, 03:16 (GMT) |
Fix initialization for GPU_ext_config. Added GPU_gl_type and GPU_GLTYPE_FIXED flag GPU_GLTYPE_FIXED_ENABLED is true only if system supports fixed pipeline (aka OpenGL 1.1-3.0) It is false for Shader Only OpenGL (not yet initialized properly for Desktop) With OpenGL ES, GPU_GLTYPE_FIXED_ENABLED is defined as 0 to allow optimization and removal of the unreachable code. Soon, all OpenGL branching code will use GPU_GLTYPE_FIXED_ENABLED and !GPU_GLTYPE_FIXED_ENABLED for check instead of #ifdef, making easier migration to OpenGL 3.1+ on Desktop |
July 28, 2012, 02:50 (GMT) |
Ghost side of window size fix for Android. If we cannot get the size, initialize to 400x400 |
July 28, 2012, 02:43 (GMT) |
Adding gpu functions for VBO for compatibility between standard, ES and ARB gpuGenBuffers = glGenBuffers gpuBindBuffer = glBindBuffer gpuBufferData = glBufferData gpuDeleteBuffers = glDeleteBuffers |
July 28, 2012, 02:38 (GMT) |
Adding more OpenGL-like functions for object manipulation gpuTexCoordPointer = glTexCoordPointer gpuClientActiveTexture = glClientActiveTexture Now, in gl11 implementation, calling any gl*Pointer enables GL_*_ARRAY with glEnableClientState; So, no need to call glEnableClientState gpuCleanupAfterDraw must be called after glDraw* function to disable any enabled GL_*_ARRAY and reset internal state In GLES functions gpuTexCoordPointer and gpuClientActiveTexture aren't yet implemented |
July 28, 2012, 01:14 (GMT) |
Getting rid of a glIsEnabled() check in the BGE's vertex array code (using a simple boolean check now). |
July 28, 2012, 00:50 (GMT) |
Another iteration of the manipulator. The 2-dimension scaling blocks have become lines instead, but the same block area is used to control them. Thus, it has the same function but is a bit less visually cluttered. |
July 27, 2012, 19:38 (GMT) |
Fix for m_viewport. Value wasn't initilized. |
July 27, 2012, 15:19 (GMT) |
Fix bevel for some cases where not all edges processed. (Fixes a case reported in #blendercoders by vitos1k) |
July 27, 2012, 12:57 (GMT) |
Undid part of 49299: removed bridge again, since it causes instant crash on startup when building with msvc2008 and scons. Will need to debug on that combination before re-enabling bridge. |
July 27, 2012, 11:34 (GMT) |
Stop bevel from crashing, and restore bridge_edge_loops operator (problems introduced in r49093 svn merge). |
July 27, 2012, 03:10 (GMT) |
Caching the results of BL_Texture::GetMaxUnits()'s glGet call. This reduces the overall Capture Time reported by Nvidia Nsight for glGetIntegerv from 7.21% to 5.38% (about a 25% reduction), and dropped glGetIntegerv from the second highest Capture Time to fourth. |
July 27, 2012, 01:36 (GMT) |
The BGE spends a lot of time on glIsEnabled(), glGet, and state changes. This gets rid of unnecessary glGet calls for viewport information. Since we're the only ones makes calls to glViewport, we can cache the values. |
July 26, 2012, 22:26 (GMT) |
Add the ability to query the last redoable operator from in python. Add the ability to mark certain operator properties as "Primary" meaning that they're the most important ones, and the ones that should be shown if the operator's representation must be shortened. Built an example/prototype floating control which shows the last operator and, if clicked, opens the f6 window for that operator. It has a few problems though, such as that it can't seem to access all operator properties and I can't figure out how to get it to render white. |
July 26, 2012, 22:15 (GMT) |
Adding ghost sensor support for Android. |
July 26, 2012, 21:49 (GMT) |
Adding Initial sensor API in GHOST Test sensor availibility: getSensorsAvailability() Enable or disable sensors: setSensorsState() Sensors are disabled by default You need to supply type of sensor: 1 - Accelerometer 2 - Gyroscope 3 - Magnetic Sensor (Please don't switch order, just append new sensors. It is hardcoded in Android) Data is stored as a vectror in GHOST_TEventSensorData with dimension of 3 for Accelerometer, Gyroscope and Magnetic Sensor Other sensors can have differnt dimensions |
July 25, 2012, 22:01 (GMT) |
Smoke + Cycles: - Add Smoke Density node - Make density available on GPU - *TOTALLY* untested! Will most likely crash and you cannot render at the moment since "Volume BSDF" is missing (from blenderartists volume patch) TODO: - Fix "svm_node_smoke_density()", atm I have no idea how |
July 25, 2012, 21:06 (GMT) |
Cleaning up a memory leak with KX_LibLoadStatus objects that were being sent to Python. The objects are now saved to a map on the scene converter and deleted when the library is freed. This map can later be used to provide users with a list of status objects. |
July 25, 2012, 20:51 (GMT) |
Adding a new uvs attribute to KX_VertexProxy that returns a list of uvs for the vertex. This is currently the only way to access uv layers >2 via Python. |
July 25, 2012, 16:44 (GMT) |
Reorganize some code + fix "use_volumetric" flag (true if smoke is used, false if not) |
July 25, 2012, 13:09 (GMT) |
added a gpuGetMatrixMode |
|
|
|


Master Commits
MiikaHweb | 2003-2021