Commit Graph

66005 Commits

Author SHA1 Message Date
a0d82b242f Drawing cylinder & cone bounding objects according to how they will act in the physics simulation. 2004-05-16 13:23:59 +00:00
15849ce3d2 Port closest points fix from tuhopuu - should return positive distance. 2004-05-16 13:13:41 +00:00
bab6e5ce36 Cleanup unused/commented out code, compiler warnings, coding standards etc. 2004-05-16 13:10:10 +00:00
d5fde6c48b Added #!/usr/bin/python standard script identifier to the start of SConscript files.
Makes text editors identify SConscripts as Python, and syntax highlight properly.
2004-05-16 13:07:20 +00:00
2fd6e72851 Changed Python _getattr/_setattr methods to use const STR_String& instead of char* - makes using these methods much nicer. 2004-05-16 13:05:15 +00:00
9827bf0cd7 Up the maximum triangles in a bucket.
GPUs can do more now.
2004-05-16 12:56:36 +00:00
9d147f52fd Use safe_normalized instead of normalized in shadow cast.
Should fix crashes reported by Calli
2004-05-16 12:56:08 +00:00
52a835a179 Inline accessor methods used by armature deformation. 2004-05-16 12:55:37 +00:00
512c269a16 Use const for SetProjectionMatrix
Remove warning printf.
2004-05-16 12:55:21 +00:00
2144f20b04 Use bitset instead of mucking around with <<, | and & 2004-05-16 12:55:05 +00:00
c50055204d SceneGraph support for bounding boxs 2004-05-16 12:54:44 +00:00
3e6b05f607 Python utils for Python <-> MT_Vector, MT_Point & MT_Matrix 2004-05-16 12:53:54 +00:00
0a27ae972e Don't overwrite camera's projection matrix every frame. 2004-05-16 12:53:39 +00:00
d162882e3a Frustum culling
New Python Hooks for cameras.
2004-05-16 12:53:22 +00:00
3b63bbe90c Don't touch protected KX_GameObject members.
Protect KX_GameObject - Py_Header unprotects!
2004-05-16 12:52:54 +00:00
979e242657 Frustum Culling.
- tests every object against the view frustum.
- Tree based culling is there, need to build tree.
2004-05-16 12:52:30 +00:00
5659bedf34 Don't increment tface if tface == NULL
Generate bounding boxes for frustum culling
2004-05-16 12:52:08 +00:00
cfffc96ad8 Fix for bug 1245: Colours are wrong on GameBlender
http://projects.blender.org/tracker/index.php?func=detail&aid=1245&group_id=9&atid=125

The vertex paint routines were storing red in the blue channel, and blue in the red channel.
2004-05-16 12:50:16 +00:00
Stephen Swaney
ae20f7a95e bugfix: #1206 Object.getBoundBox() was returning obdata coordinates.
fix memory leak in vector module.  Memory allocated by vector constructor
was not being freed.
2004-05-15 23:10:37 +00:00
7b78a57c03 Adapted sconscript for removed file 2004-05-15 18:14:53 +00:00
1c93da1478 Removed obsolete file 2004-05-15 18:13:42 +00:00
a4861c37be Assuming the freeze is over and we can head towards 2.34: this is the
first commit for review and improvements on OSA (anti aliasing) in
Blender.

http://www.blender3d.org/cms/Rendering_engine.320.0.html

Most relevant changes:
- full check on subpixel sample locations
- all subpixels are fully rendered (gives spec AA, procedural texture AA)
- also unified render uses it
- removed double-used code for unified render

Whether or not this will be optional (better pics, but in some cases slow)
is to further evaluate. For raytracing - for example - this cannot be simply
done, since the new sampling system made raytrace code much simpler.
2004-05-15 18:07:09 +00:00
b4ecf7d973 - added setBorder() to renderingContext to set border render rects from python.
- updated sizePreset() to deal with borders.
2004-05-15 14:32:21 +00:00
23637ccdd7 - bugfix #998 Object matrix incorrect
- object's matrix is not updated until redraw. pymatrix returned is updated to reflect current variables.
2004-05-15 03:09:27 +00:00
d00ad69b06 - spelling error and example fix 2004-05-15 03:02:11 +00:00
95c546bd9d Adds a 'paint' floating panel to the image window to control brush settings for texture paint mode.
Also adds paint and properties to the view menu in image window.
2004-05-15 02:28:03 +00:00
Hans Lambermont
dd2a4a0249 extend clean target for qhull and solid 2004-05-14 20:40:56 +00:00
3d3b101541 Added the basic installation notes for each OS.
People might want to check it. :)
2004-05-13 15:02:01 +00:00
5d3629fdd8 - Small improvement, check ~/.blender/.bfont.ttf instead of .blender/.bfont.ttf in cwd. 2004-05-13 14:21:08 +00:00
81679446ba Make game users happier.
Don't apply friction to external velocities.  The means motion actuators that set linV will work, without having to be repeatedly triggered.
2004-05-13 13:07:38 +00:00
3118986baf completed build for release on mac Os X, no more manual operations
build for debug still to be completed
2004-05-12 22:11:39 +00:00
32e3efb59f - sync version up with blender/release/VERSION 2004-05-12 20:58:46 +00:00
e0e14665fa quick fix -- bug #1217 (Unable to access AA fonts in Linux) 2004-05-12 20:30:18 +00:00
cf2aef1df9 Secured division by extreme values with a FLT_EPSILON. This might
prevent hanging on optimized windows build. That's going to be tested
now!
2004-05-12 19:17:00 +00:00
2825750330 A few fixes to the menus:
* Added the axis constraints (and fixed a bug) in the newly
 added View3D transform menus, and in doing so removed
 some duplicated code from toolbox.c
* Cleaned up text labelling

Hint:
Remember to use Title Case for menu labels, and only use
an ellipsis (...) when the menu opens up another new
dialog like a panel or a pupmenu(). The ellipsis indicates
"there is something more to come" and that no action,
mode-change, whatever will be executed immediately.
2004-05-12 16:53:11 +00:00
Stephen Swaney
e80a814360 bugfix from bpy mail list:
Object.setEuler() was not accepting old style args of 3 floats.
2004-05-12 08:06:15 +00:00
2713e9a7e4 2.33a splash 2004-05-11 21:54:44 +00:00
714e8e755d Version 2.33a 2004-05-11 21:49:46 +00:00
7a4e80b460 Little things pending for menus...
- grab/rot/scale sublevel in object pulldown (mostly as hotkey reminder)
- added missing hotkeys to 2 toolbox items
2004-05-11 21:40:39 +00:00
fc2171c37a Added warning message on attempt to join 2 Meshes with vertex keys.
That feature is not available... and I doubt that'll be soon. :)
2004-05-11 19:08:02 +00:00
c993349190 Here's a polish translation... done by Piotr Kiec. Thank you! 2004-05-11 17:49:19 +00:00
34d3b2c2e4 Changed printing an empty string to print "0" for files for zero size
in file selector.
Thanks Joilnen for pointing to this line.
2004-05-11 12:50:04 +00:00
f141aed9dc - bugfix #1197 (New Bone.parent/child Access Destructive)
- a major redo of the Bone module
- BPy_Bone structs are separated into Bone data and python vars. This is necessary for the correct memory allocation of bone data between python and the global armature list.
2004-05-11 08:26:44 +00:00
404d9ab0a2 Tinsy error in undo for selection. Undo_push() was called too late.
Reported by Grogilius. Thanks!
2004-05-10 21:15:18 +00:00
00b44d4db2 - nasty memory corruption on windows for getting home directory
- check to make sure $HOME/.blender exists before returning that
    as the home
2004-05-10 20:35:46 +00:00
208a2937f7 PATCH!
Bug 1258: selecting objects with text drawing (axis, or as draw extra)
causes crashes in IBM cards. Has been tested & verified. A crash on
selecting Empty is often reported... so I just disabled drawing of
text when in selecting-draw mode.
Added comments in code to note it clearly.
2004-05-10 20:14:21 +00:00
c4dc33f18e Bug 1272
Normals for mball where flipped, when using displace mapping.
Fix is both flipping normals, and flipping flip flags.
2004-05-10 18:17:06 +00:00
0238900617 Bug fix for AO and Soft shadow:
When Traceable was off, and the rendered pixel outside Octree, the
intersection was going wrong. Due to the many samples taken not easy
to see, but certainly causing extra noise.
2004-05-09 21:52:23 +00:00
6c7747a6f1 Bug #1264
When in texture buttons, selecting Lamp, Camera or other Object didnt
update the shown texture correctly. Now it nicely switches.
2004-05-09 21:37:36 +00:00
366f58fca7 Added tooltips for Lattice editbuttons. 2004-05-09 21:26:43 +00:00