Commit Graph

958 Commits

Author SHA1 Message Date
Rob Haarsma
422f4faa1b moved Quicktime init function from creator.c 2003-09-09 21:26:34 +00:00
Jiri Hnidek
5572323a3a - added czech translation (cs.po)
- changed function drawcircball() in source/blender/src/drawobject.c. Circle is computed faster (no 32 calls of sin() and cos() each time witch same results).
2003-09-08 12:13:54 +00:00
Jiri Hnidek
5d2f98f440 - improved polygonization (linear interpolation) of Implicit Surfaces (Meta)
- added new MetaElem types (plane, elipsoid and cube) old TubeX, TubeY and TubeZ will not be supported
- new buttons in Edit button window (dx, dy, dz)
- added new items into the headers menu and toolbox menu

more details at: http://blender.webpark.cz
2003-09-05 13:54:22 +00:00
Willian Padovani Germano
a09e5a7f2f Exppython:
- Window: added .GetCursorPos()
- Lamp: updated for NoDiffuse and NoSpecular modes
- Registry: new module to handle persistent data
- vector: made it correctly print only 3 values when vec->size==3:
    Fixes nmvert coords printed with a 4th 0.0 coordinate
- Text: fixed crash on startup (Python 2.3, linux):
    added definition of the Text pyobject earlier, in Types.c
2003-09-03 04:13:08 +00:00
Willian Padovani Germano
65746ab10a Exppython:
- Updated two doc files
2003-09-03 04:04:17 +00:00
Jacques Guignot
bb824b08b7 function PyArgsParse changed for PyArgsParseTuple by Stephen ( not so that sure...) 2003-09-02 20:13:43 +00:00
Jacques Guignot
679a44d2c6 Modification of the GetControlPoint function by Stephen, who is now responsible for this module
slight bug fixes (Steph.)
2003-09-02 20:11:11 +00:00
Ton Roosendaal
bdaa5eaad6 - fixed crash when you render a scene without emit Material and
new Radio render on.
  crash happened after redraw in 3d window.
2003-09-02 19:32:48 +00:00
Simon Clitherow
5cc50a7b60 - added /debug to the libpath of guardedalloc in makesdna. Pointed out
by Maci_Ray (thanks!).
-  updated project files with radiosity changes.
2003-09-01 18:21:17 +00:00
Ton Roosendaal
470b5c0366 So, for the platform managers to check:
- the link order for Blender has changed, the libradiosity.a has to be moved after the librender.a (obviously for a new dependency!). Check blender/source/Makefile
- there's a new file: blender/source/radiosity/intern/source/radrender.c

Here's what the new code does:

Using the core routines of the Radiosity tool, each renderface with 'emit material' and each renderface with 'radio material flag' set will be used to itterate to a global illumination solution. Per face with high energy (emit) little images are rendered (hemicubes) which makes up lookup tables to 'shoot' its energy to other faces.
In the end this energy - color - then is directly added to the pixel colors while rendering, Gouraud shaded.
Since it's done with renderfaces, it works for all primitives in Blender.

What is doesn't do yet:
- take into account textured color of faces. Currently it uses the material RGB color for filtering distributed energy.
- do some smart pre-subdividing. I don't know yet if this is useful... Right now it means that you'll have to balance the models yourself, to deliver small faces where you want a high accuracy for shadowing.
- unified render (is at my todo list)

User notes:
- per Material you want to have included in radiosity render: set the 'radio' flag. For newly added Materials it is ON by default now.
- the Ambient slider in Material controls the amount of radiosity color.
- for enabling radiosity rendering, set the F10 "Radio" button.
- the Radiosity buttons now only show the relevant radiosity rendering options. Pressing "collect meshes" will show all buttons again.
- for meshes, the faces who use Radio material always call the 'autosmooth' routine, this to make sure sharp angles (like corners in a room) do not have shared vertices. For some smooth models (like the raptor example) you might increase the standard smoothing angle from 30 to 45 degree.

Technical notes:
- I had to expand the renderface and rendervertices for it... shame on me! Faces have one pointer extra, render vertices four floats...
- The size of the hemicubes is now based at the boundbox of the entire scene (0.002 of it). This should be more reliable... to be done
- I fixed a bug in radiosity render, where sometimes backfaces where lit

In general:
I'd like everyone to play a bit with this system. It's not easy to get good results with it. A simple "hit and go" isn't there... maybe some good suggestions?
2003-08-31 20:33:46 +00:00
Michel Selten
b64b5d7b63 * Fix crash when linking something illegal to an Object.
Pointed out and fixed by Stephen Swaney
2003-08-27 18:10:59 +00:00
Ton Roosendaal
dbed089835 - text provided by Gregor Mueckl
describes the MEM_mallocN and MEM_callocN api
2003-08-27 17:46:59 +00:00
Chris Want
b92e99d0a8 In ODE, a dVector3 is really a 4D array ... the 3D initialization
used in this file caused the MipsPro 7.4 compiler to choke
... please test on all platforms!
2003-08-23 19:09:52 +00:00
Ton Roosendaal
25268cbf3b - Bisschofftep's improvements of tooltips text.
in editmesh three error menus were made more clear.
2003-08-21 12:49:28 +00:00
Ton Roosendaal
2e39d1f137 - a control-s character accidentally inserted here... but how? 2003-08-17 17:59:03 +00:00
Alexander Ewering
4005e5859a - Duplicated both the "Sync" button (from Sound buttons) and the "Frs/Sec"
button (from the Render buttons) in the Anim Buttons (F7) for more
  clarity.

- Removed old 'AnimSpeed' option
2003-08-17 16:00:37 +00:00
Ton Roosendaal
0b2d2868f1 - fixed bug #448
now 'only shadow' lamps won't give light when rendering without shadows.
2003-08-17 15:57:12 +00:00
Ton Roosendaal
af395ada12 - fix bug #479
crash when deleting all curves from Curve Object, when EditButtons open.
  Bad memory reference, caused by using an unsupported feature in
  interface.c... fixed by not using that feature! (making buttons with NULL
  pointers)
2003-08-17 13:42:50 +00:00
Ton Roosendaal
3a6581ca22 - fix bug #480
SHIFT+C in 3dWindow didnt update the other 3d windows, when open.
2003-08-17 13:02:17 +00:00
Ton Roosendaal
29edbab2c9 - fix bug #481
when adding a new scene in a Screen without buttons window, a pointer
  was referenced which is zero
2003-08-17 12:56:41 +00:00
Stefan Gartner
17eac8a60c allow NAN_SDL etc. to be overridden on OS X 2003-08-16 22:28:19 +00:00
Chris Want
15c996b471 Making Hans' mods to sdl in nan_definition.mk work under irix. 2003-08-16 20:16:40 +00:00
Hans Lambermont
9d9ee107c3 SDL definitions cleanup and fix for FreeBSD (FreeBSD SDL ports
maintainers really *really* only want to use sdl11-config while not
offering sdl-config as well ...)
This patch was briefly discussed on -committers but still might break
SDL stuff.
2003-08-16 11:28:51 +00:00
Ton Roosendaal
85245bfe13 - make sure shadowbuffers are tested & corrected for sizes that are
multiples of 16 pixels
2003-08-15 14:39:08 +00:00
Kent Mein
abede3ca04 A little more cleanup, removed a bunch of unused vars in the code.
Trying to get rid of some of the extra warnings we can ignore ;)

Kent
2003-08-14 15:18:45 +00:00
Simon Clitherow
80f3d5863e - Transition period for Windows... Part 2! :) 2003-08-12 20:37:45 +00:00
Simon Clitherow
776374f38b - Transition period for Windows... Ctrl+U now saves in
~/.blender, but we still check old locations to avoid people from
  losing settings! :)

  This does not affect any other platform.
2003-08-12 20:37:14 +00:00
Ton Roosendaal
6ef8d0a0ee release number is 2.28a 2003-08-12 17:43:50 +00:00
Simon Clitherow
258bc61e2a - Fix bug #250:
Blender no longer uses the windows dir as %HOME%
  This also fixes the ".blanguage not found" errors when
  double-clicking .blend files. (Win32)

  Needs testing at Win2k/XP!!!
2003-08-11 18:53:23 +00:00
Ton Roosendaal
159f53f0a0 - increased toon value 'size' to 3.14 for diff, and 1.53 for spec, as in
tuhopuu (as max for buttons)
- Sun lamps now do toon specularity too

Hemi lamps dont do any other shader than the old ones still... the
implimentation of it in Tuhopuu is disputable, will solve this for 2.29
2003-08-11 18:18:11 +00:00
Willian Padovani Germano
2289f3abb6 Exppython:
- Adding argv to the builtin sys Python module:
    Currently only argv[0] is there.  This fixes a weird error that can make
    correct scripts fail.
2003-08-10 23:18:00 +00:00
Wouter van Heyst
3295b394b6 - Split build/install info out from README into INSTALL
- Add information on the .blender dir
- Add some helpful links
2003-08-10 13:55:20 +00:00
Michel Selten
7163867395 * Fix crash in the getParent() and getTracked() methods of the Python API.
This crash was reported by Jean-Michel Soler (jms).
  Problem was that I was trying to be a little too intelligent. I kept a
  reference to created PyObjects which at some point apparently fails. Keeping
  the object references is not necessary. Now we just create a new PyObject
  when necessary and let Python handle the reference counts.
2003-08-10 10:03:37 +00:00
Ton Roosendaal
84f2b08461 - patch provided by Jiri, to prevent polygonizer not to do metaballs
outside of the old boundbox of the Object.

  it's a small fix, the code is still commented in... need further
  work to find out why sometimes balls disappear
2003-08-09 17:09:11 +00:00
Ton Roosendaal
e2a702a7b4 - Fixed bug #440, an error resulting from work at optimizing 'glflush'
calls.

  Added a comment in the code why it happens... its about safely
  escaping from buttons/blocks loops before loading a new file!
2003-08-07 14:08:41 +00:00
Jacques Guignot
d24761807d changed a return value for Irix compiler 2003-08-07 13:20:25 +00:00
Willian Padovani Germano
1e433aeb58 Exppython:
- Fixed crash in NMesh:
    When trying to rename newly created meshes, Blender would crash due to
    invalid id->lib in new_id().
2003-08-07 04:12:44 +00:00
Michel Selten
0c1f9dd832 * Updated the Python API module documentation for Object.
Added a couple of examples for some functions.
* Fixed some small documentation problems with regards to the implementation.
2003-08-06 22:08:56 +00:00
Willian Padovani Germano
577616b358 Exppython:
- Update method scene.update():
    To accept an optional parameter for a "full" update (using set_scene_bg()).
- Updated the docs accordingly.
2003-08-06 19:25:06 +00:00
Michel Selten
2db07e8f27 * Updated the Python API module documentation for Object.
This module now contains a complete description - finally.
2003-08-06 17:04:36 +00:00
Michel Selten
598da24413 * Fixed crash when editing Ipo curves on Linux.
This problem only occurs on Linux with NVidia cards.
  Fixed by Timo Mihaljov (noid).
2003-08-06 14:57:11 +00:00
Michel Selten
cf322b1a9a * Fix problem that edge select hotkey doesn't work on Linux.
Edge select is now _only_ working with ctrl-alt-RMB. Patch provided by
  Roel Spruit (Goofster).
2003-08-06 12:25:24 +00:00
Alexander Ewering
d3e2e5e660 Fix volume envelopes for audio strips, they now work in all spaces. 2003-08-05 13:39:27 +00:00
Stefan Gartner
babd29f1df don't use QuickTime to load tga, png, and jpg images, as this causes
problems when trying to play a sequence of images (fixes bug #430)
2003-08-05 12:44:34 +00:00
Jacques Guignot
05187adc2f removed unuseful function calls in BezTriple.[ch]
general cleaning of Ipocurve.c Ipocurve.h Ipo.h Ipo.c
updated doc
2003-08-05 10:19:28 +00:00
Willian Padovani Germano
683c322b0e Exppython:
- Fixed bug #399:
    Old bug on NMesh: segfault on NMesh.Face(vertexlist).
- Fixed bug #433:
    "Typo" on Armature: bone's setQuat method was changing bone->head, not
    bone->quat.
2003-08-05 03:45:31 +00:00
Simon Clitherow
7db4249ae4 - added include path for imbuf (MSVC 6) 2003-08-04 18:12:34 +00:00
Ton Roosendaal
6d6936fa8f - interface.c doc 2003-08-04 12:40:09 +00:00
Chris Want
4796c8599b Irix mips3 build, Part 2
Ensuring that the build uses the rebuilt
mips3 libs.

Please test!
2003-08-04 03:26:07 +00:00
Willian Padovani Germano
41211edfee Exppython:
Text module: trying to get the filename attribute didn't check for NULL.
  Reported by Stani Michiels. Fixed now.
2003-08-02 20:49:31 +00:00