Commit Graph

833 Commits

Author SHA1 Message Date
Kent Mein
d0c6cf7758 Fixed a couple more warnings.
Kent
2003-07-17 14:19:55 +00:00
Kent Mein
c38faa3c1f fixed a warning by adding a newline to end of file.
Kent
2003-07-17 13:47:58 +00:00
Chris Want
e7d35b40b0 - 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)
2003-07-17 03:36:25 +00:00
Chris Want
ae512b137c 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/*
2003-07-17 02:36:56 +00:00
Willian Padovani Germano
68b3cfbbe5 Exppython docs:
- Minor: fixed wrong url to www.python.org/doc (had written 'docs').
2003-07-17 00:26:33 +00:00
Chris Want
0fde8dedf0 Sound support for irix 2003-07-16 23:53:09 +00:00
Kent Mein
6dcc5b030e Further fixes to the old makefiles.
Kent
2003-07-16 19:53:53 +00:00
Florian Eggenberger
899a12a5cb -SDL links now on windows for cygwin-msvc and cygwin-gcc. 2003-07-16 19:53:48 +00:00
Kent Mein
8dd015e9b0 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
2003-07-16 19:00:04 +00:00
Simon Clitherow
ce3e8ecf0d - moved the 'Enable All Codecs' button over in the info window (for Win32) 2003-07-16 18:35:12 +00:00
Michel Selten
05cec80893 * 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.
2003-07-16 18:23:50 +00:00
Chris Want
fbdc3ca860 Was doing #include "FTF_api.h" instead of #include "FTF_Api.h" 2003-07-16 04:53:15 +00:00
Willian Padovani Germano
d6c7427053 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.
2003-07-16 01:44:51 +00:00
Rob Haarsma
aec17932a0 Added newline to file (seeing tinderbox burn...) and
declared the BMF_Font struct for proper headerfile handling.
2003-07-15 15:09:40 +00:00
Kent Mein
288f37903b Was including BMF_api.h instead of BMF_Api.h
Kent
2003-07-15 14:43:18 +00:00
Rob Haarsma
0ed095bbb1 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.
2003-07-14 13:48:44 +00:00
Simon Clitherow
53c8eb3095 - updated MSVC 6 project files to include the sequencer audio support 2003-07-13 21:48:05 +00:00
Alexander Ewering
63323fd0e2 - 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)
2003-07-13 21:43:15 +00:00
Alexander Ewering
6914b1a197 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.
2003-07-13 21:29:44 +00:00
Wouter van Heyst
4f27386740 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.
2003-07-13 20:16:56 +00:00
Willian Padovani Germano
9cb79c6534 Exppython:
- "last minute" updates to documentation and two modules.
2003-07-13 16:28:17 +00:00
Simon Clitherow
08b6d716b0 - fixed the output file path for python project (MSVC 6) 2003-07-13 11:23:36 +00:00
Jacques Guignot
482a8a5880 forgotten to remove the calls to removed functions... 2003-07-12 21:31:55 +00:00
Jacques Guignot
65237d2936 Doc for the world module. Got rid of some unuseful fields in World module.
The last doc  ;-))
2003-07-12 20:48:56 +00:00
Willian Padovani Germano
6046d05a7e Exppython:
- A few more changes to integrate the documentation:
    Instructions to build it with epydoc are on the file Blender.py.
2003-07-12 18:21:07 +00:00
Willian Padovani Germano
c467b19c75 Exppython:
- More documentation files for epydoc.
- Few minor changes in other files.
2003-07-12 18:02:54 +00:00
Jacques Guignot
37c4fa647d Effect module documentation. What can more tedious than writing docs ?... 2003-07-12 14:35:49 +00:00
Simon Clitherow
ac09398c37 - cleaned up MSVC 6 project files (removed non-existing .h files, etc) 2003-07-12 12:49:36 +00:00
Chris Want
307586f03f EXPYTHON in now the only python for the Makefiles build. 2003-07-12 00:46:43 +00:00
Simon Clitherow
70ee786960 - removed exppython project (which is now the new BPY_python project!) 2003-07-11 20:18:47 +00:00
Simon Clitherow
557040d8b1 - removed old freeze and python projects, exppython now compiles by
default. (MSVC 6)
2003-07-11 20:10:24 +00:00
Ton Roosendaal
60dddf84ab * 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.
2003-07-11 20:02:52 +00:00
Simon Clitherow
94f8098660 - removed freeze project from intern build (MSVC 6) 2003-07-11 19:34:20 +00:00
Ton Roosendaal
736e3572c8 * from Douglas Bischoff: improved tooltip descriptions. 2003-07-11 17:34:08 +00:00
Ton Roosendaal
448079caa2 * 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)
2003-07-11 16:50:31 +00:00
Ton Roosendaal
a31693cca4 * 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)
2003-07-11 12:45:04 +00:00
Jacques Guignot
6c03e374fa changed the get/setSize to get/setWinSize. Tks Willian. 2003-07-10 22:03:27 +00:00
Jacques Guignot
106263dda7 documentation for the Metaball module. 2003-07-10 21:56:03 +00:00
Simon Clitherow
d4c849391e - fixed a problem with face select and vertex paint modes by removing
the check for nors != NULL (sorry miencho!).
2003-07-10 20:53:59 +00:00
Ton Roosendaal
5d118d2b62 * removed warning from Glut "unknown key" when pressing the 'paragraph'
key.
2003-07-10 20:45:17 +00:00
Ton Roosendaal
ad6ddb4689 * cursor now moves with arrow keys again for OSX
* this apple method to do it generates unwanted events, so it could not
  be used for the menu mouse-move trick. this is #ifdeffed
* we should re-evaluate if this mousemove should remain in blender...
  there are better ways (scrolling contents of pup)

* plus: removed warnings from drawview.c
2003-07-10 20:34:41 +00:00
Michel Selten
f999426daa * Object_getInverseMatrix now returns a correct matrix.
The problem was that the memory was allocated at the stack, but after the
  Python object was created, the pointer to the memory goes invalid.

  Thanks to Kester Maddoc for providing a patch - almost 2 weeks ago. Ouch,
  I should read my mail a little bit better.
2003-07-10 20:00:51 +00:00
Florian Eggenberger
66e2bf39d9 When cutting out a part of a python script the old textbuffer was still used when executing the script. Adding a txt_make_dirty() to txt_cut_sel() helped. 2003-07-10 18:32:42 +00:00
Jacques Guignot
c132c6abca 2 new functions : getSize and setSize 2003-07-10 13:00:44 +00:00
Jacques Guignot
f83cc2f8c5 anged CurveCreatePyObject to Curce_CreatePyObject 2003-07-10 08:27:34 +00:00
Jacques Guignot
faff703778 removed a wrong parameter name 2003-07-10 00:28:03 +00:00
Jacques Guignot
2ef1ee21e4 Documentation fot the Ipo module 2003-07-10 00:23:11 +00:00
Jacques Guignot
be1338cb10 minor changes; deleted unuseful functions. 2003-07-10 00:22:17 +00:00
Jacques Guignot
b216fb1729 removed a function prototype which was already in modules.h 2003-07-09 23:21:41 +00:00
Jacques Guignot
3482beef16 name changes for Curve functions (added an underscore) 2003-07-09 23:19:18 +00:00