Martin Poirier
f92ff8f25f
UV_Export script update. Typo fix and add tga extension automaticly.
2004-05-20 01:18:13 +00:00
Ton Roosendaal
e67713c113
Removed a bzero from octree-filling, replaced with exact code what
...
needs cleared. Timings go down nice:
octree new 2.33a
128 0:04.2 0:07.5
256 0:06.5 0:20.0
512 0:18.0 2.06.9
Time is including initialize renderfaces etc. 100k quads.
2004-05-19 19:30:43 +00:00
Willian Padovani Germano
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.
2004-05-19 01:28:12 +00:00
Ton Roosendaal
1a6329533f
Removed double #defines from include, added some comments in code, and
...
added define for future use to bring back old (fast) AA.
2004-05-18 20:00:51 +00:00
Ton Roosendaal
ec45e4ad78
Patch provided by Matthew Plough for better view zoom with CTRL+middle
...
mouse.
For me it's a good replacement, and more intuitive & compatible. Now
let's wait for the storm of reactions...
2004-05-18 19:59:50 +00:00
Nathan Letwory
9686d18311
Forgot to add PyMath.cpp and .h
2004-05-18 09:56:19 +00:00
Nathan Letwory
885d7879fa
Modified .vcproj files to include files for scenegraph, and remove a redundant file from render
2004-05-18 09:34:06 +00:00
Willian Padovani Germano
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.
2004-05-18 03:23:45 +00:00
Kester Maddock
fba0e401c9
Compiler portability fixes (MSVC 6)
2004-05-17 23:56:56 +00:00
Ton Roosendaal
a6458b3cfa
<blush> this should have been part of render commit of some days ago.
...
This fixes errors in quads that are non-planar...
2004-05-17 21:40:00 +00:00
Matt Ebb
a1f5e64239
Tweaked the display and positioning of tooltips so they aren't obscured by the mouse pointer.
...
This is addressing bug #952
2004-05-17 14:36:13 +00:00
Kester Maddock
5454280f6c
Same again - change static const for MSVC++
2004-05-17 09:06:54 +00:00
Kester Maddock
0f447ac5a8
Fix for MSVC .NET, which can't handle static const declarations in classes.
...
Make it static, and define in SM_Object.cpp
2004-05-17 08:31:35 +00:00
Kester Maddock
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
The member names of MCol are wrong, so we will convert to unsigned char* like the rest of blender.
2004-05-17 00:42:07 +00:00
Ton Roosendaal
1adae69b5f
Rewind of change in MCol structure.
...
Kester: since this is in DNA, it backwards converts all R into B now,
which isn't the bug. On big endian systems (OSX) there engine colors
are OK, which indicates the conversion of MCol goes wrong on the
engine side, by using some endian-sensative approach.
The main confusement is, that the MCol struct isn't in use for read
or write in Blender, only for a save in files. The contents of that
struct is wrong, yes. See note in vpaint.c top.
2004-05-16 16:25:40 +00:00
Kester Maddock
a0d82b242f
Drawing cylinder & cone bounding objects according to how they will act in the physics simulation.
2004-05-16 13:23:59 +00:00
Kester Maddock
15849ce3d2
Port closest points fix from tuhopuu - should return positive distance.
2004-05-16 13:13:41 +00:00
Kester Maddock
bab6e5ce36
Cleanup unused/commented out code, compiler warnings, coding standards etc.
2004-05-16 13:10:10 +00:00
Kester Maddock
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
Kester Maddock
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
Kester Maddock
9827bf0cd7
Up the maximum triangles in a bucket.
...
GPUs can do more now.
2004-05-16 12:56:36 +00:00
Kester Maddock
9d147f52fd
Use safe_normalized instead of normalized in shadow cast.
...
Should fix crashes reported by Calli
2004-05-16 12:56:08 +00:00
Kester Maddock
52a835a179
Inline accessor methods used by armature deformation.
2004-05-16 12:55:37 +00:00
Kester Maddock
512c269a16
Use const for SetProjectionMatrix
...
Remove warning printf.
2004-05-16 12:55:21 +00:00
Kester Maddock
2144f20b04
Use bitset instead of mucking around with <<, | and &
2004-05-16 12:55:05 +00:00
Kester Maddock
c50055204d
SceneGraph support for bounding boxs
2004-05-16 12:54:44 +00:00
Kester Maddock
3e6b05f607
Python utils for Python <-> MT_Vector, MT_Point & MT_Matrix
2004-05-16 12:53:54 +00:00
Kester Maddock
0a27ae972e
Don't overwrite camera's projection matrix every frame.
2004-05-16 12:53:39 +00:00
Kester Maddock
d162882e3a
Frustum culling
...
New Python Hooks for cameras.
2004-05-16 12:53:22 +00:00
Kester Maddock
3b63bbe90c
Don't touch protected KX_GameObject members.
...
Protect KX_GameObject - Py_Header unprotects!
2004-05-16 12:52:54 +00:00
Kester Maddock
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
Kester Maddock
5659bedf34
Don't increment tface if tface == NULL
...
Generate bounding boxes for frustum culling
2004-05-16 12:52:08 +00:00
Kester Maddock
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
Ton Roosendaal
7b78a57c03
Adapted sconscript for removed file
2004-05-15 18:14:53 +00:00
Ton Roosendaal
1c93da1478
Removed obsolete file
2004-05-15 18:13:42 +00:00
Ton Roosendaal
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
Joseph Gilbert
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
Joseph Gilbert
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
Joseph Gilbert
d00ad69b06
- spelling error and example fix
2004-05-15 03:02:11 +00:00
Johnny Matthews
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
Ton Roosendaal
3d3b101541
Added the basic installation notes for each OS.
...
People might want to check it. :)
2004-05-13 15:02:01 +00:00
Wouter van Heyst
5d3629fdd8
- Small improvement, check ~/.blender/.bfont.ttf instead of .blender/.bfont.ttf in cwd.
2004-05-13 14:21:08 +00:00
Kester Maddock
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
Jean-Luc Peurière
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
Wouter van Heyst
32e3efb59f
- sync version up with blender/release/VERSION
2004-05-12 20:58:46 +00:00
Simon Clitherow
e0e14665fa
quick fix -- bug #1217 (Unable to access AA fonts in Linux)
2004-05-12 20:30:18 +00:00
Ton Roosendaal
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
Matt Ebb
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