blender.git
16 years agoHere's a polish translation... done by Piotr Kiec. Thank you!
Rob Haarsma [Tue, 11 May 2004 17:49:19 +0000 (17:49 +0000)]
Here's a polish translation... done by Piotr Kiec. Thank you!

16 years agoChanged printing an empty string to print "0" for files for zero size
Ton Roosendaal [Tue, 11 May 2004 12:50:04 +0000 (12:50 +0000)]
Changed printing an empty string to print "0" for files for zero size
in file selector.
Thanks Joilnen for pointing to this line.

16 years ago- bugfix #1197 (New Bone.parent/child Access Destructive)
Joseph Gilbert [Tue, 11 May 2004 08:26:44 +0000 (08:26 +0000)]
- 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.

16 years agoTinsy error in undo for selection. Undo_push() was called too late.
Ton Roosendaal [Mon, 10 May 2004 21:15:18 +0000 (21:15 +0000)]
Tinsy error in undo for selection. Undo_push() was called too late.
Reported by Grogilius. Thanks!

16 years ago - nasty memory corruption on windows for getting home directory
Daniel Dunbar [Mon, 10 May 2004 20:35:46 +0000 (20:35 +0000)]
 - nasty memory corruption on windows for getting home directory
 - check to make sure $HOME/.blender exists before returning that
    as the home

16 years agoPATCH!
Ton Roosendaal [Mon, 10 May 2004 20:14:21 +0000 (20:14 +0000)]
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.

16 years agoBug 1272
Ton Roosendaal [Mon, 10 May 2004 18:17:06 +0000 (18:17 +0000)]
Bug 1272

Normals for mball where flipped, when using displace mapping.
Fix is both flipping normals, and flipping flip flags.

16 years agoBug fix for AO and Soft shadow:
Ton Roosendaal [Sun, 9 May 2004 21:52:23 +0000 (21:52 +0000)]
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.

16 years agoBug #1264
Ton Roosendaal [Sun, 9 May 2004 21:37:36 +0000 (21:37 +0000)]
Bug #1264

When in texture buttons, selecting Lamp, Camera or other Object didnt
update the shown texture correctly. Now it nicely switches.

16 years agoAdded tooltips for Lattice editbuttons.
Ton Roosendaal [Sun, 9 May 2004 21:26:43 +0000 (21:26 +0000)]
Added tooltips for Lattice editbuttons.

16 years ago fix for bug #1263
Ton Roosendaal [Sun, 9 May 2004 21:15:05 +0000 (21:15 +0000)]
 fix for bug #1263

When zooming in extreme, scaling things outside of view caused dashed
line to be wrong... it used shorts for screencoords. Made it a float.

16 years agoAs we dutchies say: "Now breaks my clog!"
Ton Roosendaal [Sun, 9 May 2004 20:40:21 +0000 (20:40 +0000)]
As we dutchies say: "Now breaks my clog!"

Apparently the 'sync' option for alt+a anim playback *can* run without
the sound_init_audio() being called, but it cannot play audio... o_O
(For who doesnt know, syncing was coded abusing audio timing)

Anyhoo. This also fixes #1267, reporting that 'sync' option didnt work.

16 years agoBPython:
Willian Padovani Germano [Sun, 9 May 2004 02:18:51 +0000 (02:18 +0000)]
BPython:
- Manuel from MakeHuman reported a memory leak in NMesh_getVertsFromGroup, should be fixed now.  A pylist was not being decref'ed.

16 years agoFixed Sconstruct file so that blender.app Bundle builds correctly
Jean-Luc Peurière [Sat, 8 May 2004 22:29:56 +0000 (22:29 +0000)]
Fixed Sconstruct file so that blender.app Bundle builds correctly
with all needed files in Ressources dir (.Blanguages, .bfont.ttf, locale)
and with unwanted CVS dirs and DS_Store files removed.

binary is also stripped before inclusion in Bundle.

16 years agoFixed little annoyance that caused previewrender not to clear sometimes.
Ton Roosendaal [Sat, 8 May 2004 09:42:33 +0000 (09:42 +0000)]
Fixed little annoyance that caused previewrender not to clear sometimes.
For example when no Texture exists, and you switch from material to
texture buttons.

16 years agopost 2.33 release commit of the modified SCons files for Os X.
Jean-Luc Peurière [Sat, 8 May 2004 01:34:39 +0000 (01:34 +0000)]
post 2.33 release commit of the modified SCons files for Os X.

Sconstruct modified so that Blender build on 10.3 without any additionnal
download than source + darwin libs.
defaults settings correct for 10.3.

fixed bug # 1260 : added MT_NDEBUG flag at top-level.

16 years agoDelete all SOLID shapes at the end of the game engine. They were all being leaked!
Kester Maddock [Sat, 8 May 2004 00:25:20 +0000 (00:25 +0000)]
Delete all SOLID shapes at the end of the game engine.  They were all being leaked!

16 years agoNum-slider buts and CTRL didn't work when range was > 1.0
Ton Roosendaal [Fri, 7 May 2004 19:56:26 +0000 (19:56 +0000)]
Num-slider buts and CTRL didn't work when range was > 1.0

16 years agoAdded two more mapping types to World buttons for sky render.
Ton Roosendaal [Fri, 7 May 2004 18:03:40 +0000 (18:03 +0000)]
Added two more mapping types to World buttons for sky render.

"Sphere": spherical mapping for a 360 degree panorama
"Tube": cylindrical mapping for a 360 degree panorama

Both mappings by default do only the sky (upper) hemisphere. The color
below is same as regular Horiz and Zenith colors, useful for setting
an AO effect.

Sample pics:
http://www.1000skies.com/fullpanos/index.htm (commercial)

16 years ago* bump VERSION to 2.33
Nathan Letwory [Fri, 7 May 2004 13:50:22 +0000 (13:50 +0000)]
* bump VERSION to 2.33
* change python2.2 in python2.3 for win32

16 years agoWhen pressing ALT+A, i noticed other windows advance 1 frame. This is
Ton Roosendaal [Fri, 7 May 2004 11:59:41 +0000 (11:59 +0000)]
When pressing ALT+A, i noticed other windows advance 1 frame. This is
caused by swapbuffers system, which redraws the other windows when the
CFRA timer already advanced 1 frame.

Added an extra redraw to fix this. Could fix report #964, will wait for
JWalton to verify.

16 years agoImproved three tooltips:
Ton Roosendaal [Fri, 7 May 2004 11:35:38 +0000 (11:35 +0000)]
Improved three tooltips:
- Material Shadow and Traceable still mentioned old shadowbuffer methods
- AngMap option in World mapping has better explanation

16 years ago- switched a strcat and strcpy pair... doh! (well spotted b-ix!)
Simon Clitherow [Thu, 6 May 2004 21:40:38 +0000 (21:40 +0000)]
- switched a strcat and strcpy pair... doh! (well spotted b-ix!)
- appended "./blender" to %HOME% return for Win32. Is consistant now
  with the other returns for Win.

16 years agopotential fix for windows crash when it encounters file dates beyond
Ton Roosendaal [Thu, 6 May 2004 20:53:05 +0000 (20:53 +0000)]
potential fix for windows crash when it encounters file dates beyond
the nice limited unix range (1970-2034 or so).
Zr will check!

16 years agoFix related to audio crash. Made the check for when audio_init runs a
Ton Roosendaal [Thu, 6 May 2004 19:57:21 +0000 (19:57 +0000)]
Fix related to audio crash. Made the check for when audio_init runs a
tinsy bit more strict. Now it did it for each ALT+A play anim.

I leave the debug print in still, for testing.

16 years agobug fix #1237
Ton Roosendaal [Thu, 6 May 2004 19:42:38 +0000 (19:42 +0000)]
bug fix #1237

A too strict pointer check caused action browsing in action-window not
to work when object didn't have action yet.

16 years agofix for bug #1223
Ton Roosendaal [Thu, 6 May 2004 19:31:16 +0000 (19:31 +0000)]
fix for bug #1223

Bump was inverted in previewrender for planar preview.

16 years agofix for bug #1226:
Ton Roosendaal [Thu, 6 May 2004 17:32:17 +0000 (17:32 +0000)]
fix for bug #1226:
With subsurf level 0, in editmode, the hidden faces where still drawn.
Was caused because subsurfing code then is skipped.

16 years agoMember added, who wasnt included due to wrong subscription.
Ton Roosendaal [Thu, 6 May 2004 11:15:04 +0000 (11:15 +0000)]
Member added, who wasnt included due to wrong subscription.

16 years agoFix Bug #1243: http://projects.blender.org/tracker/?func=detail&aid=1243&group_id...
Kester Maddock [Thu, 6 May 2004 02:13:07 +0000 (02:13 +0000)]
Fix Bug #1243: projects.blender.org/tracker/?func=detail&aid=1243&group_id=9&atid=125

Use external velocity (velocity set by the game engine - not the physics engine) for Motion Actuators.

16 years agoEnable doubles internally in Solid for the Makefile build system.
Kester Maddock [Wed, 5 May 2004 04:12:53 +0000 (04:12 +0000)]
Enable doubles internally in Solid for the Makefile build system.

16 years ago - PyInt_AsLong() was called on a possibly NULL object, this may be
Daniel Dunbar [Wed, 5 May 2004 03:22:22 +0000 (03:22 +0000)]
 - PyInt_AsLong() was called on a possibly NULL object, this may be
    a checked error but is no good anyway
 - Bone_dealloc free'd Blender's actual copy of the Bone! AGH!!!!
 - On syntax errors the python global dictionary was being free'd
    twice. AGH!!! again!

Can someone from the Python team please audit this.

16 years ago - made a VERY IMPORTANT change to usiblender.c
Daniel Dunbar [Tue, 4 May 2004 21:16:39 +0000 (21:16 +0000)]
 - made a VERY IMPORTANT change to usiblender.c

16 years ago - change to non-typedef'ng method of declaring BCursor in winlay.h
Daniel Dunbar [Tue, 4 May 2004 19:40:11 +0000 (19:40 +0000)]
 - change to non-typedef'ng method of declaring BCursor in winlay.h
     (OSX doesn't like)

16 years ago - removed debug prints that had no meaning to most people
Daniel Dunbar [Tue, 4 May 2004 19:13:35 +0000 (19:13 +0000)]
 - removed debug prints that had no meaning to most people
 - zr: you lazy developer, you shouldn't commit code that has debug prints
     in it. you ruined my life!!!!

16 years ago - ugh, do not break open an abstract data type just to add one single
Daniel Dunbar [Tue, 4 May 2004 19:10:55 +0000 (19:10 +0000)]
 - ugh, do not break open an abstract data type just to add one single
    function, especially when you are introducing extra dependencies
    (GHOST) on files that should not have them.

16 years agoShortened up the Makefile since freebsd,linux and solaris do the
Kent Mein [Tue, 4 May 2004 16:26:52 +0000 (16:26 +0000)]
Shortened up the Makefile since freebsd,linux and solaris do the
same stuff:
Basically use this instead of seperate sections for each platform.
  ifeq ($(OS),$(findstring $(OS), "linux freebsd solaris"))

Kent

16 years agoAdded Camera Fly Mode (Shift F) to the toolbox.
Kent Mein [Tue, 4 May 2004 16:25:35 +0000 (16:25 +0000)]
Added Camera Fly Mode (Shift F) to the toolbox.

Kent

16 years agoRemoved the printf that was causing about 50000
Kent Mein [Tue, 4 May 2004 15:04:29 +0000 (15:04 +0000)]
Removed the printf that was causing about 50000
"Color depth R=8 G=8 B=8"  lines.....

Kent

16 years ago - fix silly scriptlink running code, pulled out convenient
Daniel Dunbar [Tue, 4 May 2004 14:27:41 +0000 (14:27 +0000)]
 - fix silly scriptlink running code, pulled out convenient
ID_asPyObject and ID_getScriptlinks functions,
moved code into BPY_interface.c (where it fit better)
 - EXPP_interface.c is essentially obselete now
 - I didn't test this, I'm sure I broke something, if a Pythonista
could comment that would be nice (oh and the maintainer too).

16 years agoUse a better compare function for RAS_IPolygonMaterial
Kester Maddock [Tue, 4 May 2004 13:17:46 +0000 (13:17 +0000)]
Use a better compare function for RAS_IPolygonMaterial
Fix sharing verticies - must test pos, normal, uv & colour before sharing (not just index)

16 years agoFix for bug #945 getVertexArrayLength(x) returns different values on different runs...
Kester Maddock [Tue, 4 May 2004 09:34:02 +0000 (09:34 +0000)]
Fix for bug #945 getVertexArrayLength(x) returns different values on different runs of the game engine.
http://projects.blender.org/tracker/index.php?func=detail&aid=945&group_id=9&atid=125

The material buckets were being sorted by pointer (ie their location in memory.)

Also fixed find shared verticies.

16 years agoBuild blender with solid-based gameengine on irix using pre-compiled
Chris Want [Tue, 4 May 2004 04:55:24 +0000 (04:55 +0000)]
Build blender with solid-based gameengine on irix using pre-compiled
libs. I turned off the automatic building of solid in extern/ for
irix since the vendor supplied build system does not work well.

Note to JW: this can be built with either mipspro 7.3 or 7.4
(I needed to archive solid with "CC -ar ..." for this to work
with 7.3).

16 years agoApparently the sequencer has its own audiosystem, so the change I did
Ton Roosendaal [Mon, 3 May 2004 21:21:29 +0000 (21:21 +0000)]
Apparently the sequencer has its own audiosystem, so the change I did
for init sound only when needed, was not catched by sequencer.

Somehow, however, the SND_xxx library needs to be set when using the
sequencer... so, here a patch!

16 years ago- build qhull and solid (next to ode)
Hans Lambermont [Mon, 3 May 2004 17:58:36 +0000 (17:58 +0000)]
- build qhull and solid (next to ode)

16 years agoFixed a bug where From Window mapping in perspective view would give strange
Brecht Van Lommel [Mon, 3 May 2004 13:23:19 +0000 (13:23 +0000)]
Fixed a bug where From Window mapping in perspective view would give strange
results, caused by a little typo. The solution was proposed by bjornmose.

16 years ago- add 'tar file changed while reading' remark and a commented workaround
Hans Lambermont [Mon, 3 May 2004 08:12:40 +0000 (08:12 +0000)]
- add 'tar file changed while reading' remark and a commented workaround

16 years agobumped VERSION to 2.33-cvs and enable gameengine+solid per default for Linux
Nathan Letwory [Mon, 3 May 2004 06:11:58 +0000 (06:11 +0000)]
bumped VERSION to 2.33-cvs and enable gameengine+solid per default for Linux

16 years agoProjectfiles update for Python 2.3.X
Martin Poirier [Mon, 3 May 2004 01:37:50 +0000 (01:37 +0000)]
Projectfiles update for Python 2.3.X

16 years agoMouse Wheel Support for the Game Engine.
Kester Maddock [Sun, 2 May 2004 23:45:03 +0000 (23:45 +0000)]
Mouse Wheel Support for the Game Engine.

This adds "Wheel Up" and "Wheel Down" as choices to the Mouse sensor brick.

16 years agoCheck that deformer is an armature defore updating the displists
Chris Want [Sun, 2 May 2004 22:03:22 +0000 (22:03 +0000)]
Check that deformer is an armature defore updating the displists
of it's children (gives speed up for alt-A, animation rendering).

16 years ago- Documentation for the new python API
Joseph Gilbert [Sun, 2 May 2004 14:29:31 +0000 (14:29 +0000)]
- Documentation for the new python API

16 years agoChanges for OSX compiling with Makefiles; v2.33
Ton Roosendaal [Sat, 1 May 2004 16:52:29 +0000 (16:52 +0000)]
Changes for OSX compiling with Makefiles;
- support 2.3 python
- use -O2 for all
- fixed reference to SOLID.h

16 years ago- use SDL sound on FreeBSD too.
Hans Lambermont [Fri, 30 Apr 2004 17:50:48 +0000 (17:50 +0000)]
- 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.

16 years agoSplash! :)
Ton Roosendaal [Fri, 30 Apr 2004 11:52:08 +0000 (11:52 +0000)]
Splash! :)

Thanks Piotr Kordala for the great artwork.

16 years agoMake python 2.3 the default for the irix build.
Chris Want [Fri, 30 Apr 2004 02:12:28 +0000 (02:12 +0000)]
Make python 2.3 the default for the irix build.

16 years agoFix committed a while ago, revision 1.52, still set a bluroffset in a
Ton Roosendaal [Thu, 29 Apr 2004 22:31:48 +0000 (22:31 +0000)]
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! :-)

16 years agoAnd another error in creating 'release' for MacOS
Ton Roosendaal [Thu, 29 Apr 2004 19:41:40 +0000 (19:41 +0000)]
And another error in creating 'release' for MacOS

16 years agoChanged copying README to copying blender.html instead
Ton Roosendaal [Thu, 29 Apr 2004 18:25:27 +0000 (18:25 +0000)]
Changed copying README to copying blender.html instead
Only affects "make release"

16 years agoUpped version to 233 for in header in Blender
Ton Roosendaal [Thu, 29 Apr 2004 17:14:31 +0000 (17:14 +0000)]
Upped version to 233 for in header in Blender

(Warn: still to do: splash!)

16 years agoWorld->physicsEngine is SUMO when you create new one.
Ton Roosendaal [Thu, 29 Apr 2004 17:13:50 +0000 (17:13 +0000)]
World->physicsEngine is SUMO when you create new one.

16 years ago2.33 now, for release building
Ton Roosendaal [Thu, 29 Apr 2004 17:10:35 +0000 (17:10 +0000)]
2.33 now, for release building

16 years agoAdded python license to txt directory for binary releases.
Ton Roosendaal [Thu, 29 Apr 2004 16:39:39 +0000 (16:39 +0000)]
Added python license to txt directory for binary releases.

16 years agoNoted by Desoto: new 'Checker' option for Image repeat could use better
Ton Roosendaal [Thu, 29 Apr 2004 16:33:08 +0000 (16:33 +0000)]
Noted by Desoto: new 'Checker' option for Image repeat could use better
preview.

16 years agoFix #1207
Ton Roosendaal [Thu, 29 Apr 2004 16:20:34 +0000 (16:20 +0000)]
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.

16 years agoFix #1205
Ton Roosendaal [Thu, 29 Apr 2004 15:56:26 +0000 (15:56 +0000)]
Fix #1205

Array with 'auto' names for textures didn't have the new names yet
(musgrave, voronoi, distnoise)

16 years agofix #1204
Ton Roosendaal [Thu, 29 Apr 2004 15:52:11 +0000 (15:52 +0000)]
fix #1204

Two typos in tooltips.

16 years agoFix blenderplayer unable to load .blend files (only runtimes!)
Kester Maddock [Thu, 29 Apr 2004 10:51:02 +0000 (10:51 +0000)]
Fix blenderplayer unable to load .blend files (only runtimes!)

16 years agoAdded (very nice!) new blender.html written by Willian. This will replace
Ton Roosendaal [Thu, 29 Apr 2004 10:49:00 +0000 (10:49 +0000)]
Added (very nice!) new blender.html written by Willian. This will replace
the short README file. The blender.html doc is meant to give new users
quick hints how to survive with Blender.

16 years agofix for #1123 by Roland Hess (harkyman)
Stephen Swaney [Thu, 29 Apr 2004 04:50:28 +0000 (04:50 +0000)]
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.

16 years agobump version number
Stephen Swaney [Thu, 29 Apr 2004 01:56:55 +0000 (01:56 +0000)]
bump version number

16 years agoCorrect icons for OSX
Ton Roosendaal [Wed, 28 Apr 2004 21:19:18 +0000 (21:19 +0000)]
Correct icons for OSX

16 years agoSneaked in new feature (request samo):
Ton Roosendaal [Wed, 28 Apr 2004 18:08:34 +0000 (18:08 +0000)]
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.

16 years agoBug 1203
Ton Roosendaal [Wed, 28 Apr 2004 17:35:35 +0000 (17:35 +0000)]
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.

16 years agoBug fix 1202
Ton Roosendaal [Wed, 28 Apr 2004 17:26:30 +0000 (17:26 +0000)]
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.

16 years agoFix: Setting objects Dynamic, then unsetting Actor would leave an object dynamic.
Kester Maddock [Wed, 28 Apr 2004 09:08:42 +0000 (09:08 +0000)]
Fix: Setting objects Dynamic, then unsetting Actor would leave an object dynamic.
Check for Actor && Dynamic to enable dynamic.

16 years agoError in popup menu for new Musgrave texture. The order was wrong, and the
Ton Roosendaal [Tue, 27 Apr 2004 19:42:41 +0000 (19:42 +0000)]
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!

16 years agoBug 1199
Ton Roosendaal [Tue, 27 Apr 2004 19:30:16 +0000 (19:30 +0000)]
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.

16 years agoFixed minimum limit for values in Armature panel.
Ton Roosendaal [Tue, 27 Apr 2004 19:05:41 +0000 (19:05 +0000)]
Fixed minimum limit for values in Armature panel.

16 years ago- UGH! Some optimize line in sky code screwed up sky render when it had
Ton Roosendaal [Tue, 27 Apr 2004 17:06:02 +0000 (17:06 +0000)]
- UGH! Some optimize line in sky code screwed up sky render when it had
  no texture nor blend... gave weird lines in render.

16 years ago- Bug fix: MetaBalls was not polygonized, when armature (as parent of MetaBalls)...
Jiri Hnidek [Tue, 27 Apr 2004 14:37:19 +0000 (14:37 +0000)]
- Bug fix: MetaBalls was not polygonized, when armature (as parent of MetaBalls) was in pose mode.

16 years agoremoved print "break true" when pressing ESC with render window active.
Ton Roosendaal [Tue, 27 Apr 2004 12:17:16 +0000 (12:17 +0000)]
removed print "break true" when pressing ESC with render window active.

16 years agoError found in code that allows dynamic octrees. A lookup table was not
Ton Roosendaal [Mon, 26 Apr 2004 22:14:31 +0000 (22:14 +0000)]
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.

16 years agoRequest from [A]ndy:
Ton Roosendaal [Mon, 26 Apr 2004 21:38:36 +0000 (21:38 +0000)]
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.

16 years agobugfix: Ipo.addCurve() was creating a new Ipo block and adding curve there
Stephen Swaney [Mon, 26 Apr 2004 17:21:51 +0000 (17:21 +0000)]
bugfix:  Ipo.addCurve() was creating a new Ipo block and adding curve there
instead of adding curve to existing Ipo.  reported on elysiun.

16 years agoAdded Ambient channel in "Map To" Panel for materials. Is now means to
Ton Roosendaal [Mon, 26 Apr 2004 16:49:05 +0000 (16:49 +0000)]
Added Ambient channel in "Map To" Panel for materials. Is now means to
control AO and Radio with texture too.

16 years agoUpdate projectfile for new python module
Nathan Letwory [Mon, 26 Apr 2004 15:52:45 +0000 (15:52 +0000)]
Update projectfile for new python module

16 years agoOptimize for AO: when material ambient value is zero, no AO calculus
Ton Roosendaal [Mon, 26 Apr 2004 15:07:08 +0000 (15:07 +0000)]
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!)

16 years agoSolved AO smooth rendering, by introducing a "Bias" value for smoothed
Ton Roosendaal [Mon, 26 Apr 2004 14:17:48 +0000 (14:17 +0000)]
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.

16 years agoCroatian translation added, thanks go to Tomislav Corak ! (tommy5)
Rob Haarsma [Mon, 26 Apr 2004 11:44:57 +0000 (11:44 +0000)]
Croatian translation added, thanks go to Tomislav Corak ! (tommy5)

16 years agoFix MouseFocus Sensor objects for dynamic cameras. (Bug 1165)
Kester Maddock [Mon, 26 Apr 2004 07:19:18 +0000 (07:19 +0000)]
Fix MouseFocus Sensor objects for dynamic cameras. (Bug 1165)

16 years ago - add comment in filesel.c to note where memory from some BLO_blendhandle
Daniel Dunbar [Sun, 25 Apr 2004 15:12:45 +0000 (15:12 +0000)]
 - add comment in filesel.c to note where memory from some BLO_blendhandle
    functions is going

16 years agoBPython:
Willian Padovani Germano [Sun, 25 Apr 2004 14:43:21 +0000 (14:43 +0000)]
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.

16 years ago- finalize scene.render module
Joseph Gilbert [Sun, 25 Apr 2004 05:18:43 +0000 (05:18 +0000)]
- 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

16 years agoAh, it's better when the menus show the correct hotkeys isn't it ;)
Martin Poirier [Sat, 24 Apr 2004 21:59:34 +0000 (21:59 +0000)]
Ah, it's better when the menus show the correct hotkeys isn't it ;)

16 years agoFor the 100st time or so: fix in selecting vertices for Mesh editmode.
Ton Roosendaal [Sat, 24 Apr 2004 21:51:38 +0000 (21:51 +0000)]
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.

16 years agoMirror in object mode. Works like Mirror in edit mode but only works on local axis...
Martin Poirier [Sat, 24 Apr 2004 21:09:06 +0000 (21:09 +0000)]
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.

16 years agoprojectfile update for the new python module
Martin Poirier [Sat, 24 Apr 2004 20:50:23 +0000 (20:50 +0000)]
projectfile update for the new python module

16 years agoTurned Sky render code in Blender to become fully float, it still returned
Ton Roosendaal [Sat, 24 Apr 2004 20:27:29 +0000 (20:27 +0000)]
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).

16 years agoBPython:
Willian Padovani Germano [Sat, 24 Apr 2004 20:04:37 +0000 (20:04 +0000)]
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.