Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-11 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-10-11 | Cleanup: style (pointers) | Campbell Barton | |
2018-10-10 | Python GPU: Use PyC_AsArray_FAST in GPUVertBuf.fill_attribute. | mano-wii | |
This allows you to use other types of sequences besides tuples. | |||
2018-10-10 | Python GPU: Use PyC_AsArray_FAST when initing GPUIndexBuff. | mano-wii | |
This allows you to use other types of sequences besides tuples. | |||
2018-10-10 | Python API: add loop triangles access, remove tessfaces. | Brecht Van Lommel | |
Loop triangles are tessellated triangles create from polygons, for renderers or exporters that need to match Blender's polygon tesselation exactly. These are a read-only runtime cache. Tessfaces are a legacy data structure from before Blender supported n-gons, and were already mostly removed from the C code. Details on porting code to loop triangles is in the release notes. Differential Revision: https://developer.blender.org/D3539 | |||
2018-10-09 | Python GPU: Update `shader.from_builtin` and `shader.code_from_builtin` ↵ | mano-wii | |
description. | |||
2018-10-09 | GPU Python: Use string literals in `shader.from_builtin` and ↵ | mano-wii | |
`shader.code_from_builtin`. Also, the gpu.shader.builtin submodule becomes obsolete, so it has been removed. | |||
2018-10-09 | Python API: new GPUShader.format_calc() method | Jacques Lucke | |
Reviewers: mano-wii, fclem, campbellbarton Differential Revision: https://developer.blender.org/D3772 | |||
2018-10-09 | Fix misuse of Py_INCREF in module creation. | mano-wii | |
Differential Revision: https://developer.blender.org/D3697 | |||
2018-10-09 | Cleanup: naming | Campbell Barton | |
2018-10-08 | Cleanup: rename checks for Python struct strings | Campbell Barton | |
Using 'format' prefix made this read as if t was for string formatting. Use 'PyC_StructFmt' prefix instead since these values are compatible with formatting from Python's 'struct' module. | |||
2018-10-07 | CPython: use format char utilities in idprop_py_api | mano-wii | |
2018-10-07 | CPython: py_capi_utils: format char utilities do not need to be inline. | mano-wii | |
2018-10-07 | CPython: py_capi_utils: use more descriptive names for format string utilities. | mano-wii | |
2018-10-07 | Cleanup: style | Campbell Barton | |
2018-10-06 | Cleanup: use the naming convention in py_capi_utils | mano-wii | |
And use inline functions instead of preprocessor directives. | |||
2018-10-06 | Cleanup: use new format string utility | mano-wii | |
2018-10-06 | py_capi_utils: add utilities for format string in `struct` module style syntax. | mano-wii | |
2018-10-05 | GPU Python: optionally init the vertexformat in the vertexbuffer itself. | mano-wii | |
2018-10-05 | GPU Python: use _PyArg_ParseTupleAndKeywordsFast. | mano-wii | |
2018-10-05 | GPU Python: fix crash when calling `batch.draw` without passing a shader. | mano-wii | |
2018-10-05 | Python API: new GPUVertFormat constructor and vbo.fill_attribute method | Jacques Lucke | |
Reviewer: fclem Differential Revision: https://developer.blender.org/D3760 | |||
2018-10-05 | Cleanup: use PyModule_AddIntConstant | mano-wii | |
2018-10-04 | GPU Python: rename methods "shader_from_builtin" and ↵ | mano-wii | |
"shader_code_from_builtin" to "from_builtin" and "code_from_builtin". | |||
2018-10-04 | GPU Python: Fix assert in PySequence_Fast_GET_SIZE | mano-wii | |
2018-10-04 | Cleanup: remove single backtick quotes | Campbell Barton | |
This isn't valid RST. | |||
2018-10-04 | Python GPU: GPUBatch and GPUShader refactor. | mano-wii | |
The changes are: - The shader now is passed as a parameter of the batch `draw` method (batch.draw(shader)). Since the batch always has to set a shader before drawing; - The batch methods to specify a value to a uniform have been removed. Uniforms are parameters of the program (here called shader). If you change a uniform, it changes in all batchs that use the same program; - New methods were added to set uniforms by the shader; - The `batch.program_set_builtin` was removed. It is a duplicate of `program_set` but without a shader object. We need the shader object to configure the uniform; Differential Revision: https://developer.blender.org/D3752 | |||
2018-10-02 | Gizmo: support for gizmo-group properties | Campbell Barton | |
This allows gizmo groups to store properties in the tool. This makes sense for gizmo options which only control gizmo display and don't control operator execution. Unlike similar kinds of properties, this isn't accessible via the gizmo-group-type instance. For now the it's only stored in the workspace tool as can be done for operator properties, so each instance doesn't have different settings which would be confusing from a user perspective and complicate access from the top-bar. Later we could add gizmo-group properties if needed. | |||
2018-10-01 | GPY Python: program_use_begin and program_use_end. | mano-wii | |
The user has to be encouraged to use the `program_set` or `program_set_builtin` before drawing. This avoids problem with gl_context. | |||
2018-10-01 | Cleanup: style | Campbell Barton | |
2018-09-27 | Cleanup: remove unused DerivedMesh code. | Sebastian Parborg | |
Differential Revision: https://developer.blender.org/D3736 | |||
2018-09-27 | Cleanup: warnings | Campbell Barton | |
2018-09-27 | Python GPU module: Wrap GPUIndexBuf | mano-wii | |
Differential Revision D3714 | |||
2018-09-27 | Python GPU module: replace `PyArg_ParseTupleAndKeywords` by ↵ | mano-wii | |
`_PyArg_ParseTupleAndKeywordsFast` part of T47811 ("for faster argument parsing"). | |||
2018-09-26 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-09-26 | Cleanup: redundant include | Campbell Barton | |
2018-09-24 | Remove unused files | mano-wii | |
2018-09-24 | BGL: Wrap glBlitFramebuffer | mano-wii | |
2018-09-21 | GPU Python API: matrix.load_projection_matrix | mano-wii | |
If the `push_projection` and `pop_projection` functions already exist, there should naturally be a way to load a projection matrix. | |||
2018-09-21 | Cleanup: style | Campbell Barton | |
2018-09-21 | Preserve the actively bound framebuffer after using gpu.offscreen | Dalai Felinto | |
Otherwise we cannot draw anything after drawing in the offscreen buffer | |||
2018-09-20 | GPU Python API: shader.uniform_float | Dalai Felinto | |
The existing alternative is to use a buffer and call uniform_vector_float which is overkill for such a simple operation. | |||
2018-09-20 | Typo on pydoc for uniform_int | Dalai Felinto | |
2018-09-20 | gpu.batch module: keep shader reference in batch. | mano-wii | |
2018-09-20 | gpu.shader module: Do not free builtin shaders. | mano-wii | |
2018-09-20 | gpu.shader.builtin module: Add GPU_SHADER_2D_IMAGE. | mano-wii | |
2018-09-20 | Missing from last commit | Campbell Barton | |
2018-09-20 | PyAPI: correct term for class property warning | Campbell Barton | |
2018-09-19 | Merge branch 'master' into blender2.8 | Brecht Van Lommel | |
2018-09-19 | Spelling fixes in comments and descriptions, patch by luzpaz. | Brecht Van Lommel | |
Differential Revision: https://developer.blender.org/D3700 |