Commit Graph

47594 Commits

Author SHA1 Message Date
08c14c7ca0 Mouse Wheel Support for the Game Engine.
This adds "Wheel Up" and "Wheel Down" as choices to the Mouse sensor brick.
2004-05-02 23:45:03 +00:00
Chris Want
45a240260e Check that deformer is an armature defore updating the displists
of it's children (gives speed up for alt-A, animation rendering).
2004-05-02 22:03:22 +00:00
5a4e574b81 - Documentation for the new python API 2004-05-02 14:29:31 +00:00
e7df984c16 Changes for OSX compiling with Makefiles;
- support 2.3 python
- use -O2 for all
- fixed reference to SOLID.h
2004-05-01 16:52:29 +00:00
Hans Lambermont
dcb83e27a2 - use SDL sound on FreeBSD too.
- add solid include path to unix common makefile ... this is not FreeBSD
  specific, so I'm a bit confused as this wasn't corrected before.
2004-04-30 17:50:48 +00:00
298922ce39 Splash! :)
Thanks Piotr Kordala for the great artwork.
2004-04-30 11:52:08 +00:00
Chris Want
bfc6fbc573 Make python 2.3 the default for the irix build. 2004-04-30 02:12:28 +00:00
4c423081b2 Fix committed a while ago, revision 1.52, still set a bluroffset in a
very unexpected location, causing small offset in rendered sub-pixel,
which showed only up raytracing a very detailed object with small
faces... ugh!

(Thanks [A]ndy, sorry Desoto! :-)
2004-04-29 22:31:48 +00:00
954cf702d6 Upped version to 233 for in header in Blender
(Warn: still to do: splash!)
2004-04-29 17:14:31 +00:00
33abfc8015 World->physicsEngine is SUMO when you create new one. 2004-04-29 17:13:50 +00:00
94e57dbe0d Noted by Desoto: new 'Checker' option for Image repeat could use better
preview.
2004-04-29 16:33:08 +00:00
97f2cf05f5 Fix #1207
Flag for 'only shadow' was still working when lamp type switched to
Hemi. Also 'only shadow' didnt work yet for ray_shadow Spot lamp.
2004-04-29 16:20:34 +00:00
d6eeceb83d Fix #1205
Array with 'auto' names for textures didn't have the new names yet
(musgrave, voronoi, distnoise)
2004-04-29 15:56:26 +00:00
813352d677 fix #1204
Two typos in tooltips.
2004-04-29 15:52:11 +00:00
d7e6a3dd47 Fix blenderplayer unable to load .blend files (only runtimes!) 2004-04-29 10:51:02 +00:00
Stephen Swaney
2609a608bb fix for #1123 by Roland Hess (harkyman)
Testing has not convinced me this is a complete solution to the
Ipo Curve handle issue, but it does seem to make things
better for curves created via python.  We will probably need to revisit
this, especially if we expose the curve handles in the bpy interface.
2004-04-29 04:50:28 +00:00
Stephen Swaney
1e75dbc0a1 bump version number 2004-04-29 01:56:55 +00:00
8f4f2e5235 Correct icons for OSX 2004-04-28 21:19:18 +00:00
02ba73aaad Sneaked in new feature (request samo):
The Image texture repeat options, now allow a "Checker" repeat. With
odd and even tiles set separately, and a size button to set a
'Mortar' inbetween tiles.

http://www.blender3d.org/cms/Render_engine_features.215.0.html

Also fixed bug: using 'CalcAlpha' option for image textures didn't give
antialised edges for image.
2004-04-28 18:08:34 +00:00
0da09b4299 Bug 1203
Error in code invoked by menu:
View3d header -> Select -> Groups -> Parent
There was a call to draw an object in frontbuffer, whilst the header
was still active.
Not needed, because full redraw event was sent too.
2004-04-28 17:35:35 +00:00
07b6ca41c8 Bug fix 1202
Sample file showed UV-textured Subsurf, in 'Potato' texture view. When
separating part of it in editmode, a null pointer was referenced in
drawing code.
2004-04-28 17:26:30 +00:00
83b17b9f4d Fix: Setting objects Dynamic, then unsetting Actor would leave an object dynamic.
Check for Actor && Dynamic to enable dynamic.
2004-04-28 09:08:42 +00:00
0bf41c06cd Error in popup menu for new Musgrave texture. The order was wrong, and the
button values where wrong... big messup!
Only thing that actually changes is that now the Musgrave names suddenly
are different.

Thanks Desoto for finding it!
2004-04-27 19:42:41 +00:00
ef4a6c3551 Bug 1199
Joining meshes could crash when 1 had vertexgroups, other not.
The first then should have been appended from other file, to make
it more complex. :)

Crash caused by reading NULL pointer.
2004-04-27 19:30:16 +00:00
978ba3c208 Fixed minimum limit for values in Armature panel. 2004-04-27 19:05:41 +00:00
34a2350908 - UGH! Some optimize line in sky code screwed up sky render when it had
no texture nor blend... gave weird lines in render.
2004-04-27 17:06:02 +00:00
79d990f310 - Bug fix: MetaBalls was not polygonized, when armature (as parent of MetaBalls) was in pose mode. 2004-04-27 14:37:19 +00:00
4641463589 removed print "break true" when pressing ESC with render window active. 2004-04-27 12:17:16 +00:00
4f815a52f1 Error found in code that allows dynamic octrees. A lookup table was not
cleared correctly for each face, causing too many octree nodes to be
filled in.
Especially for more complex scenes this fix is quite a time saver.

Still looking at ways to speedup octree filling though.
2004-04-26 22:14:31 +00:00
4ff3a1ec10 Request from [A]ndy:
When tracing a mirror with AO, the rendering was extremely slow due to
each mirror sample (like 8 per pixel) taking a full range of AO samples.

Now it uses for mirror samples a corrected amount, which makes sure for
a single pixel still a full AO range is used.
Makes mirror+AO render 5-6 times faster, at least.
2004-04-26 21:38:36 +00:00
Stephen Swaney
0e156156b1 bugfix: Ipo.addCurve() was creating a new Ipo block and adding curve there
instead of adding curve to existing Ipo.  reported on elysiun.
2004-04-26 17:21:51 +00:00
6d2970e406 Added Ambient channel in "Map To" Panel for materials. Is now means to
control AO and Radio with texture too.
2004-04-26 16:49:05 +00:00
44f8257436 Optimize for AO: when material ambient value is zero, no AO calculus
takes place now. Also nice to tweak & speedup environments.

(Thanks Theeth for hint!)
2004-04-26 15:07:08 +00:00
0facc2681e Solved AO smooth rendering, by introducing a "Bias" value for smoothed
rendered faces.
http://www.blender3d.org/cms/Ambient_Occlusion.231.0.html

ALso removed prints when allocating new 'face groups' etc, which wasn't
informative at all.
2004-04-26 14:17:48 +00:00
5df9926f49 Fix MouseFocus Sensor objects for dynamic cameras. (Bug 1165) 2004-04-26 07:19:18 +00:00
f331fc8fbb - add comment in filesel.c to note where memory from some BLO_blendhandle
functions is going
2004-04-25 15:12:45 +00:00
2d24298b91 BPython:
-- epydoc Documentation for eeshlo's Noise module + small typo fix in Noise.c
-- BPY_end_python closes .blend file opened by Library module when script doesn't do it by itself.
2004-04-25 14:43:21 +00:00
395c1152c8 - finalize scene.render module
- added some constants for the rendering module to blender module
- moved rendering functions from scene to scene.render
- rendering functions called from renderData struct instead of from scene directly
- getRenderingContext() returns rendering data struct
- deprecation of old scene functions
- some formatting/documentation of code
2004-04-25 05:18:43 +00:00
f47ec62b07 Ah, it's better when the menus show the correct hotkeys isn't it ;) 2004-04-24 21:59:34 +00:00
7e75a72585 For the 100st time or so: fix in selecting vertices for Mesh editmode.
Why do i keep thinking it works? And will it be still broken? We find
out in a month! :)

Fixes also report 1191.
2004-04-24 21:51:38 +00:00
64fd636f0c Mirror in object mode. Works like Mirror in edit mode but only works on local axis (doing it differently would require a much more clever algorithm).
Mirror Object is assigned to Ctrl-M and I've add Ctrl-M to call Mirror Edit (on top of M alone) for practical reason. We should consider switching both to Ctrl-M for pratical reasons but I kept M for backward compatibility
Also added the menu and toolbox counterparts.

Minor addition to arithb.c: A function to print vectors to the console. Easier for debuging.
2004-04-24 21:09:06 +00:00
5bbd35ff05 Turned Sky render code in Blender to become fully float, it still returned
bytes for RGB.
This to allow very bright contrasted images to be used for AO as well. As
a first start also the Texture->Colors panel now allows contrast setting
up to 5.0 (was 2.0).
2004-04-24 20:27:29 +00:00
382297b687 BPython:
- New module + doc: Blender.Library:
  It's like File->Append, loads datablocks from .blend files.
- small updates to fix warnings and accomodate for the new module, in readfile.[ch]
- New Blender.sys module function: time, a wrapper of the PIL get time function.
- Updated original makefile and scons builds.
2004-04-24 20:04:37 +00:00
f157940432 - convert darwin icon files to binary 2004-04-24 18:34:08 +00:00
4d29aee140 New: rendering in background mode (blender -b) now prints a percentage to
indicate scanlines being in progress. For motion blur frames it works too.

Bug fix: in background render it accidentally tried to free a sound pointer
that wasn't set. (caused by own commit of three days ago).

Fix: rendering motion blur in forground prints correct sample # in info-
header again.
2004-04-24 12:02:39 +00:00
63048b6cf4 Synchronise game engine with Tuhopuu2 tree. 2004-04-24 06:40:15 +00:00
a46f456e92 Fixes for MouseFocusSensor: (bug 1165)
1. Do the ray cast properly (from the near plane to the far clip plane)
2. Loop over invisible objects (sensors)
2004-04-24 06:36:55 +00:00
3a2194a534 Remove ability to open a published executable from Blender. 2004-04-24 06:29:51 +00:00
8ff958e821 The Anim and Tiles settings in the Image Window are now available again, in the
new Properties panel (was first called Transform Properties). They include the
same settings as were previously found in the window header: Anim toggle,
Start/End frame, Speed, Tiles toggle, X repeat and Y repeat.

The Tiles button used to work incorrectly in 2.25, this is now fixed too.

The drawing of the UV Vertex transform buttons in the Properties panel used to
give popup error messages when in Edit Mode (uv_tface_editing_is_allowed is not
silent). Also these buttons would still draw in Edit Mode. Both are problems
are solved now.
2004-04-23 21:38:01 +00:00
dffa667674 Raytrace now has option to change the resolution of the Octree used. It
appeared that the standard size (64x64x64) just works fine for small
scenes, like a single character in a small environment. Larger scenes and
larger environments became exponentional slower.

Disadvantage of larger octrees is longer build time, and overhead traver-
sing it though, so something to tweak based on some experimenting.
A table with test results + blender file will be in CMS soon.

New button is in F10 Render panel, in bottom. Last free spot there! O_o
Sizes supported now 64, 128, 256 or 512.
2004-04-23 21:02:58 +00:00