Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-21BGE VideoTexture: add depth buffer access to ImageViewport and ImageRender.Benoit Bolsee
2 new attributes to ImageViewport and ImageRender object: depth: set to True to retrieve the depth buffer as an array of float (not suitable for texture source). zbuff: set to True to retrieve the depth buffer as a grey scale pixel array (suitable for texture source). A new mode 'F' is added to VideoTexture.imageToArray() to allow returning the image buffer as a one dimensional array of float. This mode should only be used to retrieve the depth buffer of ImageViewport and ImageRender objects. Example: viewport = VideoTexture.ImageViewport() viewport.depth = True depth = VideoTexture.imageToArray(viewport,'F') # show depth of bottom left pixel # 1.0 = infinite, 0.0 = on near clip plane. print(depth[0])
2012-01-23rst bge touch ups: making the title of the examples slightly more noticeableDalai Felinto
- it's still not correct, comparing to the other examples, but at least it looks okish. - fixed some small typos
2012-01-13bge api doc updateDalai Felinto
bge.texture materialId wasn't showing up bge.type was outdated (I removed the glew example, I hope no one mind)
2011-08-04rst API doc fixes: literalincluding bge.texture and bge.constraints examples ↵Dalai Felinto
+ bgl fixes
2011-07-31py api: sphinx doc corrections, pep8 cleanup and style edits, also added ↵Campbell Barton
__all__ to some modules which were missing it.
2011-07-31patch [#27909] Added constants in bge.constraints by Solano Felicio (solano) ↵Dalai Felinto
+ some changes in rst I named all the BGE modules with their actual names (e.g. Rasterizer, Video Texture, ...). so in the API index.html page they look more like the other Blender modules. I did the same for the bgl module. For bge.constraints this patch exposes the constants values for debug mode and createConstraints (they were hardcoded innts before). + making all the "todo" and #comments into rst comments (.. comments) Thanks Solano, it's great to get help to those tasks :)
2011-07-07bge.texture doc, needed whitespace to format correctly.Campbell Barton
2011-07-07some corrections to bge.texture docsCampbell Barton
2011-07-06moving bge.texture example to an external fileDalai Felinto
2011-07-06patch [#27871] bge.texture documentation from Solano Felício (+ changes ↵Dalai Felinto
from me) it still needs work ... and I can't test rst in windows so for now let's pretend it builds. If someone can generate the docs and see how it goes please let me know. (plus a small fix for bge.logic rst)