blender-staging.git
18 years agoMSVC 6 debug target finally fixed! (yes, really!) :)
Simon Clitherow [Sat, 26 Jul 2003 18:05:20 +0000 (18:05 +0000)]
MSVC 6 debug target finally fixed! (yes, really!) :)

18 years ago- fixed include paths for SoundSystem (MSVC 6).
Simon Clitherow [Sat, 26 Jul 2003 16:26:01 +0000 (16:26 +0000)]
- fixed include paths for SoundSystem (MSVC 6).

18 years agoadded function buildParts
Jacques Guignot [Fri, 25 Jul 2003 19:53:42 +0000 (19:53 +0000)]
added function  buildParts

18 years agobug fixes in functions getLocation and similar.
Jacques Guignot [Fri, 25 Jul 2003 19:52:51 +0000 (19:52 +0000)]
bug fixes in functions getLocation and similar.
added buildParts() methods, which forces the computation of the partivcle system.

18 years agoremoved a debug message
Jacques Guignot [Fri, 25 Jul 2003 09:00:01 +0000 (09:00 +0000)]
removed a debug message

18 years ago- added sdl.dll to the release makefiles for windows
Simon Clitherow [Wed, 23 Jul 2003 18:06:10 +0000 (18:06 +0000)]
- added sdl.dll to the release makefiles for windows

18 years agoUpdated win self-installer script. Still uses the 16-color icon images (sorry broken...
Simon Clitherow [Wed, 23 Jul 2003 17:59:27 +0000 (17:59 +0000)]
Updated win self-installer script. Still uses the 16-color icon images (sorry broken!) :)

18 years agoDon't fail cleaning if the locale directory doesn't exist.
Wouter van Heyst [Wed, 23 Jul 2003 17:51:40 +0000 (17:51 +0000)]
Don't fail cleaning if the locale directory doesn't exist.

Reported by Frank W. Samuelson among others.

18 years ago- tiny changes:
Ton Roosendaal [Wed, 23 Jul 2003 09:47:22 +0000 (09:47 +0000)]
- tiny changes:
  - more crispy splash screen from Matt
  - insert key menu reworded in more logical way ("Nah, the other kind" :)

18 years agofix bug #397:
Stefan Gartner [Wed, 23 Jul 2003 00:24:42 +0000 (00:24 +0000)]
fix bug #397:
shift+o caused a crash if no object was active (tsk...)

18 years agobugreport from intrr:
Ton Roosendaal [Tue, 22 Jul 2003 21:50:21 +0000 (21:50 +0000)]
bugreport from intrr:

- spec was at wrong location in shaded view
- shaded view didnt do 'nospec' and 'nodiffuse' options

Both fixed!

18 years agoImages in Sequence editor work again! Isn't this great! :)
Alexander Ewering [Tue, 22 Jul 2003 21:17:30 +0000 (21:17 +0000)]
Images in Sequence editor work again! Isn't this great! :)

18 years ago- updated release release number. :)
Ton Roosendaal [Tue, 22 Jul 2003 20:50:14 +0000 (20:50 +0000)]
- updated release release number. :)

18 years ago- fixed .B.blend, with hacked in version number 2.27... otherwise it does
Ton Roosendaal [Tue, 22 Jul 2003 20:38:15 +0000 (20:38 +0000)]
- fixed .B.blend, with hacked in version number 2.27... otherwise it does
  not show a splash, hah!

18 years ago- new standard .b.blend file which has changes:
Ton Roosendaal [Tue, 22 Jul 2003 19:49:47 +0000 (19:49 +0000)]
- new standard .b.blend file which has changes:
  - the plane has a material
  - material has texture
  - scene has a world
  - default set 'draw faces' and 'draw edges'

that last one for the noobies, to prevent them complaining!

- added a note in interface.c about the new api doc

- forgot to commit blender.c, for setting the G.f from the file
  (this will save faceselect and vertexpaint mode too)

18 years ago* Fix an ugly crash when retrieving an object and trying to get the ipo from
Michel Selten [Tue, 22 Jul 2003 18:42:57 +0000 (18:42 +0000)]
* Fix an ugly crash when retrieving an object and trying to get the ipo from
  it. Ouch, I really need to remove those small parts of duplicate code for
  2.29 - too much maintanance which eventually goes wrong.

18 years agoaddition of a small example
Jacques Guignot [Tue, 22 Jul 2003 18:11:07 +0000 (18:11 +0000)]
addition of a small example

18 years ago- reverted change which only displayed lamp icon in buttons-header when a
Ton Roosendaal [Tue, 22 Jul 2003 16:19:55 +0000 (16:19 +0000)]
- reverted change which only displayed lamp icon in buttons-header when a
  lamp was selected.

- left in that; when a lamp is selected with materialbuttons open, it goes
  to lampbuttons automatic, and vice versa

18 years ago- fixed 'HOME' option for action window. it had a wrong 'max zoom' setting.
Ton Roosendaal [Tue, 22 Jul 2003 14:28:56 +0000 (14:28 +0000)]
- fixed 'HOME' option for action window. it had a wrong 'max zoom' setting.
  also provided a patch in do_versions to make saved action windows work.

  now you can zoom out nicely again!

18 years agoremoved the patch for ipo attr, which had side effects
Jacques Guignot [Tue, 22 Jul 2003 13:56:41 +0000 (13:56 +0000)]
removed the patch for ipo attr, which had side effects

18 years ago- tinsy bit toned down new color for rvk sliders, to match the blender
Ton Roosendaal [Tue, 22 Jul 2003 12:49:32 +0000 (12:49 +0000)]
- tinsy bit toned down new color for rvk sliders, to match the blender
  scheme
- restored commented out test_view2d() call in changeactionspace(). this
  fixes the errors when opening a new or larger action window, with wrong
  layout/matrices
  (HOS: can you verify that doesnt break stuff?)

18 years agoFixed it so that add nla strip works even when databrowse is not needed.
Chris Want [Tue, 22 Jul 2003 02:38:27 +0000 (02:38 +0000)]
Fixed it so that add nla strip works even when databrowse is not needed.

18 years agoExppython docs:
Willian Padovani Germano [Tue, 22 Jul 2003 00:27:03 +0000 (00:27 +0000)]
Exppython docs:
- Updates and fixes to the documentation files, only, no code involved.

18 years agomodified the function getattr, which crashed blender when someone tried to access...
Jacques Guignot [Mon, 21 Jul 2003 21:58:13 +0000 (21:58 +0000)]
modified the function getattr, which crashed blender when someone tried to access a NULL field. This function returns now PyNone.

18 years ago- bugfix #178
Ton Roosendaal [Mon, 21 Jul 2003 21:21:15 +0000 (21:21 +0000)]
- bugfix #178

  Well, it fixes the crash, but the cause can still be in wrong freeing
  memory when deleting strips...
  Hos; I leave in the bugreport with a note for you

18 years ago- Make the output bin/ directory for every target that needs it.
Wouter van Heyst [Mon, 21 Jul 2003 20:09:36 +0000 (20:09 +0000)]
- Make the output bin/ directory for every target that needs it.

Fixes build problems where (for example) plugin was to be made before the real
blender targets, and the entire build failed because of this missing directory.
It used to be so that nan_subdirs.mk made the output directory, but that relies
on DIR being correctly set, which is no longer the case.

18 years ago- saves the 'draw faces' flag in a file, in fact the entire G.f flag.
Ton Roosendaal [Mon, 21 Jul 2003 19:41:07 +0000 (19:41 +0000)]
- saves the 'draw faces' flag in a file, in fact the entire G.f flag.
  WARN: this recompiles other stuff too, outside of the loader. be sure
  to 'make' in source/blender/ or a higher dir.

18 years ago- slightly improved icons, again by xype. Now they are less ... er ..
Ton Roosendaal [Mon, 21 Jul 2003 18:25:50 +0000 (18:25 +0000)]
- slightly improved icons, again by xype. Now they are less ... er ..
  shady!

18 years ago- lazy pointer check... foei foei ton!
Ton Roosendaal [Mon, 21 Jul 2003 18:11:35 +0000 (18:11 +0000)]
- lazy pointer check... foei foei ton!

  reported bug: deleting object, with material button visible, crash!
  fixed now...

18 years ago- fixed a small error, the change i made before with frontbuffer drawing
Ton Roosendaal [Mon, 21 Jul 2003 17:46:55 +0000 (17:46 +0000)]
- fixed a small error, the change i made before with frontbuffer drawing
  of right-mouse selection of objects, now calls a correct glFlush

  only to be noticed at osx and nvidia systems...

18 years ago- restored proportional hotkey. it now works again as follows:
Ton Roosendaal [Mon, 21 Jul 2003 17:44:23 +0000 (17:44 +0000)]
- restored proportional hotkey. it now works again as follows:

  In editmode;
    press OKEY to toggle proportional editing
    press SHIFT+OKEY to toggle sharp/smooth proportional editing

- outside of editmode, the SHIFT+O toggles subsurf on/off

- its a compromise... :)

18 years ago* Fix small compilation problem in Ipo.c
Michel Selten [Mon, 21 Jul 2003 17:35:19 +0000 (17:35 +0000)]
* Fix small compilation problem in Ipo.c
  Moved the declaration of a variable to the beginning of a function.

18 years agoreincorporation in the cvs of modifications which had been lost.
Jacques Guignot [Mon, 21 Jul 2003 00:08:30 +0000 (00:08 +0000)]
reincorporation in the cvs of modifications which had been lost.

18 years agosdl stuff modified to work well on irix
Chris Want [Sun, 20 Jul 2003 23:26:38 +0000 (23:26 +0000)]
sdl stuff modified to work well on irix

18 years agoSome manipulations of the keyword 'static' to get
Chris Want [Sun, 20 Jul 2003 23:06:59 +0000 (23:06 +0000)]
Some manipulations of the keyword 'static' to get
blender to compile

18 years agoSupport for using the action window as a tool for modifying
Chris Want [Sun, 20 Jul 2003 23:04:09 +0000 (23:04 +0000)]
Support for using the action window as a tool for modifying
(mesh or lattice) RVK IpoCurves: support currently includes:

- RVK sliders. Pressing the little triangle next to
  the word 'sliders' in the channel names opens them up.
- NKEY in the area where the key block names are allows the
  user to change the name of the keyblock, and the max and min
  values of the RVK sliders.
- ability to visualize the keyframes for the IpoCurves when
  the object is selected.
- right mouse can be used to select the keys
- border select in the main area can be used to border
  select keys.
- AKEY selects/deselects all of the keys
- GKEY and SKEY can be used to grab or scale the key
  selections.
- XKEY deletes the selected keys.
- DKEY duplicated the selected keys.
- VKEY, HKEY and shift-HKEY change the bezier handles for
  the selected keys.

Please, please, please test!

18 years ago- changed order for 'draw faces'... it now draws first, then wire and
Ton Roosendaal [Sun, 20 Jul 2003 20:38:22 +0000 (20:38 +0000)]
- changed order for 'draw faces'... it now draws first, then wire and
  vertices

18 years ago- added ALT_RIGHTMOUSE select edges in Mesh editmode
Ton Roosendaal [Sun, 20 Jul 2003 20:25:30 +0000 (20:25 +0000)]
- added ALT_RIGHTMOUSE select edges in Mesh editmode
- added 'draw edges' mode in F9 menu
- changed ugly 'draw faces' in a nice transparant :)
- hotkey for screenshots: ALT+CTRL+F3 now works too

18 years ago- removed soundsystem projects (now part of intern) (MSVC 6)
Simon Clitherow [Sun, 20 Jul 2003 19:52:20 +0000 (19:52 +0000)]
- removed soundsystem projects (now part of intern) (MSVC 6)

18 years ago- updated intern project files to include soundsystem (MSVC 6)
Simon Clitherow [Sun, 20 Jul 2003 19:51:03 +0000 (19:51 +0000)]
- updated intern project files to include soundsystem (MSVC 6)

18 years ago* removed the #include .c statements and replaced them with corresponding .h
Michel Selten [Sun, 20 Jul 2003 18:06:06 +0000 (18:06 +0000)]
* removed the #include .c statements and replaced them with corresponding .h
  files.
* updated the build environment to include the needed .c files.
* Updated the modules.h file to expose the necessary functions to other
  modules.

18 years ago- added patches for shaders in the stub... displist.c calls it. Bad Bad!
Ton Roosendaal [Sun, 20 Jul 2003 17:59:57 +0000 (17:59 +0000)]
- added patches for shaders in the stub... displist.c calls it. Bad Bad!

18 years ago- added the 'no diffuse' and 'no specularity' options for Lamps, as were
Ton Roosendaal [Sun, 20 Jul 2003 15:55:02 +0000 (15:55 +0000)]
- added the 'no diffuse' and 'no specularity' options for Lamps, as were
  in Tuhopuu
- added the Tuhopuu feature which displays material-buttons and lamp-
  buttons integrated. saves button presses that way!

18 years ago- translated the main radiosity structure comments
Ton Roosendaal [Sun, 20 Jul 2003 15:52:25 +0000 (15:52 +0000)]
- translated the main radiosity structure comments

18 years agonew os x icons by xype
Stefan Gartner [Sun, 20 Jul 2003 13:38:51 +0000 (13:38 +0000)]
new os x icons by xype

18 years ago- changed button type for WorldButtns->misi to fit with the others. Just
Ton Roosendaal [Sun, 20 Jul 2003 08:58:42 +0000 (08:58 +0000)]
- changed button type for WorldButtns->misi to fit with the others. Just
  for a better looks.

18 years agoExppython:
Willian Padovani Germano [Sat, 19 Jul 2003 21:04:33 +0000 (21:04 +0000)]
Exppython:
  Still compilation problems, wrong type returned in a function.

18 years agoExppython:
Willian Padovani Germano [Sat, 19 Jul 2003 20:44:25 +0000 (20:44 +0000)]
Exppython:
- Trying to correct a compile problem. IpoCurve_Init wasn't declared in modules.h

18 years agoWARNING: with makefiles I could not get a stable blender compiled.
Ton Roosendaal [Sat, 19 Jul 2003 20:31:29 +0000 (20:31 +0000)]
WARNING: with makefiles I could not get a stable blender compiled.
         do a make clean in source/blender/ to be sure!

- Included the new shaders from Cessen... well, only the shader calls
  themselves. To make sure the shaders work I nicely integrated it

- MaterialButtons: layout changed a bit, but still resembles the old
  layout. The 'shader' options now are located together.

- Shaders are separated in 'diffuse' and 'specular'. You can combine them
  freely.

- diffuse Lambert: old shader
  diffuse Oren Nayar: new shader, gives sandy/silky/skinny material well
  diffuse Toon: for cartoon render

- specular Phong: new spec, traditional 70ies spec
  specular CookTorr: a reduced version of cook torrance shading, does
                     off specular peak well
  specular Blinn: new spec, same features as CookTorr, but with extra
                  'refraction' setting
  specular Toon: new spec for cartoon render

- default blender starts with settings that render compatible!

- works in shaded view and preview-render

- works in unified render

Further little changes:

- removed paranoia compile warnings from render/loader/blenlib

- and the warnings at files I worked at were removed.

18 years ago- fixed bug in renderwin zoom function. You now can press 'Z' in a window
Ton Roosendaal [Sat, 19 Jul 2003 20:19:31 +0000 (20:19 +0000)]
- fixed bug in renderwin zoom function. You now can press 'Z' in a window
  again, and move your mouse around to scan the image.
  MiddleMouse works too, but less intuitive

- at some systems it is still slow, bad clipping code...

18 years ago- Blender in background render mode (blender -b) now reacts to CTRL+C
Ton Roosendaal [Sat, 19 Jul 2003 20:14:07 +0000 (20:14 +0000)]
- Blender in background render mode (blender -b) now reacts to CTRL+C
  again. You'll have to do it twice... first CTRL+C will send an internal
  break (exit render loops)
- I prefer this in foreground mode too, but Python uses it as well, to
  escape from loops. We have to fix this once.

18 years agoWorld : got rid of debug messages
Jacques Guignot [Sat, 19 Jul 2003 08:32:01 +0000 (08:32 +0000)]
World : got rid of debug messages
Blender : declatation of the module IpoCurve
Ipo : modifications (new attributes) to keep the compatibility with 227 api

18 years agoNex modules added to keep a minimal compatibility with 227 api
Jacques Guignot [Sat, 19 Jul 2003 08:29:55 +0000 (08:29 +0000)]
Nex modules added to keep a minimal compatibility with 227 api

18 years ago- fixed error message at OSX in interface.c, added a load of comments there
Ton Roosendaal [Fri, 18 Jul 2003 18:32:57 +0000 (18:32 +0000)]
- fixed error message at OSX in interface.c, added a load of comments there
  to understand the central loop better.

18 years agoAdded "Group selection" menu (SHIFT-G), which offers the following options:
Alexander Ewering [Fri, 18 Jul 2003 15:50:33 +0000 (15:50 +0000)]
Added "Group selection" menu (SHIFT-G), which offers the following options:

1 - Children
2 - Immediate Children
3 - Parent
4 - Objects on shared layers

1: Selects all direct children of the active object
2: Select all children, children's children etc. of the active object
3: Makes the parent of the current object active, and deselects the
   active object
4: Selects all objects that share at least one layer with the active object

Useful for stepping through object hierarchies and for quickly selecting
objects belonging together.

See my message on bf-committers as well.

18 years agoAdded a MEM_freeN call to sound_free_sound() to release bSound->stream
Alexander Ewering [Fri, 18 Jul 2003 15:30:12 +0000 (15:30 +0000)]
Added a MEM_freeN call to sound_free_sound() to release bSound->stream
created by audio_makestream(). Fixes "Err Totblck stream len..." messages
and memory leak.

18 years agoproperly fix the fix this time (I need more coffee...)
Stefan Gartner [Fri, 18 Jul 2003 14:43:18 +0000 (14:43 +0000)]
properly fix the fix this time (I need more coffee...)

18 years agofix sdl detection
Stefan Gartner [Fri, 18 Jul 2003 13:34:55 +0000 (13:34 +0000)]
fix sdl detection

18 years ago* fixed bug: pressing F11 in dispview mode opened a window
Ton Roosendaal [Fri, 18 Jul 2003 13:20:47 +0000 (13:20 +0000)]
* fixed bug: pressing F11 in dispview mode opened a window

* new feature: rendering large images now displays correctly zoomed down
  in an imagewindow. The fact that it didn't also caused unpredictable
  slowdowns at various systems (tested osx, win).
  Of course after rendering you can still zoom in/out as usual.

* there was code that limits the maximum size of an imagewindow, keeping
  a small border around it free. By increasing the border 15 pixels I got
  huge speedup at OSX. Still looks good though...
  Needs more research what is happening here, maybe we need a user setting
  for it... but i rather implement the usage of the internal ImageWindow
  first.
  Still unsolved: 24 bits windows opening... I don't dare yet hacking in it
  Ghost.

18 years agosome sdl related stuff:
Stefan Gartner [Fri, 18 Jul 2003 10:11:40 +0000 (10:11 +0000)]
some sdl related stuff:

* moved references to libSDL out of ifeq($(INTERNATIONAL), true) (win32)
and  ifeq($(WITH_FREETYPE2),true) (irix) conditionals in source/Makefile

* look for sdl in $(LCGDIR)/sdl if sdl-config isn't found

thanks to LarstiQ for doing most of the work

18 years ago- added 'Textured Solid' to the Draw mode popup (DKEY).
Simon Clitherow [Thu, 17 Jul 2003 19:25:36 +0000 (19:25 +0000)]
- added 'Textured Solid' to the Draw mode popup (DKEY).

18 years agoAdded $(NAN_SDLCFLAGS) to CPPFLAGS so that my machine
Kent Mein [Thu, 17 Jul 2003 14:47:19 +0000 (14:47 +0000)]
Added  $(NAN_SDLCFLAGS) to CPPFLAGS so that my machine
could find the SDL headers (SDL.h)

Kent

18 years agoFixed a couple more warnings.
Kent Mein [Thu, 17 Jul 2003 14:19:55 +0000 (14:19 +0000)]
Fixed a couple more warnings.

Kent

18 years agofixed a warning by adding a newline to end of file.
Kent Mein [Thu, 17 Jul 2003 13:47:58 +0000 (13:47 +0000)]
fixed a warning by adding a newline to end of file.

Kent

18 years ago- Made references to SoundSystem look in intern instead of gameengine for
Chris Want [Thu, 17 Jul 2003 03:36:25 +0000 (03:36 +0000)]
- Made references to SoundSystem look in intern instead of gameengine for
all platforms. Please test on non-linux/non-irix.
- Changed another libsoundsystem.a to libSoundSystem.a.
- Removed comments refering to fmod (I assume it's not coming back ever)

18 years agoChanged some occurances of the lib 'soundsystem' to 'SoundSystem'
Chris Want [Thu, 17 Jul 2003 02:36:56 +0000 (02:36 +0000)]
Changed some occurances of the lib 'soundsystem' to 'SoundSystem'
(seems half of the references were one way, the other half were
the other way). Also made irix link to $(OCGDIR)/intern/*SoundSystem/*
instead of $(OCGDIR)/gameengine/*SoundSystem/*

18 years agoExppython docs:
Willian Padovani Germano [Thu, 17 Jul 2003 00:26:33 +0000 (00:26 +0000)]
Exppython docs:
- Minor: fixed wrong url to www.python.org/doc (had written 'docs').

18 years agoSound support for irix
Chris Want [Wed, 16 Jul 2003 23:53:09 +0000 (23:53 +0000)]
Sound support for irix

18 years agoFurther fixes to the old makefiles.
Kent Mein [Wed, 16 Jul 2003 19:53:53 +0000 (19:53 +0000)]
Further fixes to the old makefiles.

Kent

18 years ago-SDL links now on windows for cygwin-msvc and cygwin-gcc.
Florian Eggenberger [Wed, 16 Jul 2003 19:53:48 +0000 (19:53 +0000)]
-SDL links now on windows for cygwin-msvc and cygwin-gcc.

18 years agoHopefully update for NaN Makefiles for the moving of SoundSystem.
Kent Mein [Wed, 16 Jul 2003 19:00:04 +0000 (19:00 +0000)]
Hopefully update for NaN Makefiles for the moving of SoundSystem.
I need to get openal working on my machine before I can test it so
if it doesn't work feel free to fix it.  Hopefully this will be
the majority of the stuff though.

Kent

18 years ago- moved the 'Enable All Codecs' button over in the info window (for Win32)
Simon Clitherow [Wed, 16 Jul 2003 18:35:12 +0000 (18:35 +0000)]
- moved the 'Enable All Codecs' button over in the info window (for Win32)

18 years ago* Updated the auto* build system to compile again.
Michel Selten [Wed, 16 Jul 2003 18:23:50 +0000 (18:23 +0000)]
* Updated the auto* build system to compile again.
  SoundSystem has been moved from source/gameengine to intern. This was needed
  because functionality from SoundSystem was needed by
  source/blender/src/editsound.c.
* Removed the option for the openal check in configure.ac. It's needed now by
  SoundSystem
* Removed the functionality for checking if 'noaudio' was provied on the
  commandline. Now audio is default on.

18 years agoWas doing #include "FTF_api.h" instead of #include "FTF_Api.h"
Chris Want [Wed, 16 Jul 2003 04:53:15 +0000 (04:53 +0000)]
Was doing #include "FTF_api.h" instead of #include "FTF_Api.h"

18 years agoExppython docs:
Willian Padovani Germano [Wed, 16 Jul 2003 01:44:51 +0000 (01:44 +0000)]
Exppython docs:
- Added a very brief intro to the api doc and updated the command to generate
  the documentation (it's in a comment in Blender.py). Improved the NMesh ex.

18 years agoAdded newline to file (seeing tinderbox burn...) and
Rob Haarsma [Tue, 15 Jul 2003 15:09:40 +0000 (15:09 +0000)]
Added newline to file (seeing tinderbox burn...) and
declared the BMF_Font struct for proper headerfile handling.

18 years agoWas including BMF_api.h instead of BMF_Api.h
Kent Mein [Tue, 15 Jul 2003 14:43:18 +0000 (14:43 +0000)]
Was including BMF_api.h instead of BMF_Api.h

Kent

18 years agoRemoved the old INTERNATIONAL Drawstring constructions.
Rob Haarsma [Mon, 14 Jul 2003 13:48:44 +0000 (13:48 +0000)]
Removed the old INTERNATIONAL Drawstring constructions.
These are now handled through BIF_DrawString(...) in src/language.c,
where it chooses between the old BMF and the new FTF DrawString.

18 years ago- updated MSVC 6 project files to include the sequencer audio support
Simon Clitherow [Sun, 13 Jul 2003 21:48:05 +0000 (21:48 +0000)]
- updated MSVC 6 project files to include the sequencer audio support

18 years ago- Fixed two swapped array indices in seqaudio.c which prevented panning
Alexander Ewering [Sun, 13 Jul 2003 21:43:15 +0000 (21:43 +0000)]
- Fixed two swapped array indices in seqaudio.c which prevented panning
  from working correctly

- Added MKEY for muting audio strips (as they can't be part of a meta strip
  anyway)

18 years agoFinally changed the Blender version (BLENDER_VERSION) to 228!
Alexander Ewering [Sun, 13 Jul 2003 21:29:44 +0000 (21:29 +0000)]
Finally changed the Blender version (BLENDER_VERSION) to 228!
(Some of the audio features do a version check in do_versions
(usiblender.c, readfile.c) and depend on this to convert fields in older
(<2.28) files).

I also removed the "2.27.Newpy.1" line from headerbuttons.c, it now shows
"www.blender.org 228" again.

18 years agoCommit message and the brunt of the code courtesy of intrr, apologies for the
Wouter van Heyst [Sun, 13 Jul 2003 20:16:56 +0000 (20:16 +0000)]
Commit message and the brunt of the code courtesy of intrr, apologies for the
size of this;

Finally, the Sequencer audio support and global audio/animation sync stuff!
(See http://intrr.org/blender/audiosequencer.html)

Stuff that has been done:

./source/blender/blenloader/intern/writefile.c
./source/blender/blenloader/intern/readfile.c

Added code to make it handle sounds used by audio strips, and to convert
Scene data from older (<2.28) versions to init Scene global audio settings
(Scene->audio) to defaults.

./source/blender/include/BSE_seqaudio.h
./source/blender/src/seqaudio.c

The main audio routines that start/stop/scrub the audio stream at
a certain frame position, provide the frame reference for the current
stream position, mix the audio, convert the audio, mixdown the audio
into a file.

./source/blender/makesdna/DNA_sound_types.h

Introduced new variables in the bSound struct to accomodate the sample
data after converted to the scene's global mixing format (stream, streamlen).
Also added a new flag SOUND_FLAGS_SEQUENCE that gets set if the Sound
belongs to a sequence strip.

./source/blender/makesdna/DNA_scene_types.h

Added AudioData struct, which holds scene-global audio settings.

./source/blender/makesdna/DNA_sequence_types.h

Added support for audio strips. Some variables to hold Panning/Attenuation
information, position information, reference to the sample, and some flags.

./source/blender/makesdna/DNA_userdef_types.h
./source/blender/src/usiblender.c

Added a "Mixing buffer size" userpref. Made the versions stuff initialize
it to a default for versions <2.28.

./source/blender/makesdna/DNA_space_types.h
./source/blender/src/filesel.c

Added a Cyan dot to .WAV files. Any other suggestions on a better color? :)

./source/blender/src/editsound.c

Changes (fixes) to the WAV file loader, re-enabled some gameengine code that
is needed for dealing with bSounds and bSamples.

./source/blender/src/editipo.c
./source/blender/src/drawseq.c
./source/blender/src/editnla.c
./source/blender/src/space.c
./source/blender/src/drawview.c
./source/blender/src/renderwin.c
./source/blender/src/headerbuttons.c

 - Created two different wrappers for update_for_newframe(), one which scrubs
   the audio, one which doesn't.
 - Replaced some of the occurences of update_for_newframe() with
   update_for_newframe_muted(), which doesn't scrub the audio.
 - In drawview.c: Changed the synchronization scheme to get the current audio
   position from the audio engine, and use that as a reference for setting
   CFRA. Implements a/v sync and framedrop.
 - In editipo.c: Changed handling of Fac IPOs to be usable for audio strips as
   volume envelopes.
 - In space.c: Added the mixing buffer size Userpref, enabled audio scrubbing
   (update_for_newframe()) for moving the sequence editor framebar.

./source/blender/src/editseq.c

Added support for audio strips and a default directory for WAV files which
gets saved from the last Shift-A operation.

./source/blender/src/buttons.c

Added Scene-global audio sequencer settings in Sound buttons.

./source/blender/src/sequence.c

Various stuff that deals with handling audio strips differently than
usual strips.

18 years agoExppython:
Willian Padovani Germano [Sun, 13 Jul 2003 16:28:17 +0000 (16:28 +0000)]
Exppython:
- "last minute" updates to documentation and two modules.

18 years ago- fixed the output file path for python project (MSVC 6)
Simon Clitherow [Sun, 13 Jul 2003 11:23:36 +0000 (11:23 +0000)]
- fixed the output file path for python project (MSVC 6)

18 years agoforgotten to remove the calls to removed functions...
Jacques Guignot [Sat, 12 Jul 2003 21:31:55 +0000 (21:31 +0000)]
forgotten to remove the calls to removed functions...

18 years agoDoc for the world module. Got rid of some unuseful fields in World module.
Jacques Guignot [Sat, 12 Jul 2003 20:48:56 +0000 (20:48 +0000)]
Doc for the world module. Got rid of some unuseful fields in World module.
The last doc  ;-))

18 years agoExppython:
Willian Padovani Germano [Sat, 12 Jul 2003 18:21:07 +0000 (18:21 +0000)]
Exppython:
- A few more changes to integrate the documentation:
    Instructions to build it with epydoc are on the file Blender.py.

18 years agoExppython:
Willian Padovani Germano [Sat, 12 Jul 2003 18:02:54 +0000 (18:02 +0000)]
Exppython:
- More documentation files for epydoc.
- Few minor changes in other files.

18 years agoEffect module documentation. What can more tedious than writing docs ?...
Jacques Guignot [Sat, 12 Jul 2003 14:35:49 +0000 (14:35 +0000)]
Effect module documentation. What can more tedious than writing docs ?...

18 years ago- cleaned up MSVC 6 project files (removed non-existing .h files, etc)
Simon Clitherow [Sat, 12 Jul 2003 12:49:36 +0000 (12:49 +0000)]
- cleaned up MSVC 6 project files (removed non-existing .h files, etc)

18 years agoEXPYTHON in now the only python for the Makefiles build.
Chris Want [Sat, 12 Jul 2003 00:46:43 +0000 (00:46 +0000)]
EXPYTHON in now the only python for the Makefiles build.

18 years ago- removed exppython project (which is now the new BPY_python project!)
Simon Clitherow [Fri, 11 Jul 2003 20:18:47 +0000 (20:18 +0000)]
- removed exppython project (which is now the new BPY_python project!)

18 years ago- removed old freeze and python projects, exppython now compiles by
Simon Clitherow [Fri, 11 Jul 2003 20:10:24 +0000 (20:10 +0000)]
- removed old freeze and python projects, exppython now compiles by
  default. (MSVC 6)

18 years ago* selecting objects has a different frontbuffer drawing handling now.
Ton Roosendaal [Fri, 11 Jul 2003 20:02:52 +0000 (20:02 +0000)]
* selecting objects has a different frontbuffer drawing handling now.
  instead of drawing everything again, in all windows, it restricts to
  the active and previous active object. when there are more objects to
  be redrawn, it does a normal swapbuffers.
  Result is it all redraws & selects a lot faster in complex scenes

* Little fix in "BallTable" routine when moving mouse vertical out of
  the 3d window.

18 years ago- removed freeze project from intern build (MSVC 6)
Simon Clitherow [Fri, 11 Jul 2003 19:34:20 +0000 (19:34 +0000)]
- removed freeze project from intern build (MSVC 6)

18 years ago* from Douglas Bischoff: improved tooltip descriptions.
Ton Roosendaal [Fri, 11 Jul 2003 17:34:08 +0000 (17:34 +0000)]
* from Douglas Bischoff: improved tooltip descriptions.

18 years ago* fixed bug "turntable deviation" #364
Ton Roosendaal [Fri, 11 Jul 2003 16:50:31 +0000 (16:50 +0000)]
* fixed bug "turntable deviation" #364

In fact, I made it working different, much more cooler!

-------The BallTable Method TM (patent pending)------------

This is a hybrid of the old turntable method (a virtual camara that rotates
around a table) and the trackball method. Mouse moving horizontal, gives
the turntable effect, but with vertical movement it works like a trackball.
So, vertically moving in the middle of the window exactly mimics old
turntable method, moving vertically in the window edge gives a 'twist'
rotation.

Try the turntable for fun! (is in user settings menu)

18 years ago* fixed code that tried to restore material links, after radiosity, and
Ton Roosendaal [Fri, 11 Jul 2003 12:45:04 +0000 (12:45 +0000)]
* fixed code that tried to restore material links, after radiosity, and
  when you want a new Mesh.
  Problem happened when over 16 materials are used for 'collect meshes'.
  Blender does not support (yet) more than 16. For clarity, I added a
  warning for the user when this occurs

  (was bug 370)

18 years agochanged the get/setSize to get/setWinSize. Tks Willian.
Jacques Guignot [Thu, 10 Jul 2003 22:03:27 +0000 (22:03 +0000)]
changed the get/setSize to get/setWinSize. Tks Willian.

18 years agodocumentation for the Metaball module.
Jacques Guignot [Thu, 10 Jul 2003 21:56:03 +0000 (21:56 +0000)]
documentation for the Metaball module.