Blender Git Commit Log

All Blender Git commits.

Page: 4649 / 8462

October 20, 2015, 06:38 (GMT)
Minor edits to sytem-info script

- list script paths on their own line.
- use title util function.
October 20, 2015, 04:42 (GMT)
Add operator to close a window

Useful for Python scripts, which could duplicate but not close windows.
October 20, 2015, 03:15 (GMT)
New function to draw offscreen, and related API changes

This expose the capability of handling offscreen drawing. The initial
support lays the barebones for addons to work with framebuffer objects
and implement 3d viewport offscreen drawing. This can be used by script
writers to make fisheye lens preview, head mounted display support, ...

The complete documentation is here: http://www.blender.org/api/blender_python_api_2_76_1/gpu.offscreen.html

Review and many changes by Campbell Barton (thank you :)

https://developer.blender.org/D1533
October 20, 2015, 03:06 (GMT)
Cleanup: remove _POSIX_C_SOURCE undefine
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, 22:23 (GMT)
BGE: Image source refresh() accepts pixel format argument.

All image source objects now accept a pixel format argument in addition to
the buffer argument in the refresh() method. This can be used to change the
format of the image copied in the buffer. The only allowed values are "RGBA"
and "BGRA". This is useful when transferring images to external application
that do not support the RGBA format.
Ex:
im = bge.texture.ImageRender(...)
im.refresh(buffer, "BGRA")

Note: the transfer is optimal (i.e. no intermediate copy) for ImageRender and
ImageViewport objects when no processing of the image is needed in VideoTexture.
This is the case if no filter is set and the attributes are set as follow:
flip=False, alpha=True, scale=False, depth=False, zbuff=False.
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, 18:28 (GMT)
BGE: Cleanup BL_Action

Remove initialization of m_endtime : fix compile about previous BL_Action cleanup.
October 19, 2015, 18:27 (GMT)
BGE: Cleanup BL_Action.

- Rename m_localtime to m_localframe to avoid ambiguity : it's a count for the actual action frame, not time.
- Delete m_end : it's unused.
October 19, 2015, 16:57 (GMT)
Merge branch 'master' into framebuffer
October 19, 2015, 16:55 (GMT)
Py API docs: fix extracting bmesh.ops from C code.
October 19, 2015, 16:53 (GMT)
GPU Off-Screen Buffer now linked from API docs
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021