Blender Git Loki

Blender Git "framebuffer" branch commits.

October 20, 2015, 03:02 (GMT)
POSIX_C_SOURCE def not required
October 20, 2015, 02:48 (GMT)
Header cleanup
October 20, 2015, 02:45 (GMT)
fix example (projection matrix aspect ratio)
October 20, 2015, 02:42 (GMT)
Remove range checks for gpu.offscreen.new

Check non-negative still allows zero height, or INT_MAX... just let OpenGL handle the error case.
October 20, 2015, 02:42 (GMT)
Remove args from class
October 20, 2015, 01:50 (GMT)
Minor updates to the example

- Add cancel() callback so exiting doesn't leak memory.
- Use staticmethods where 'self' isnt used.
- One line comment explaining what it does.
October 19, 2015, 18:58 (GMT)
From review: rename: color_object > color_texture
October 19, 2015, 18:53 (GMT)
Remove ofs->framebuffer_object (no real need for it at the moment, we can readd later if someone needs it)
October 19, 2015, 18:41 (GMT)
Merge remote-tracking branch 'origin/master' into framebuffer
October 19, 2015, 18:34 (GMT)
GPU python code example
October 19, 2015, 16:57 (GMT)
Merge branch 'master' into framebuffer
October 19, 2015, 16:53 (GMT)
GPU Off-Screen Buffer now linked from API docs
October 19, 2015, 16:38 (GMT)
Remove error prefix for use-after-free.

This case is rare enough under regular use,
and Pythons stack-trace to the line is enough to find the error.
October 19, 2015, 16:35 (GMT)
Rename PyGPUOffScreen -> BPy_GPUOffScreen

Generally Py prefix is kept for CPython API

Also added the GPUOffScreen class to the module so it can be accessed for documentation.
October 19, 2015, 16:08 (GMT)
Projection and Modelview matrix were swapped
October 19, 2015, 16:08 (GMT)
Pydocs: include view3d and region
October 19, 2015, 16:07 (GMT)
Make samples an optional argument, default to 0
October 19, 2015, 16:07 (GMT)
Use Py formatting for GPUOffscreen class
October 19, 2015, 15:30 (GMT)
Correct names of RNA types

Also order args: scene, v3d, region...
October 19, 2015, 14:56 (GMT)
Remove redundant args to PyExc_Format

Also make error handling more compact.
and don't overwrite errors from PyC_RNA_AsPointer.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021