d2dbc96b81bug #1340
Ton Roosendaal
2004-05-29 17:33:30 +00:00
690a430bcbCounter 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
dbfe3daec3Oh, 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
6b51c684f1NEW! Blender now displays flipped (negative scaled) Objects correctly in OpenGL draw.
Ton Roosendaal
2004-05-29 16:17:46 +00:00
59dad6aefcRecoded 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
993a89e2a5Bug fix 1332
Ton Roosendaal
2004-05-27 17:54:26 +00:00
173ecf172aPanagiotis Papadakos's patch to fix the following:
Kent Mein
2004-05-27 14:54:14 +00:00
300f10afc8Tom'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
954e5546eaIn 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
8253d3e041Python 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
3dd18c5c34Added 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
e5cc9abcebFix Bug #1309 Disabling Actor leaves Ghost, Dynamic and Rigid Body etc enabled.
Kester Maddock
2004-05-26 12:01:08 +00:00
05e76c22b0bugfix: #1322 minor tweaks to the documentation for Draw module.
Stephen Swaney
2004-05-25 19:59:41 +00:00
5e3a9c092aChanged 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
f99099109fFixed 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
8a64e0e867BPython: - 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
cfda234450After 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
af0579b578Added the hotkey for Bevel in the menus
Matt Ebb
2004-05-24 13:46:36 +00:00
a96955efc2Game 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
86899e7a22Changed 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
7f6b88e389BPython: - 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
4551490dd4near & far are reserved words on MSVC. Don't use them as variable names.
Kester Maddock
2004-05-21 14:09:18 +00:00
a7456b37f1Cunning 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
2a622e35d4Added Shift C 'Center Cursor and View All' to View -> Align View menu
Matt Ebb
2004-05-21 01:35:10 +00:00
af6d9fb7a5A few hotkey additions/corrections to the toolbox and 3d view menus.
Matt Ebb
2004-05-20 12:27:21 +00:00
8391f0c337add some explanation about Object.Layer being a bitmask.
Stephen Swaney
2004-05-20 07:21:07 +00:00
2124168e21removed unused var in Object.getBoundBox()
Stephen Swaney
2004-05-20 06:26:43 +00:00
87f6745050MSVC 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
dbb6dc5d2fBug #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
f92ff8f25fUV_Export script update. Typo fix and add tga extension automaticly.
Martin Poirier
2004-05-20 01:18:13 +00:00
e67713c113Removed 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
1ff3066a9aBPython: -- 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
1a6329533fRemoved 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
ec45e4ad78Patch provided by Matthew Plough for better view zoom with CTRL+middle mouse.
Ton Roosendaal
2004-05-18 19:59:50 +00:00
9686d18311Forgot to add PyMath.cpp and .h
Nathan Letwory
2004-05-18 09:56:19 +00:00
885d7879faModified .vcproj files to include files for scenegraph, and remove a redundant file from render
Nathan Letwory
2004-05-18 09:34:06 +00:00
022bff122fBPython: - 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
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
a1f5e64239Tweaked 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
5454280f6cSame again - change static const for MSVC++
Kester Maddock
2004-05-17 09:06:54 +00:00
0f447ac5a8Fix 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
1adae69b5fRewind of change in MCol structure.
Ton Roosendaal
2004-05-16 16:25:40 +00:00
a0d82b242fDrawing cylinder & cone bounding objects according to how they will act in the physics simulation.
Kester Maddock
2004-05-16 13:23:59 +00:00
15849ce3d2Port closest points fix from tuhopuu - should return positive distance.
Kester Maddock
2004-05-16 13:13:41 +00:00
bab6e5ce36Cleanup unused/commented out code, compiler warnings, coding standards etc.
Kester Maddock
2004-05-16 13:10:10 +00:00
d5fde6c48bAdded #!/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
2fd6e72851Changed 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
9827bf0cd7Up the maximum triangles in a bucket. GPUs can do more now.
Kester Maddock
2004-05-16 12:56:36 +00:00
9d147f52fdUse safe_normalized instead of normalized in shadow cast. Should fix crashes reported by Calli
Kester Maddock
2004-05-16 12:56:08 +00:00
52a835a179Inline accessor methods used by armature deformation.
Kester Maddock
2004-05-16 12:55:37 +00:00
979e242657Frustum 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
5659bedf34Don't increment tface if tface == NULL Generate bounding boxes for frustum culling
Kester Maddock
2004-05-16 12:52:08 +00:00
ae20f7a95ebugfix: #1206 Object.getBoundBox() was returning obdata coordinates.
Stephen Swaney
2004-05-15 23:10:37 +00:00
7b78a57c03Adapted sconscript for removed file
Ton Roosendaal
2004-05-15 18:14:53 +00:00
1c93da1478Removed obsolete file
Ton Roosendaal
2004-05-15 18:13:42 +00:00
a4861c37beAssuming 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
95c546bd9dAdds 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
dd2a4a0249extend clean target for qhull and solid
Hans Lambermont
2004-05-14 20:40:56 +00:00
3d3b101541Added 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
81679446baMake 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
3118986bafcompleted 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
e0e14665faquick fix -- bug #1217 (Unable to access AA fonts in Linux)
Simon Clitherow
2004-05-12 20:30:18 +00:00
cf2aef1df9Secured 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
2825750330A few fixes to the menus:
Matt Ebb
2004-05-12 16:53:11 +00:00
e80a814360bugfix 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
2713e9a7e42.33a splash
Ton Roosendaal
2004-05-11 21:54:44 +00:00
714e8e755dVersion 2.33a
Ton Roosendaal
2004-05-11 21:49:46 +00:00
7a4e80b460Little things pending for menus...
Ton Roosendaal
2004-05-11 21:40:39 +00:00
fc2171c37aAdded 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
c993349190Here's a polish translation... done by Piotr Kiec. Thank you!
Rob Haarsma
2004-05-11 17:49:19 +00:00
34d3b2c2e4Changed 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
404d9ab0a2Tinsy 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
208a2937f7PATCH!
Ton Roosendaal
2004-05-10 20:14:21 +00:00
c4dc33f18eBug 1272
Ton Roosendaal
2004-05-10 18:17:06 +00:00
0238900617Bug fix for AO and Soft shadow:
Ton Roosendaal
2004-05-09 21:52:23 +00:00
6c7747a6f1Bug #1264
Ton Roosendaal
2004-05-09 21:37:36 +00:00