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

17 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.

Also fixed bug: using 'CalcAlpha' option for image textures didn't give
antialised edges for image.

17 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.

17 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.

17 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.

17 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!

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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

17 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!)

17 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.

ALso removed prints when allocating new 'face groups' etc, which wasn't
informative at all.

17 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)

17 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)

17 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

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

17 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

17 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 ;)

17 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.

17 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.

17 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

17 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).

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

17 years ago - more binary file patching
Daniel Dunbar [Sat, 24 Apr 2004 18:38:04 +0000 (18:38 +0000)]
 - more binary file patching

17 years ago - convert darwin icon files to binary
Daniel Dunbar [Sat, 24 Apr 2004 18:34:08 +0000 (18:34 +0000)]
 - convert darwin icon files to binary

17 years agoNew: rendering in background mode (blender -b) now prints a percentage to
Ton Roosendaal [Sat, 24 Apr 2004 12:02:39 +0000 (12:02 +0000)]
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.

17 years agoSynchronise game engine with Tuhopuu2 tree.
Kester Maddock [Sat, 24 Apr 2004 06:40:15 +0000 (06:40 +0000)]
Synchronise game engine with Tuhopuu2 tree.

17 years agoFixes for MouseFocusSensor: (bug 1165)
Kester Maddock [Sat, 24 Apr 2004 06:36:55 +0000 (06:36 +0000)]
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)

17 years agoRemove ability to open a published executable from Blender.
Kester Maddock [Sat, 24 Apr 2004 06:29:51 +0000 (06:29 +0000)]
Remove ability to open a published executable from Blender.

17 years agoThe Anim and Tiles settings in the Image Window are now available again, in the
Brecht Van Lommel [Fri, 23 Apr 2004 21:38:01 +0000 (21:38 +0000)]
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.

17 years agoRaytrace now has option to change the resolution of the Octree used. It
Ton Roosendaal [Fri, 23 Apr 2004 21:02:58 +0000 (21:02 +0000)]
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.

17 years agoa sensors 'invert' toggle button was showing the wrong state.
Stefan Gartner [Fri, 23 Apr 2004 15:27:40 +0000 (15:27 +0000)]
a sensors 'invert' toggle button was showing the wrong state.
thanks to Ton for figuring out what's wrong

17 years agoBPython:
Willian Padovani Germano [Fri, 23 Apr 2004 13:11:48 +0000 (13:11 +0000)]
- fixed two warnings, unused var in Object.c and undeclared function in script.c
- updated Blender.Draw doc, it was missing info about Button object
- refactored pytype initialization to try to fix for once platform (and distro!) specific crashes on startup.  This asked for tiny updates in Effect.[ch] (removed static from declaration, moved definitions to the .c file) and modules.h
- fixed error I made trying to fix scripts w/ no [eol] char in menus.  Thanks Michael Velikanje for reporting the problem!

17 years agoWhen Sound blocks are loaded, they can have packedfiles. If a Sound isn't
Ton Roosendaal [Fri, 23 Apr 2004 13:11:29 +0000 (13:11 +0000)]
When Sound blocks are loaded, they can have packedfiles. If a Sound isn't
played (= packedfiles opened and copied to another block) these
packed data blocks where not freed.

The error showed in console at closing of Blender, like:
read_struct len: 24 0x1c4423c

17 years agoEnable the new, fast loading of the STL exotic file type
Chris Want [Thu, 22 Apr 2004 22:33:57 +0000 (22:33 +0000)]
Enable the new, fast loading of the STL exotic file type
(thanks Ton!)

17 years ago-bug fix #1186
Jiri Hnidek [Thu, 22 Apr 2004 21:16:54 +0000 (21:16 +0000)]
-bug fix #1186

-I forgot somethig, when i commited to this file last (i'm really sorry)

17 years agotypo in this file...
Ton Roosendaal [Thu, 22 Apr 2004 20:37:24 +0000 (20:37 +0000)]
typo in this file...

17 years agoNasty Library linking and appending stuff!
Ton Roosendaal [Thu, 22 Apr 2004 19:58:54 +0000 (19:58 +0000)]
Nasty Library linking and appending stuff!

Problem: when appending data, it called the local_all() function, which
indeed made all data local, including all other dynamic linked data.
Not very nice... but mixing dynamic & appending data from single file is
headcrunching code.

Solution: when appending data, it now only makes local_all() the data from
that specific library file, leaving dynamic data from other files linked.

(Bug report 1183)

17 years agoFix for CTRL+drag on sliders and number buttons.
Ton Roosendaal [Thu, 22 Apr 2004 17:46:07 +0000 (17:46 +0000)]
Fix for CTRL+drag on sliders and number buttons.
The code wasn't correct at all (for ages!). Rule now again is:

Button range 0.0-2.0 : ctrl goes with steps of 0.1, shift+ctrl steps of 0.01
Button range 2.0-20.0: ctrl goes with steps of 1.0, shift+ctrl steps of 0.1
Button range larger: ctrl goes with steps of 10.0

17 years agoFixed bug #1187: tooltip typos in the uv calculation panel
Brecht Van Lommel [Thu, 22 Apr 2004 17:22:01 +0000 (17:22 +0000)]
Fixed bug #1187: tooltip typos in the uv calculation panel
- Draw Edges buttons all had the same tooltip
- aequator -> equator

17 years agobug 1181
Ton Roosendaal [Thu, 22 Apr 2004 17:11:20 +0000 (17:11 +0000)]
bug 1181

Inconsistancy... choose International Fonts, choose Load Font, then disable
International font, but still load a font: AA fonts magically are set. :)

17 years agoIn beginning of buttons for logic editor was weird code checking physics model.
Ton Roosendaal [Thu, 22 Apr 2004 13:08:49 +0000 (13:08 +0000)]
In beginning of buttons for logic editor was weird code checking physics model.
It even has old enji buttons still!
Anyhoo, if no World was active it returned.. that could be coded friendlier.

17 years ago- NLA Window:
Ton Roosendaal [Thu, 22 Apr 2004 12:36:27 +0000 (12:36 +0000)]
- NLA Window:
Added support for Panels, and converted old NKEY menu here.
Also enabled zooming in further, as for Action Window.
(note: this editor can use some work, this action stuff is underdeveloped
and mysterious!)

- UI code
Brought back fix that sets for each Panel a GL matrix for UI code thats
coming after it. This makes system more flexible, and prevents conflicts
with other uiBlocks in a window (like ipo, action).
This will give a tinsy bit more load for moving mouse around... please
report back if this causes troubles.

17 years agoSmall fix: when using vertex keys for Lattices, all buttons in the panel
Ton Roosendaal [Thu, 22 Apr 2004 10:35:02 +0000 (10:35 +0000)]
Small fix: when using vertex keys for Lattices, all buttons in the panel
where locked. This should not be for three of them, to set drawtype or
key mode (slurph, relative)

17 years ago[SCONS] Optimisation flags for msvc
Nathan Letwory [Thu, 22 Apr 2004 04:50:41 +0000 (04:50 +0000)]
[SCONS] Optimisation flags for msvc

17 years ago- zeroed out a variable before strcat()'ing! :)
Simon Clitherow [Wed, 21 Apr 2004 19:03:22 +0000 (19:03 +0000)]
- zeroed out a variable before strcat()'ing! :)
- removed a rogue debug printf().

17 years agocommented out code to enable multiple uiBlocks in window with different
Ton Roosendaal [Wed, 21 Apr 2004 18:04:02 +0000 (18:04 +0000)]
commented out code to enable multiple uiBlocks in window with different
matrices (like action window should have). This one gave error in
IpoWindow with Panel.

17 years agoFix for #1174
Ton Roosendaal [Wed, 21 Apr 2004 17:23:04 +0000 (17:23 +0000)]
Fix for #1174

When toonshading is used, also backfacing polygons are rendered. This
causes a conflict with raytraced shadow, since backfacing polygons
always have shadow.
There was an error in the code that didnt set shadow for backfacing
polys, assuming shading would be 'zero' then as well. That's fixed.

17 years agofix for bug #1178
Ton Roosendaal [Wed, 21 Apr 2004 16:43:51 +0000 (16:43 +0000)]
fix for bug #1178

Apparently gcc 3.4 gives error when not casting a pointer to long.
Found and reported by Noselasd.

17 years agoFix for radio render.
Ton Roosendaal [Wed, 21 Apr 2004 15:44:37 +0000 (15:44 +0000)]
Fix for radio render.

Somewhere after 2.28c I fixed some thing in radio rendering that prevented
textures to be applied to radio energy.
Now it is a normal 'diffuse' energy again, and multiplied with actual
(textured) material color.

Small fix: the radiosity steps show up as numbers printed in time-cursor.

17 years agoBPython:
Willian Padovani Germano [Wed, 21 Apr 2004 14:24:59 +0000 (14:24 +0000)]
- Michel's linux test builds with Python 2.3.x were crashing.  This of course shouldn't happen even when Python isn't installed in the system.  The problem was much probably some uninitialized internal type needed by the Mathutils module and the "fix" is stupid.

Moving the registration of Mathutils module in Blender.c to the end of the list solves the crash here.

17 years agoFix for bug #1176 -- During animation, NLA seems to like to have
Chris Want [Wed, 21 Apr 2004 14:18:02 +0000 (14:18 +0000)]
Fix for bug #1176 -- During animation, NLA seems to like to have
'do_all_actions' run twice for all of the constraints to be updated
properly. (/me grumbles: I fixed this last week for the OpenGL
updating stuff in header_buttons.c ...  do we really need to have so many
update_for_newframe()-style functions?)

17 years agoForgot to remove test prints from creator.c
Ton Roosendaal [Wed, 21 Apr 2004 14:15:37 +0000 (14:15 +0000)]
Forgot to remove test prints from creator.c
Also added note about removing audio init in comment.

17 years agoFix for slow starting of Blender.
Ton Roosendaal [Wed, 21 Apr 2004 13:38:54 +0000 (13:38 +0000)]
Fix for slow starting of Blender.

This was caused by calling sound_init_audio() at startup. In situations
where Blender was first started, or when other applications used memory,
this could take 5-15 seconds.
I have moved the init call to 'start ketsji', and made sure any call
to an audio play routine will invoke an init as well.

Tested with engine and loading/play sound in F10 menu. I don't know how
the BlenderPlayer handles it... should be investigated.

Result: At OSX Blender starts in a second again! :)

17 years ago- code cleanup: blender/src now compiles -Wall without warnings again.
Ton Roosendaal [Tue, 20 Apr 2004 22:00:33 +0000 (22:00 +0000)]
- code cleanup: blender/src now compiles -Wall without warnings again.

- first code for panel in NLA window, tomorrow I continue with it.

17 years agoSmall annoyance of mine. Upped the maximum of the extrude dup button in editbuttons...
Roel Spruit [Tue, 20 Apr 2004 20:10:58 +0000 (20:10 +0000)]
Small annoyance of mine. Upped the maximum of the extrude dup button in editbuttons to 100 instead of 10

17 years ago- Returned multi-user support on Win2k/XP.
Simon Clitherow [Tue, 20 Apr 2004 19:12:48 +0000 (19:12 +0000)]
- Returned multi-user support on Win2k/XP.
  Now uses 'Application Data/Blender Foundation/Blender' instead of old
  "Not A Number" dir.

- Updated windows installer to make this change transparent for the
  users. It copies /.blender to the new location and displays a short
  message to advise them of the change

- Installer also includes fix for opening blend files from explorer (patch provided by Valentin Ungureanu (vung) - thanks!)

Note to CVS users on Win2k/XP:  Although blender will continue to work
without changes, you should ideally copy the /.blender dir to
<app data>/Blender Foundation/Blender for the sake of correctness :)

17 years agoAnother phase in panelizing all window types. Did lots of small code
Ton Roosendaal [Tue, 20 Apr 2004 18:27:10 +0000 (18:27 +0000)]
Another phase in panelizing all window types. Did lots of small code
fixes, including:

- Panel in action window (disabled it, since there's no need for it)
- fix: when action was added to mesh with vertex keys, the action couldn't
  be deleted, nor did action window draw key names
- mouse on RVK (key) in Action window: Nkey menu pops as well.
  This is not a good candidate to put in Panel, no selection possible here.
- when you change name of RVK in action window, it shows in IpoWindow too

17 years agoTooltip for Ambient Occlusion button had wrong tooltip (c&p from starfield button...
Nathan Letwory [Tue, 20 Apr 2004 11:01:00 +0000 (11:01 +0000)]
Tooltip for Ambient Occlusion button had wrong tooltip (c&p from starfield button ;), now reads "Toggle ambient occlusion"

17 years agoFix for #1172
Ton Roosendaal [Tue, 20 Apr 2004 10:46:28 +0000 (10:46 +0000)]
Fix for #1172

Just an update for correct mentioning of shortcuts in toolbox menu.

17 years agoAdds a 'Edit Selected' to the curve menu in the IPO window. So that the curve editmod...
Johnny Matthews [Tue, 20 Apr 2004 04:59:04 +0000 (04:59 +0000)]
Adds a 'Edit Selected' to the curve menu in the IPO window. So that the curve editmode can be entered with a menu selection as well as TAB. Previously, there was no reference to the curve editmode in the IPO window.

When one or more curves is being edited,there is a checkmark by the menu option and you can slect it again to leave editmode.

This commit is more for people learning Blender as people who know will just press TAB.

17 years agoPreparations to have Panels in all window types. Also implemented
Ton Roosendaal [Mon, 19 Apr 2004 22:05:37 +0000 (22:05 +0000)]
Preparations to have Panels in all window types. Also implemented
it for the UV Image window (as Nkey replacement). Blendix can take
this further now.

Other little improvement: vertices in UV window now draw unselected
first, and then selected over it. Less confusing!

Next spaces: Action and Nla.

17 years ago- updated MSVC 6 projectfiles with the glue removal changes.
Simon Clitherow [Mon, 19 Apr 2004 18:51:15 +0000 (18:51 +0000)]
- updated MSVC 6 projectfiles with the glue removal changes.

17 years ago- world init for AO settings added.
Ton Roosendaal [Mon, 19 Apr 2004 15:38:04 +0000 (15:38 +0000)]
- world init for AO settings added.

17 years agoFixed error in OSA render & using AO causing stripes.
Ton Roosendaal [Mon, 19 Apr 2004 14:40:46 +0000 (14:40 +0000)]
Fixed error in  OSA render & using AO causing stripes.

The OSA ofset vector for current rendercoord (O.dxco) wasn't
initialised in all cases. Actually, just removed it for AO, effect is

Bug provided by jK, not in tracker. thnx!

17 years agoBPython:
Willian Padovani Germano [Mon, 19 Apr 2004 10:19:41 +0000 (10:19 +0000)]
- Scripts that ended without an [eol] (end of line char) would give syntax errors when called from menus.
  Now all loaded menu scripts have '\\n\\0' appended to them, not only '\\0' as before.

- bug #1146: Kester reported a Valgrind warning, should be fixed now.

17 years ago-update to MSVC7 project for NLA module
Joseph Gilbert [Mon, 19 Apr 2004 07:17:36 +0000 (07:17 +0000)]
-update to MSVC7 project for NLA module

17 years ago-update to SCONS project for NLA module
Joseph Gilbert [Mon, 19 Apr 2004 07:11:00 +0000 (07:11 +0000)]
-update to SCONS project for NLA module

17 years ago-update to msvc6 project for NLA module
Joseph Gilbert [Mon, 19 Apr 2004 07:09:50 +0000 (07:09 +0000)]
-update to msvc6 project for NLA module

17 years ago-update to msvc7 project for NLA module
Joseph Gilbert [Mon, 19 Apr 2004 07:08:21 +0000 (07:08 +0000)]
-update to msvc7 project for NLA module

17 years ago-NLA module added
Joseph Gilbert [Mon, 19 Apr 2004 06:57:41 +0000 (06:57 +0000)]
-NLA module added
-ability to set poses for the armatures - allows for keyframing armatures
-adds support for actions/actionchannels
-additional checking for addBone and clear parenting
-moved getActionIpos from object module to NLA module

17 years agoFound error in Energy for AO. This didnt work correctly for 'sub' and 'add
Ton Roosendaal [Sun, 18 Apr 2004 16:18:08 +0000 (16:18 +0000)]
Found error in Energy for AO. This didnt work correctly for 'sub' and 'add
and sub' methods.
Also reduced limit for slider. AO energy of value 50 was useless.

17 years agoBetter sampling for arealight soft shadow. Now using a distributed sample
Ton Roosendaal [Sat, 17 Apr 2004 20:01:00 +0000 (20:01 +0000)]
Better sampling for arealight soft shadow. Now using a distributed sample
pattern as previous commit for AO.

Previous setting, dither+jitter, has been cancelled. Now you can choose
for either nothing, dither, or for noise. With the latter giving same
nice noise as for AO.


17 years agoEnable doppler on platforms other than WIN32.
Kester Maddock [Sat, 17 Apr 2004 01:14:35 +0000 (01:14 +0000)]
Enable doppler on platforms other than WIN32.

17 years agoFix segfault on collisions between dynamic complex (polyheder) and dynamic convex...
Kester Maddock [Sat, 17 Apr 2004 00:56:54 +0000 (00:56 +0000)]
Fix segfault on collisions between dynamic complex (polyheder) and dynamic convex (box/sphere/cone/cylinder) objects.

17 years ago[MSVC7] Update of projectfiles for the removal of the glue.
Nathan Letwory [Fri, 16 Apr 2004 22:31:34 +0000 (22:31 +0000)]
[MSVC7] Update of projectfiles for the removal of the glue.

17 years agocorrect path to qhull in extern.
Nathan Letwory [Fri, 16 Apr 2004 22:07:18 +0000 (22:07 +0000)]
correct path to qhull in extern.

17 years agoCorrect a project dependency.
Nathan Letwory [Fri, 16 Apr 2004 21:34:23 +0000 (21:34 +0000)]
Correct a project dependency.

SoundSystem depends on STR_*, but that was not checked, so you had to build twice to get all internal libraries built.

17 years agoFix for removed streamglue stuff.
Ton Roosendaal [Fri, 16 Apr 2004 17:14:05 +0000 (17:14 +0000)]
Fix for removed streamglue stuff.
BLO_sys_types.h was moved.

17 years agoForgot to commit this file, as part of the antiglue campaign.
Nathan Letwory [Fri, 16 Apr 2004 16:36:11 +0000 (16:36 +0000)]
Forgot to commit this file, as part of the antiglue campaign.


17 years agoThis commit removes the glue from Blender, and with it
Nathan Letwory [Fri, 16 Apr 2004 15:55:16 +0000 (15:55 +0000)]
This commit removes the glue from Blender, and with it
the directories decrypt, deflate, encrypt, inflate, readstreamglue,
sign, writeblenfile and writestreamglue.

Sirdude was so kind to modify the makefiles, so SCons and
Make are ready to build with the new Blender.

Visual Studio workspaces, solutions and projectfiles still need
to be updated (I'll do the .vcprojs and .sln myself after this commit).

Runtimes created with the Blender Publisher are not anymore
recognised - if you want these available, you'll have to convert
them first to .blends with the Publisher.

17 years agoImproved sample pattern for AO. It used to jitter locatations within
Ton Roosendaal [Fri, 16 Apr 2004 15:32:49 +0000 (15:32 +0000)]
Improved sample pattern for AO. It used to jitter locatations within
a UV Sphere which isn't a very uniform distribution on a sphere.
Now I itterate a evenly distributed set of points on sphere, and use that
by random rotating the entire sphere for each pixel.

Both pics same rendertime, 36 AO samples. Quite a difference, eh!

Will put html page for release up.

17 years agoImproved rigid body handling for non spherical bounds type.
Kester Maddock [Fri, 16 Apr 2004 06:26:33 +0000 (06:26 +0000)]
Improved rigid body handling for non spherical bounds type.
Polyheder dynamic objects are now converted properly.

17 years agoIncreased maximum mass to 10000.
Kester Maddock [Fri, 16 Apr 2004 06:07:09 +0000 (06:07 +0000)]
Increased maximum mass to 10000.
Added "%x4" to the end of "Polyheder" in drawtypes menu.

17 years agoBug fix 1161
Ton Roosendaal [Thu, 15 Apr 2004 17:59:45 +0000 (17:59 +0000)]
Bug fix 1161

Rendering showed stripes in scanlines, caused by not re-initializing the
horizon and zenith colors for the AO "only sky color" type.

17 years agoAdded "Auto AA" toggle in Yafray Render panel defaulted to On (current functionality...
Johnny Matthews [Thu, 15 Apr 2004 15:52:28 +0000 (15:52 +0000)]
Added "Auto AA" toggle in Yafray Render panel defaulted to On (current functionality AA is determined by OSA and GI quality settings)

When disbaled, 2 number buttons appear to allow setting  manual AA passes and AA samples.

Johnny Matthews (guitarGeek)

17 years agofix for bug #1144:
Stefan Gartner [Thu, 15 Apr 2004 15:15:20 +0000 (15:15 +0000)]
fix for bug #1144:
the tooltip of the To: field of a message actuator was saying that
messages will only be sent to objects with a property of that name,
while in fact it was sent to objects with that name.

Unfortunately, the GameKit (and probably other documentation, too)
is wrong about this as well.

corrected the tooltip to reflect what's actually happening

17 years ago- parenting checks for bone additions to armature
Joseph Gilbert [Wed, 14 Apr 2004 23:42:58 +0000 (23:42 +0000)]
- parenting checks for bone additions to armature
- update to addBone parenting transform code
- hide/unhide bones
- draw axes/draw names
- clear parenting and clear children from bones - removes childbase links from bone and set as root or remove parenting and set as root

17 years agoenable openal support for os x and linux-powerpc
Stefan Gartner [Wed, 14 Apr 2004 13:00:36 +0000 (13:00 +0000)]
enable openal support for os x and linux-powerpc
as there is a conflict between openal and sdl (when compiled with cdrom
support), i had to disable support for cd playing using sdl on os x
for the time being.

17 years agoSolved crash caused by referencing NULL ->camera pointer in preview for
Ton Roosendaal [Wed, 14 Apr 2004 12:52:35 +0000 (12:52 +0000)]
Solved crash caused by referencing NULL ->camera pointer in preview for
World shading buttons.
Thanks Goofster for reporting it!

17 years agoRigid body physics for non spherical bounding objects.
Kester Maddock [Wed, 14 Apr 2004 05:57:24 +0000 (05:57 +0000)]
Rigid body physics for non spherical bounding objects.
If your simulation becomes unstable, crank up the 'Form' control.

Removed Solid from class SumoPhysicsEnvironment (since it wasn't actually used.)

17 years ago- reversion to 1.5
Joseph Gilbert [Tue, 13 Apr 2004 18:11:10 +0000 (18:11 +0000)]
- reversion to 1.5

17 years ago- fix for bug 62
Ton Roosendaal [Tue, 13 Apr 2004 15:23:24 +0000 (15:23 +0000)]
- fix for bug 62

I found it was an easy one to fix after all... the stars system is still
old and very cumbersome code, but for parts it now just works too, by
just disabling clipping in advance (as for panorama).

17 years ago- Fix for compiler error regarding overloaded binary equality operator not defined...
Joseph Gilbert [Tue, 13 Apr 2004 02:14:05 +0000 (02:14 +0000)]
- Fix for compiler error regarding overloaded binary equality operator not defined on MSVC