blender.git
16 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!

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

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

16 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... :)

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

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

16 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

16 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

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

16 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

16 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

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

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

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

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

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

16 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

16 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

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

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

16 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

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

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

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

16 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

16 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

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

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

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

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

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

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

16 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

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

16 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

16 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

16 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

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

16 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/*

16 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').

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

16 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

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

16 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

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

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

16 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"

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

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

16 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

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

16 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

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

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

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

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

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

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

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

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

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

16 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 ?...

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

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

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

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

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

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

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

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

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

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

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

16 years ago- fixed a problem with face select and vertex paint modes by removing
Simon Clitherow [Thu, 10 Jul 2003 20:53:59 +0000 (20:53 +0000)]
-  fixed a problem with face select and vertex paint modes by removing
   the check for nors != NULL (sorry miencho!).

16 years ago* removed warning from Glut "unknown key" when pressing the 'paragraph'
Ton Roosendaal [Thu, 10 Jul 2003 20:45:17 +0000 (20:45 +0000)]
* removed warning from Glut "unknown key" when pressing the 'paragraph'
  key.

16 years ago* cursor now moves with arrow keys again for OSX
Ton Roosendaal [Thu, 10 Jul 2003 20:34:41 +0000 (20:34 +0000)]
* 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

16 years ago* Object_getInverseMatrix now returns a correct matrix.
Michel Selten [Thu, 10 Jul 2003 20:00:51 +0000 (20:00 +0000)]
* 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.

16 years agoWhen cutting out a part of a python script the old textbuffer was still used when...
Florian Eggenberger [Thu, 10 Jul 2003 18:32:42 +0000 (18:32 +0000)]
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.

16 years ago2 new functions : getSize and setSize
Jacques Guignot [Thu, 10 Jul 2003 13:00:44 +0000 (13:00 +0000)]
2 new functions : getSize and setSize

16 years agoanged CurveCreatePyObject to Curce_CreatePyObject
Jacques Guignot [Thu, 10 Jul 2003 08:27:34 +0000 (08:27 +0000)]
anged CurveCreatePyObject to Curce_CreatePyObject

16 years agoremoved a wrong parameter name
Jacques Guignot [Thu, 10 Jul 2003 00:28:03 +0000 (00:28 +0000)]
removed a wrong parameter name

16 years agoDocumentation fot the Ipo module
Jacques Guignot [Thu, 10 Jul 2003 00:23:11 +0000 (00:23 +0000)]
Documentation fot the Ipo module

16 years agominor changes; deleted unuseful functions.
Jacques Guignot [Thu, 10 Jul 2003 00:22:17 +0000 (00:22 +0000)]
minor changes; deleted unuseful functions.

16 years agoremoved a function prototype which was already in modules.h
Jacques Guignot [Wed, 9 Jul 2003 23:21:41 +0000 (23:21 +0000)]
removed a function prototype which was already in modules.h

16 years agoname changes for Curve functions (added an underscore)
Jacques Guignot [Wed, 9 Jul 2003 23:19:18 +0000 (23:19 +0000)]
name changes for Curve functions (added an underscore)

16 years agodocumentation for the module Curve, to be formatted with epydoc
Jacques Guignot [Wed, 9 Jul 2003 21:20:01 +0000 (21:20 +0000)]
documentation for the module Curve, to be formatted with epydoc

16 years agochange the values of the functions get/set size/loc/rot to lists.
Jacques Guignot [Wed, 9 Jul 2003 21:18:34 +0000 (21:18 +0000)]
change the values of the functions get/set size/loc/rot to lists.
added the attributes loc, rot, size
changed the parameters of getControlPoint to int int list
cosmetic changes in names

16 years ago- this smartass hack, which was removed from editscreen.c, was needed for
Ton Roosendaal [Wed, 9 Jul 2003 20:09:07 +0000 (20:09 +0000)]
- this smartass hack, which was removed from editscreen.c, was needed for
  the textwindow. doh!

  now you can press alt+p in textwindow again!

16 years ago* F11 now nicely pops/pushes a window again
Ton Roosendaal [Wed, 9 Jul 2003 16:02:39 +0000 (16:02 +0000)]
* F11 now nicely pops/pushes a window again
* works (for OSX) only with the commit I did in Ghost 1 minute ago!
* needs to be checked for all other OS's.

16 years ago* Added a roman -> latin charset convertor.
Ton Roosendaal [Wed, 9 Jul 2003 16:01:27 +0000 (16:01 +0000)]
* Added a roman -> latin charset convertor.
MacOSX returns a Roman charset with kEventParamKeyMacCharCodes
as defined here: http://developer.apple.com/documentation/mac/Text/Text-516.html
I am not sure how international this works...
For cross-platform convention, we'll use the Latin ascii set instead.
As defined at: http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html

* changed window-pop behaviour, it now also activates the window for input
  (OSX only)

16 years ago* typing special characters in 3d font now works again. For OSX ghost will
Ton Roosendaal [Wed, 9 Jul 2003 15:54:52 +0000 (15:54 +0000)]
* typing special characters in 3d font now works again. For OSX ghost will
  use the internal standards for ascii values > 127
* someone has to check how X11 returns these values! Otherise the old
  Blender codes (alt+s = german S) will still work though.
* still have to check this for the buttons!

16 years ago- increased the character loading/conversion routine that it includes the
Ton Roosendaal [Wed, 9 Jul 2003 14:44:53 +0000 (14:44 +0000)]
- increased the character loading/conversion routine that it includes the
  entire ascii extended set (up to 255)

16 years agoadded what needed to link a curve to an object (modification of Object_link
Jacques Guignot [Wed, 9 Jul 2003 12:25:27 +0000 (12:25 +0000)]
added what needed to link a curve to an object (modification of Object_link
added 2 functions Curve_CheckPyObject and Curve_FromPyObject
that I had forgotten

16 years ago* Forgot to update the Object.name variable functionality. Had a bug in it to
Michel Selten [Tue, 8 Jul 2003 20:06:00 +0000 (20:06 +0000)]
* Forgot to update the Object.name variable functionality. Had a bug in it to
  return the first 2 identifying characters too - which it shouldn't.

16 years ago- changed silly name 'shadelamplus' to shade_lamp_loop
Ton Roosendaal [Tue, 8 Jul 2003 13:07:35 +0000 (13:07 +0000)]
- changed silly name 'shadelamplus' to shade_lamp_loop

16 years ago* fixed two more subloops in button drawing for new optimized usage of
Ton Roosendaal [Tue, 8 Jul 2003 10:15:42 +0000 (10:15 +0000)]
* fixed two more subloops in button drawing for new optimized usage of
  glFinish(). Textbut and the 'But' (render for example) didnt work proper.

16 years ago- old python: removed reference to UIfrontbuf, just to get it compiling
Ton Roosendaal [Mon, 7 Jul 2003 16:12:31 +0000 (16:12 +0000)]
- old python: removed reference to UIfrontbuf, just to get it compiling
  for those who dont have EXPYTHON defined

16 years ago* removed the global uiFrontbuf from interface.c (and python, it was used
Ton Roosendaal [Mon, 7 Jul 2003 15:50:44 +0000 (15:50 +0000)]
* removed the global uiFrontbuf from interface.c (and python, it was used
  there)
* replaced with nice local (uiBlock) storage of what goes on in drawing.
  it now only calls a glDrawBuffer() and glFinish() when it is actually
  needed

Result: interface drawing in general is speedy again, especially for gfx
cards that dont allow frontbuffer drawing, and copy stuff to the frontbuf
with a glFinish() call.

Needs to be tested on all platforms... report to me when you see problems
like menus not drawing correctly, tooltips not drawing or not disappearing,
etc.

16 years ago* removed some debugging prints. Accidentally committed them last time.
Michel Selten [Sun, 6 Jul 2003 20:34:59 +0000 (20:34 +0000)]
* removed some debugging prints. Accidentally committed them last time.
* nicely format the matrix object when printing.

16 years ago- miencho (thanks) pointed me to a weak line in draw mesh solid call.
Ton Roosendaal [Sun, 6 Jul 2003 20:18:42 +0000 (20:18 +0000)]
- miencho (thanks) pointed me to a weak line in draw mesh solid call.
  it used a pointer, without checking its value. the calling code
  took care it never happened, nevertheless... added a comment there.