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
path: root/doc
AgeCommit message (Collapse)Author
2015-02-21doxygen: updating blender version and link to trackerInes Almeida
2015-02-21python bge.types module - Updating documentation to close T40778Ines Almeida
2015-02-21Documentation update: references to OpenGL tutorials in the python bgl moduleInes Almeida
2015-02-10Typo fix + clarification in mathutils.Vector exampleSybren A. Stüvel
2015-02-09BGE - Vehicle Controller - add background and API checks for arguments of ↵Ines Almeida
function calls Fixes T41570 crash For readability, attachDir was renamed to downDir and the Python API docs renamed accordingly
2015-02-08BGE physics: When colliding, report first contact point to PythonSybren A. Stüvel
This patch adds two parameters to the functions in the collisionCallbacks list. The callback function should thus be like this: ``` def on_colliding(other, point, normal): print("Colliding with %s at %s with normal %s" % (other, point, normal)) game_ob.collisionCallbacks.append(on_colliding) ``` The `point` parameter will contain the collision point in world coordinates on the current object, and the `normal` contains the surface normal at the collision point. The callback functions are checked for the number of arguments `co_argcount`. The new `point` and `normal` arguments are only passed when `co_argcount > 1` or when `co_argcount` cannot be determined. Reviewers: brita_, campbellbarton Subscribers: sergey, sybren, agoose77 Projects: #game_physics Differential Revision: https://developer.blender.org/D926
2015-02-01Documentation: Support documenting constructors in class __doc__Sybren A. Stüvel
Python types defined in C can now start their docstring with a `.. class:: TypeName(args)` line, to document their constructor. In that case the documentation writer is responsible for indenting the remainder of the docstring by 3 spaces, matching the generated documentation.
2015-02-01mathutils: added exponential map to QuaternionSybren A. Stüvel
Added conversion to and from exponential map representation. This representation is useful for interpolation of > 2 quaternions, or in PD controllers. Implementation in C functions quat_to_expmap, quat_normalized_to_expmap, and expmap_to_quat with Python API, unit tests and documentation. Added Quaternion.to_exponential_map() and Quaternion(3-vector) to Python API. Reviewers: campbellbarton Projects: #bf_blender Differential Revision: https://developer.blender.org/D1049
2015-01-29cleanup: shebang linesCampbell Barton
D888 by @sambler
2015-01-29cleanup: pep8Campbell Barton
also remove empty class parenthesis
2015-01-28Update scons build documentationSergey Sharybin
- fix dead blender.org link (build dependencies) - rewrite $BLENDERHOME/{config,tools}/* to $BLENDERHOME/build_files/scons/{config,tools}/* Patch by David Creswick, thanks! Reviewers: jesterking Differential Revision: https://developer.blender.org/D798
2015-01-22Docs: touch ups in the bge.render doc introductionDalai Felinto
2015-01-22bge.render.getStereoEye() and bge.types.LEFT_EYE/RIGHT_EYEDalai Felinto
This function allows the user to run specific code for each of the rendered stereoscopic eyes in the Game Engine. The initial use case is to set the camera projection matrix in a scene.pre_draw callback function for each eye, to be used in VR (Virtual Reality) installations. Reviewed by Mitchell Stokes and Campbell Barton, thank you guys. Sample Test Python Script: """ import bge import bgl import blf def init(): """init function - runs once""" scene = bge.logic.getCurrentScene() scene.post_draw.append(write) def write(): """write on screen - depending on the eye""" width = bge.render.getWindowWidth() height = bge.render.getWindowHeight() # OpenGL setup bgl.glMatrixMode(bgl.GL_PROJECTION) bgl.glLoadIdentity() bgl.gluOrtho2D(0, width, 0, height) bgl.glMatrixMode(bgl.GL_MODELVIEW) bgl.glLoadIdentity() eye = bge.render.getStereoEye() if eye == bge.render.LEFT_EYE: blf.position(0, (width * 0.2), (height * 0.3), 0) blf.size(0, 40, 72) blf.draw(0, "Left") else: # bge.render.RIGHT_EYE: blf.position(0, (width * 0.7), (height * 0.3), 0) blf.size(0, 40, 72) blf.draw(0, "Right") """
2015-01-18Documentation: fixed documented types to match actual typesSybren A. Stüvel
The BGE API uses Vectors, but often this was documented as list. Maniphest Tasks: T43240 Differential Revision: https://developer.blender.org/D1006
2015-01-15BGE physics: get/set linear and angular dampingSybren A. Stüvel
This patch adds the following R/W properties and method to `KX_GameObject`: - `linearDamping` -- get/set linear damping - `angluarDamping` -- get/set angular damping - `setDamping(linear, angular)` -- set both simultaneously These allow runtime changes to the same properties that are accessible at design time in Blender's UI via `game.damping` and `game.rotation_damping`. The names of the properties were chosen to mirror the internal names of the BGE physics engine, as these are (AFAIK) also the commonly used names in physics literature. Reviewers: campbellbarton Projects: #game_physics Differential Revision: https://developer.blender.org/D936
2015-01-07PyAPI docs: minor changes to sphinx docs.Campbell Barton
2014-12-29fix for doc generatorCampbell Barton
2014-11-26API Docs: remove hardcoded self from shellscriptCampbell Barton
2014-11-14update dna exporter for API changesCampbell Barton
also print html name.
2014-11-10Sphinx doc script: server path has changedCampbell Barton
2014-10-26Fix T42372: demo addon in doc was not handling keymaps correctly during ↵Bastien Montagne
(un)registration. First, you should unregister in reverse order you registered your operators, keymaps, etc. Second, when registering keymaps you have to check keyconfigs are actually available (they are not in background mode).
2014-09-24Sphinx doc script, update for change in rsyncCampbell Barton
2014-09-18Cleanup: use static sets where possibleCampbell Barton
2014-09-18Fix for a run-time error in sphinx_doc_gen.py on Windows.Tamito Kajiyama
2014-09-18Fix for missing Freestyle sections in the Blender Python API documentation.Tamito Kajiyama
Freestyle sections of the API docs were empty due to Freestyle module reorganization in commit rB6498b96ce7081db039354228213d72e8c70bd3aa. Module __all__ property was added to submodules so as to properly exclude irrelevant documentation elements such as mathutils.Vector.
2014-09-17Cleanup: pep8Campbell Barton
2014-09-16Utility script to create release archiveCampbell Barton
- only include files known to git. - includes all submodules. - version extracted from BKE_blender.h for naming. - MD5 checksum generated. - 'make tbz' convenience target. Script by Dan McGrath with own minor edits.
2014-09-14typo correction in the python APIInes Almeida
2014-09-09Add flag for bmesh docsCampbell Barton
2014-08-23BGE: fix crash and return boolean on scene.replace()Benoit Bolsee
Scene replacement with invalid scene name was crashing blender, now it's a no-op. KS_Scene.replace() to return a boolean to indicate if the scene is valid and is scheduled for replacement. This allows more robust game management.
2014-08-05API Docs: typosCampbell Barton
2014-07-29BGE: Constraint wrapper fix.HG1
1. This patch fix the KX_ConstraintWrapper documentation (radian instead of degrees). 2. It also adds the missing GENERIC_6DOF_CONSTRAINT constant. Reviewers: dfelinto Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D672
2014-07-22Cleanup: pep8 & redundant varsCampbell Barton
2014-07-18BGE: Add property/material detection and X-Ray for mouse over any sensorMitchell Stokes
This patch adds a Property/Material detection and a X-Ray mode to the mouse over any sensor like on the ray sensor. Proposal: http://blenderartists.org/forum/showthread.php?261847-BGE-proposal-Mouse-Over-Any-sensor-with-Property-and-X-Ray&highlight=proposal Reviewers: moguri Reviewed By: moguri Differential Revision: https://developer.blender.org/D653
2014-07-18BGE: Add missing documentation and attribute constraint_type for ↵HG1
ConstraintWrapper 1. Add attribute to get the constraint type. 2. Add missing documentation for getParent, setParam, constraint_id in bge.types.KX_ConstraintWrapper.rst. 3. Add missing documentation for GENERIC_6DOF_CONSTRAINT and flag bit in bge.constraints.rst. 4. Fix typo in CcdPhysicsEnvironment.cpp Reviewers: moguri Reviewed By: moguri Differential Revision: https://developer.blender.org/D654
2014-07-15BGE: TrackTo actuator: increasing up & track axis optionsJorge Bernal
This is related to Task T34861 to increase up & track axis options for TrackTo actuator. I've just added it to differential to facilitate an easier review. With the patch applied you can select X, Y and Z axis for the Up axis, and X, Y, Z, -X, -Y and -Z for the track axis. Related to the implementation I have used the algorithm from Trackto constrain placed in constrain.c but adapted to be used with MOTO library. The wiki docs are here (http://wiki.blender.org/index.php/User:Lordloki/Doc:2.6/Manual/Game_Engine/Logic/Actuators/Edit_Object#Trackto_Actuator). Test file is here: {F97623} I have also uploaded 2 screenshots showing the UI modifications to the TrackTo actuator: {F91992} {F91990} Reviewers: moguri, dfelinto Reviewed By: moguri CC: Genome36 Differential Revision: https://developer.blender.org/D565
2014-07-12BGE debug API and actuatorHG1
This patch adds some new debug methods to the KX_GameObject for manually adding the debug list and bge.render for controlling the debug visualization. It also adds a new debug actuator, which allows to control the same functions. This patch is a updated version of T33701. Thread on Blenderartists: http://blenderartists.org/forum/showthread.php?264745-Debug-proerties-for-added-objects-patch&p=2256018&viewfull=1#post2256018 Reviewers: moguri Reviewed By: moguri Differential Revision: https://developer.blender.org/D635
2014-07-07BGE: Fix for applyImpulse functionJorge Bernal
This is related to task T29419. Credit also goes to Goran Milovanovic (goran) for proposing an initial fix for this issue. The issue is the current behavior of applyImpulse doesn't match the behavior described in the documentation as instead of a impulse point in world coordinates, it seems to require a coordinate in a local space. Additionally, applyImpulse function isn't consistent with similar functions (applyForce, applyTorque, etc) as it doesn't allow to choose in which space (local or global) the impulse is applied. Now, we have the following function: applyImpulse(point, impulse, local=False) being "point" the point to apply the impulse to (in world or local coordinates). When local is False will have both point and impulse in World space and when local is True will have point and impulse in local space. Reviewers: moguri, dfelinto, brita_ Reviewed By: moguri Differential Revision: https://developer.blender.org/D567
2014-06-26BGE: New Mouse ActuatorJorge Bernal
Disclaimer: The author of this patch is Geoffrey Gollmer (gomer). I only updated the patch to the current git master status, reworked several parts to fit well with current coding style and applied several fixes. This actuator allows users to show/hide the mouse cursor using logic bricks, as well as control object rotation with a mouse in the BGE. The mouse rotation is flexible enough to allow any type of mouse look, as well as banking for flight controls. {F94520} {F91859} Blend file for testing Mouse actuator (with default parameters and crosshair): {F94920} Reviewers: moguri Reviewed By: moguri CC: gomer, lordodin Differential Revision: https://developer.blender.org/D559
2014-06-24Fix exampleCampbell Barton
2014-06-17BGE: New Property sensor evaluation typesJorge Bernal
This patch adds "Less Than" and "Greater Than" evaluation types to the property sensor. The Wiki Docs modifications http://wiki.blender.org/index.php/User:Lordloki/Doc:2.6/Manual/Game_Engine/Logic/Sensors/Property Also, I have attached a screenshot and a blend to check. Reviewers: dfelinto, moguri Reviewed By: moguri Differential Revision: https://developer.blender.org/D476
2014-06-13Automatically generate blender.1 man page during build processCampbell Barton
Patch T40418 by Lawrence D'Oliveiro
2014-05-20bgl API docs: link to OpenGL 2.0 referenceCampbell Barton
D538 by codemanx
2014-05-08Add missing context member for doc genCampbell Barton
2014-04-24Code cleanup: unused python vars & importsCampbell Barton
Use frosted rather then pyflakes
2014-04-15Style cleanup: C & pep8Campbell Barton
2014-04-03Code cleanup: styleCampbell Barton
2014-04-01BGE doc cleanup: Some small cleanups in the BGE docs:Mitchell Stokes
* Fixing trailing whitespace in some files * Fixing some indentation * SCA_PythonController.owner is now documented * SCA_PythonKeyboard members now use the member directive instead of function
2014-03-05Bump version to Blender2.70rc and new splashCampbell Barton
Splash concept art & paint-over: David Revoy. 3D artwork by Mathieu Auvray.
2014-02-20Docs: update man page script based on D251Campbell Barton