Commit Graph

  • d2dbc96b81 bug #1340 Ton Roosendaal 2004-05-29 17:33:30 +00:00
  • 690a430bcb Counter of mballs, before polygonize, had error in taking linked mball- data into account, causing errors modeling. Ton Roosendaal 2004-05-29 17:00:51 +00:00
  • dbfe3daec3 Oh, the fix is an addition of a OB_NEG_SCALE flag in ob->transflag, which is calculated in where_is_object. Negative scale is found by a cross product of first 2 rows in matrix, and comparing that (dot product) with third row. Ton Roosendaal 2004-05-29 16:22:07 +00:00
  • 6b51c684f1 NEW! Blender now displays flipped (negative scaled) Objects correctly in OpenGL draw. Ton Roosendaal 2004-05-29 16:17:46 +00:00
  • 59dad6aefc Recoded the methods how normals get corrected and flipped during render conversion. Old method tried to solve it per object, detecting a flipped matrix. Since we have displacemapping and raytracing this is too inaccurate. Also, flipping normals should alsways result i correct flipped vertex- normals too. Ton Roosendaal 2004-05-29 16:14:34 +00:00
  • 993a89e2a5 Bug fix 1332 Ton Roosendaal 2004-05-27 17:54:26 +00:00
  • 173ecf172a Panagiotis Papadakos's patch to fix the following: Kent Mein 2004-05-27 14:54:14 +00:00
  • 300f10afc8 Tom's additions to the windows build. (I changed #blendersaue to #blendercoders not #blendercompilers, does anyone actually use #blendercompilers?) Kent Mein 2004-05-27 08:05:55 +00:00
  • 954e5546ea In drawing solid objects ("Solid" drawmode) there were material switches (glMaterial) inbetween a glBegin and glEnd. Combined with a switch of glShadeModel however, on recent Nvidia it caused faces not to be drawn... dunno if this is official compliancy, but not too complex just to correct. Ton Roosendaal 2004-05-26 21:04:02 +00:00
  • 8253d3e041 Python fixes: Reenabled the setScript/getScript methods for python controller bricks. Set the ray source point to MouseFocusSensor.getRaySource works. Added: Python -> MT_Quaternion MT_Matrix4x4, MT_Matrix3x3, MT_Vector3, MT_Point3 -> Python Kester Maddock 2004-05-26 12:09:17 +00:00
  • 3dd18c5c34 Added an UpdateTransform callback from SceneGraph -> Physics. Profiling revealed that the SceneGraph updated every physics object, whether it moved or not, even though the physics object was at the right place. This would cause SOLID to go and update its bounding boxes, overlap tests etc. This callback handles the special case (parented objects) where the physics scene needs to be informed of changes to the scenegraph. Kester Maddock 2004-05-26 12:06:41 +00:00
  • e5cc9abceb Fix Bug #1309 Disabling Actor leaves Ghost, Dynamic and Rigid Body etc enabled. Kester Maddock 2004-05-26 12:01:08 +00:00
  • 05e76c22b0 bugfix: #1322 minor tweaks to the documentation for Draw module. Stephen Swaney 2004-05-25 19:59:41 +00:00
  • 5e3a9c092a Changed parameters names in addCurve function (suggested by Paolo) DLoc* --> dLoc* DRot* --> dRot* DSize* --> dSize* updated doc (Ipo.py) Jacques Guignot 2004-05-25 19:31:13 +00:00
  • f99099109f Fixed a potential bug in the uv editor transform function, a check if the tface might be only an edge was missing in one of the loops. Brecht Van Lommel 2004-05-25 19:06:48 +00:00
  • 8a64e0e867 BPython: - Campbell Barton contributed another function (thanks again), the Image.reload method: with this a script can keep an image that is being edited and saved by an external program updated in Blender. Willian Padovani Germano 2004-05-25 10:36:58 +00:00
  • f9fa705cd3 * Added support for python scripts to register themselves in the UV/Image editor 'UVs' menu Matt Ebb 2004-05-25 06:08:49 +00:00
  • 779d0d0221 - documentation update for new functions - error corrections in NLA about dictionaries Joseph Gilbert 2004-05-25 03:26:29 +00:00
  • 1308786974 - added Boneclass support - ability to get a bonespace/worldspace bone matrix - get ik flag - some tweaking to matrix updates for addBone() Joseph Gilbert 2004-05-25 02:48:02 +00:00
  • cfda234450 After hearing that the reason for do_common_editbuts being in buttons_object.c I decided to move it to buttons_editing.c, where it logically belongs. Matter of copy and paste (and deleting from buttons_object.c :) Nathan Letwory 2004-05-24 19:48:07 +00:00
  • af0579b578 Added the hotkey for Bevel in the menus Matt Ebb 2004-05-24 13:46:36 +00:00
  • a96955efc2 Game Python Reference Manual. This manual lists all the Python classes and modules for Game Objects, Sensor bricks, Controllers etc. Missing: Actuator & Controller reference. Kester Maddock 2004-05-24 07:49:50 +00:00
  • 86899e7a22 Changed two shorts in int, for calculation of distance between bezier point and mouse coordinate in selecting routine. Caused selection not to work in extreme zoom ins. (Thanks OOPz!) Ton Roosendaal 2004-05-23 19:13:15 +00:00
  • 7f6b88e389 BPython: - updated docs with recently added functions - dynamic menu entries now are sorted (alphabetically, of course) - added new menu categories for scripts: Wizards, Modifiers, Generators, Materials, Animation: only added to list of options, didn't mess with any Blender header. They are already available from the "Scripts" menu in the scripts win, but not elsewhere. - added option 'datadir' to Blender.Get(option): so scripts can use .blender/bpydata for reading / writing their data files. Willian Padovani Germano 2004-05-22 20:25:22 +00:00
  • 4551490dd4 near & far are reserved words on MSVC. Don't use them as variable names. Kester Maddock 2004-05-21 14:09:18 +00:00
  • a7456b37f1 Cunning hack for Blender python module in the game engine - just don't unload it before running the game! Kester Maddock 2004-05-21 09:27:42 +00:00
  • e957b12f0e Frustum sphere culling. Kester Maddock 2004-05-21 09:21:15 +00:00
  • 1217928e66 Fixes for Camera objects and python: Kester Maddock 2004-05-21 09:18:42 +00:00
  • 22883f9232 Query GL for max number of lights to use. Kester Maddock 2004-05-21 08:56:05 +00:00
  • e78ef29a59 Depth sorting for alpha mesh objects. Kester Maddock 2004-05-21 08:55:12 +00:00
  • 2a622e35d4 Added Shift C 'Center Cursor and View All' to View -> Align View menu Matt Ebb 2004-05-21 01:35:10 +00:00
  • af6d9fb7a5 A few hotkey additions/corrections to the toolbox and 3d view menus. Matt Ebb 2004-05-20 12:27:21 +00:00
  • 8391f0c337 add some explanation about Object.Layer being a bitmask. Stephen Swaney 2004-05-20 07:21:07 +00:00
  • 2124168e21 removed unused var in Object.getBoundBox() Stephen Swaney 2004-05-20 06:26:43 +00:00
  • 87f6745050 MSVC 6.0 ProjectFiles update. The file Kester added in his last commits were missing from the project files. Martin Poirier 2004-05-20 02:12:14 +00:00
  • dbb6dc5d2f Bug #1289 Mirror menu missing in the Header Menu for most object types in edit mode Martin Poirier 2004-05-20 01:22:43 +00:00
  • f92ff8f25f UV_Export script update. Typo fix and add tga extension automaticly. Martin Poirier 2004-05-20 01:18:13 +00:00
  • e67713c113 Removed a bzero from octree-filling, replaced with exact code what needs cleared. Timings go down nice: Ton Roosendaal 2004-05-19 19:30:43 +00:00
  • 1ff3066a9a BPython: -- Added two new functions to the Draw module, to display int and float popup buttons: Both contributed by Campbell Barton, thanks! -- Fixed a couple warnings. Willian Padovani Germano 2004-05-19 01:28:12 +00:00
  • 1a6329533f Removed double #defines from include, added some comments in code, and added define for future use to bring back old (fast) AA. Ton Roosendaal 2004-05-18 20:00:51 +00:00
  • ec45e4ad78 Patch provided by Matthew Plough for better view zoom with CTRL+middle mouse. Ton Roosendaal 2004-05-18 19:59:50 +00:00
  • 9686d18311 Forgot to add PyMath.cpp and .h Nathan Letwory 2004-05-18 09:56:19 +00:00
  • 885d7879fa Modified .vcproj files to include files for scenegraph, and remove a redundant file from render Nathan Letwory 2004-05-18 09:34:06 +00:00
  • 022bff122f BPython: - Finally added Blender.Load function for loading .blend files, useful for demos, for example. - Moved data from Blender.h to Blender.c. We'll keep doing this where it applies and someday remove all unused files at once. Willian Padovani Germano 2004-05-18 03:23:45 +00:00
  • fba0e401c9 Compiler portability fixes (MSVC 6) Kester Maddock 2004-05-17 23:56:56 +00:00
  • a6458b3cfa <blush> this should have been part of render commit of some days ago. This fixes errors in quads that are non-planar... Ton Roosendaal 2004-05-17 21:40:00 +00:00
  • a1f5e64239 Tweaked the display and positioning of tooltips so they aren't obscured by the mouse pointer. Matt Ebb 2004-05-17 14:36:13 +00:00
  • 5454280f6c Same again - change static const for MSVC++ Kester Maddock 2004-05-17 09:06:54 +00:00
  • 0f447ac5a8 Fix for MSVC .NET, which can't handle static const declarations in classes. Make it static, and define in SM_Object.cpp Kester Maddock 2004-05-17 08:31:35 +00:00
  • 6f4272a200 Fix for bug 1245: Vertex Colours are wrong in GameBlender. 2nd try. http://projects.blender.org/tracker/index.php?func=detail&aid=1245&group_id=9&atid=125 Kester Maddock 2004-05-17 00:42:07 +00:00
  • 1adae69b5f Rewind of change in MCol structure. Ton Roosendaal 2004-05-16 16:25:40 +00:00
  • a0d82b242f Drawing cylinder & cone bounding objects according to how they will act in the physics simulation. Kester Maddock 2004-05-16 13:23:59 +00:00
  • 15849ce3d2 Port closest points fix from tuhopuu - should return positive distance. Kester Maddock 2004-05-16 13:13:41 +00:00
  • bab6e5ce36 Cleanup unused/commented out code, compiler warnings, coding standards etc. Kester Maddock 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. Kester Maddock 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. Kester Maddock 2004-05-16 13:05:15 +00:00
  • 9827bf0cd7 Up the maximum triangles in a bucket. GPUs can do more now. Kester Maddock 2004-05-16 12:56:36 +00:00
  • 9d147f52fd Use safe_normalized instead of normalized in shadow cast. Should fix crashes reported by Calli Kester Maddock 2004-05-16 12:56:08 +00:00
  • 52a835a179 Inline accessor methods used by armature deformation. Kester Maddock 2004-05-16 12:55:37 +00:00
  • 512c269a16 Use const for SetProjectionMatrix Remove warning printf. Kester Maddock 2004-05-16 12:55:21 +00:00
  • 2144f20b04 Use bitset instead of mucking around with <<, | and & Kester Maddock 2004-05-16 12:55:05 +00:00
  • c50055204d SceneGraph support for bounding boxs Kester Maddock 2004-05-16 12:54:44 +00:00
  • 3e6b05f607 Python utils for Python <-> MT_Vector, MT_Point & MT_Matrix Kester Maddock 2004-05-16 12:53:54 +00:00
  • 0a27ae972e Don't overwrite camera's projection matrix every frame. Kester Maddock 2004-05-16 12:53:39 +00:00
  • d162882e3a Frustum culling New Python Hooks for cameras. Kester Maddock 2004-05-16 12:53:22 +00:00
  • 3b63bbe90c Don't touch protected KX_GameObject members. Protect KX_GameObject - Py_Header unprotects! Kester Maddock 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. Kester Maddock 2004-05-16 12:52:30 +00:00
  • 5659bedf34 Don't increment tface if tface == NULL Generate bounding boxes for frustum culling Kester Maddock 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 Kester Maddock 2004-05-16 12:50:16 +00:00
  • ae20f7a95e bugfix: #1206 Object.getBoundBox() was returning obdata coordinates. Stephen Swaney 2004-05-15 23:10:37 +00:00
  • 7b78a57c03 Adapted sconscript for removed file Ton Roosendaal 2004-05-15 18:14:53 +00:00
  • 1c93da1478 Removed obsolete file Ton Roosendaal 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. Ton Roosendaal 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. Joseph Gilbert 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. Joseph Gilbert 2004-05-15 03:09:27 +00:00
  • d00ad69b06 - spelling error and example fix Joseph Gilbert 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. Johnny Matthews 2004-05-15 02:28:03 +00:00
  • dd2a4a0249 extend clean target for qhull and solid Hans Lambermont 2004-05-14 20:40:56 +00:00
  • 3d3b101541 Added the basic installation notes for each OS. People might want to check it. :) Ton Roosendaal 2004-05-13 15:02:01 +00:00
  • 5d3629fdd8 - Small improvement, check ~/.blender/.bfont.ttf instead of .blender/.bfont.ttf in cwd. Wouter van Heyst 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. Kester Maddock 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 Jean-Luc Peurière 2004-05-12 22:11:39 +00:00
  • 32e3efb59f - sync version up with blender/release/VERSION Wouter van Heyst 2004-05-12 20:58:46 +00:00
  • e0e14665fa quick fix -- bug #1217 (Unable to access AA fonts in Linux) Simon Clitherow 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! Ton Roosendaal 2004-05-12 19:17:00 +00:00
  • 2825750330 A few fixes to the menus: Matt Ebb 2004-05-12 16:53:11 +00:00
  • e80a814360 bugfix from bpy mail list: Object.setEuler() was not accepting old style args of 3 floats. Stephen Swaney 2004-05-12 08:06:15 +00:00
  • 2713e9a7e4 2.33a splash Ton Roosendaal 2004-05-11 21:54:44 +00:00
  • 714e8e755d Version 2.33a Ton Roosendaal 2004-05-11 21:49:46 +00:00
  • 7a4e80b460 Little things pending for menus... Ton Roosendaal 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. :) Ton Roosendaal 2004-05-11 19:08:02 +00:00
  • c993349190 Here's a polish translation... done by Piotr Kiec. Thank you! Rob Haarsma 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. Ton Roosendaal 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. Joseph Gilbert 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! Ton Roosendaal 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 Daniel Dunbar 2004-05-10 20:35:46 +00:00
  • 208a2937f7 PATCH! Ton Roosendaal 2004-05-10 20:14:21 +00:00
  • c4dc33f18e Bug 1272 Ton Roosendaal 2004-05-10 18:17:06 +00:00
  • 0238900617 Bug fix for AO and Soft shadow: Ton Roosendaal 2004-05-09 21:52:23 +00:00
  • 6c7747a6f1 Bug #1264 Ton Roosendaal 2004-05-09 21:37:36 +00:00