Commit Graph

6188 Commits

Author SHA1 Message Date
Nathan Letwory
ef1b7a5735 ==SCons==
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux
  only, but was only linking issue, so should work on other platforms too).

  NOTE: I noticed some compileflags for GE specific libs that were left out -
  I re-enabled them in the SConscripts, but I'm going to do a test build my-
  self now, so if there are problems with them on win32, I probably already
  know about them :)
2006-02-07 21:24:36 +00:00
Nathan Letwory
b11c92c66e ==SCons==
* use proper seperator instead of *nix-only /
2006-02-07 21:12:01 +00:00
Nathan Letwory
27110ec0f4 ==SCons==
- remove blenderdummy.cpp from list, so that elbeem actually works
2006-02-07 21:04:22 +00:00
Ton Roosendaal
78c87abeed Wanted feature for curves: a render-time resolution. This option is
located under the 'def resolu' button. If not zero, it assigns this
resolution to a curve on render.
Also copies with ctrl+c menu.
2006-02-07 19:59:02 +00:00
Matt Ebb
0b1cf0a01f Add the WITH_OPENEXR to sconscript. I needed this for toni's latest SceneRender stuff to work. Strange that it worked ok on his computer without this. 2006-02-07 19:04:24 +00:00
Toni Alatalo
3fe6fca3f6 additions to make the orange rendering preparation script work, sorry undocumented again (we are testing this now and gotta commit to get this to other compus at studio, Stivs make a note to bug me about the doc or someone add it.. :o) 2006-02-07 18:33:01 +00:00
Ton Roosendaal
617b7b00ca Further tweaking group appending...
Previous commits attempted to link objects in a group to the scene, when
appending the group. Unfortunately... a single append then also linked
objects from previously linked groups. This is still a bit messy, mostly
caused by the way how appending now is coded.

At least things work as expected now!
2006-02-07 18:32:04 +00:00
Ton Roosendaal
59d67818e1 Orange-reported vectorblur bug: when using autosmooth, the amount of
vertices differed on previous/next frame, causing speedvector calculus
to be skipped.
Now that worked OK, where it not that non-existing speed vectors were not
initialized zero while rendering...

Also another issue showed up with autosmooth. When using exact smooth
angles (like 30 degrees) on a model that has been spinned with exactly
30 degree steps, the autosmooth gave different results on each frame...
and only when compiled in O2 (probably thats doing bad float rounding).

Solved this by just adding 0.1 to the user defined smooth angle.
2006-02-07 17:44:02 +00:00
Ton Roosendaal
e4a0390b39 Group Nodes made functional: each group now can be re-used (instanced)
with SHIFT+G. This works as well for local groups as library-linked
groups.

Also fixed that group nodes were copying internal data to the outside,
which made it impossible to use the socket-buttons to set individual
values for each group-instance.

Library-linked groups are prevented from editing. But, try to open a
group and it will give a request for 'make local'. The make local rule
is identical to other library data in blender, meaning:
- if all users of the library data are local -> the library data is
  flagged 'local', and if needed a unique name is made
- if there's mixed users (local and from other library data) it makes
  a full copy, and assigns this copy to all local users.
2006-02-07 15:50:55 +00:00
Matt Ebb
03ae9e70b8 * If an empty is a forcefield, scale the 3D forcefield shape with the empty drawsize 2006-02-07 13:05:17 +00:00
Ton Roosendaal
47054d00e6 Added "Blur factor" button in Vector Blur node, which scales the speed
vectors. It's actually shutter speed, but in this case works identical to
the old motionblur 'blur fac' button.

Note; the "Max Speed" button only clips speed, use this to prevent
extreme speed values. Max speed applied before the scaling happens.
2006-02-07 11:39:26 +00:00
Campbell Barton
682c1df9ec This script sets the UV mapping and image of selected faces from adjacent unselected faces.
Use this script in face select mode.

Note- If you make new faces between faces that are alredy UV mapped there is currently no way to say- map from others... this script does exactly that. and can save a lot of time manually moving and welding UV coords one by one.
Its realy usefull for mapping after a scanfill too.
2006-02-07 10:50:35 +00:00
Campbell Barton
02a9f2cf30 works with free verts and a bit faster 2006-02-07 03:58:57 +00:00
Chris Want
caf383a3a8 Cleaning up some bad stuff from the merge in the release/ directory.
Somebody with good knowledge of the current state of icons should
probably check blenderbuttons for correctness. Also, splash.blend
was corrupt, so I restored the old version, but it says 2.40...
2006-02-07 03:58:33 +00:00
Campbell Barton
af4f110de5 From __bpydoc__
This script relaxes selected UV verts in relation to there surrounding geometry.

Use this script in face select mode.
Left Click to finish or wait until no more relaxing can be done.
2006-02-07 03:41:28 +00:00
Chris Want
2c35988fcb Needed to add zbuf_accumulate_vecblur() to the stubs.c for correct
linking of the blenderplayer.
2006-02-07 03:37:35 +00:00
Ton Roosendaal
f45546a1d3 iImage based Vector Blur
After a couple of experiments with variable blur filters, I tried
a more interesting, and who knows... original approach. :)

First watch results here:
http://www.blender.org/bf/rt0001_0030.avi
http://www.blender.org/bf/hand0001_0060.avi

These are the steps in producing such results:

- In preprocess, the speed vectors to previous and next frame are
  calculated. Speed vectors are screen-aligned and in pixel size.
- while rendering, these vectors get calculated per sample, and
  accumulated in the vector buffer checking for "minimum speed".
  (on start the vector buffer is initialized on max speed).

- After render:
- The entire image, all pixels, then is converted to quad polygons.
- Also the z value of the pixels is assigned to the polygons
- The vertices for the quads use averaged speed vectors (of the 4
  corner faces), using a 'minimum but non-zero' speed rule.

  This minimal speed trick works very well to prevent 'tearing' apart
  when multiple faces move in different directions in a pixel, or to
  be able to separate moving pixels clearly from non-moving ones

- So, now we have a sort of 'mask' of quad polygons. The previous steps
  guaranteed that this mask doesn't have antialias color info, and has
  speed vectors that ensure individual parts to move nicely without
  tearing effects. The Z allows multiple layers of moving masks.

- Then, in temporal buffer, faces get tagged if they move or not
- These tags then go to an anti-alias routine, which assigns alpha
  values to edge faces, based on the method we used in past to antialias
  bitmaps (still in our code, check the antialias.c in imbuf!)

- finally, the tag buffer is used to tag which z values of the original
  image have to be included (to allow blur go behind stuff).

- OK, now we're ready for accumulating! In a loop, all faces then get
  drawn (with zbuffer) with increasing influence of their speed vectors.
  The resulting image then is accumulated on top of the original with a
  decreasing weighting value.

It sounds all quite complex... but the speed is still encouraging. Above
images have 64 mblur steps, which takes about 1-3 seconds per frame.

Usage notes:

- Make sure the render-layer has passes 'Vector' and 'Z' on.
- add in Compositor the VectorBlur node, and connect the image, Z and
  speed to the inputs.
- The node allows to set amount of steps (10 steps = 10 forward, 10 back).
  and to set a maximum speed in pixels... to prevent extreme moving things
  to blur too wide.
2006-02-06 22:11:50 +00:00
Brecht Van Lommel
4c59280ed8 ABF:
- Improved splitting of quads, which helps to avoid some degenerate triangles.
- Also improvements to choosing pins to preserve symmetry better in a few
  typical cases.
2006-02-06 20:24:15 +00:00
Ton Roosendaal
93dee282be Sky textures were using wrong pixel-size vectors, so images got sampled
totally blurred.

Thanks plumiferos team for the poke!
2006-02-06 19:29:37 +00:00
Peter Schlaile
b5cbd1c4e6 Fixed problem spottet by Ken Hughes, that prevented FFMPEG-output with
NTSC target from working (floating point exception).
Fixes bug #3879 from the bug tracker.
2006-02-06 19:27:24 +00:00
Ton Roosendaal
605a645e2c Quite weird... I recall I fixed it, then it came back again.
Vertex selection (mesh edit) was using a short to calculate distances,
which can overflow with vertices outside of view.
2006-02-06 17:45:43 +00:00
Campbell Barton
c629128773 - Removed workarounds for Blender 2.41
- Mesh objects split by material- many 3ds objects used more then 16 per mesh. and when a face looses its image texture its tedious to set again.
- Removed a lot of unneeded variable creation.
2006-02-06 14:23:55 +00:00
Ton Roosendaal
6f3c9c4275 Inserting keypositions for a constraint which is part of action that's
part of action strip... now is corrected for action strip offset.
2006-02-06 13:56:47 +00:00
Ton Roosendaal
1c89675a3a Tweaked library link/append rules for groups a bit further;
- append group: appends group + puts objects in scene
- link group: only links group, doesn't put objects in scene

- append particle system with group: appends group + objects in scene
- link particle system with group: only links group
2006-02-06 13:00:42 +00:00
Nathan Letwory
43c95ee9f2 ==SCons==
+ Add python24.dll to list of needed dlls for install
2006-02-06 12:47:11 +00:00
Nathan Letwory
bbcfb14afa ==SCons==
+ Added note about using the config files. I repeat it here: a user NEVER
  should edit config/(platform)-config.py directly. Instead, make a copy of
  config/(platform)-config.py to user-config.py, and change that instead.

  /Nathan

  PS. now I can say "I told you", and be sure I will :P
2006-02-06 06:52:24 +00:00
Chris Want
462941aaf0 Support for ffmpeg for cygwin/gcc. Off by default, enable with
export WITH_FFMPEG=true
(and be sure to update lib/windows). Test, test, test.
2006-02-06 06:34:36 +00:00
Chris Want
b8988d8c19 Using NAN_FFMPEG_CFLAGS to find the right headers, and making linking
with NAN_FFMPEG_LIBS more general (i.e., not just for linux, and
moving some of the linux linking stuff to source/nan_definitions.mk).
2006-02-06 06:22:39 +00:00
Chris Want
7263b0f6df The writeframeserver stuff requires that the cygwin stuff links with
-lwsock32.
2006-02-06 04:25:20 +00:00
Chris Want
cd4a6b669b To aid linking, I added NAN_USE_FFMPEG_CONFIG (true/false).
If "export NAN_USE_FFMPEG_CONFIG=true" is added to user-def.mk,
the system executes the ffmeg-config program to set values
for NAN_FFMPEG (--prefix), NAN_FFMPEGLIBS (--libs avcodec avformat),
and NAN_FFMPEGCFLAGS (--cflags). Only one used so far is the
NAN_FFMPEGLIBS for linking on linux (if requested to do so).
Current default is not to do this.
2006-02-06 01:49:33 +00:00
Peter Schlaile
f4d5d9080d typo 2006-02-06 00:50:21 +00:00
Peter Schlaile
8fad9e527a FFMPEG defs was initialized as an array, a string was appended 2006-02-06 00:49:25 +00:00
Peter Schlaile
d477ee95c8 quick fix quick typo 2006-02-06 00:20:31 +00:00
Peter Schlaile
f1a1aad0e9 skip_frame not available in all ffmpeg versions 2006-02-06 00:19:23 +00:00
Peter Schlaile
bec1ab6f77 Added NAN_NO_FFMPEG user option 2006-02-06 00:10:43 +00:00
Peter Schlaile
241352104f mem_in_use can be victim to C++ name mangling on some platforms... 2006-02-05 23:46:55 +00:00
Peter Schlaile
64751fba9f -lopenal slipped between ffmpeg-link on Linux 2006-02-05 23:32:17 +00:00
Peter Schlaile
38fe80f402 uint8_t changed to unsigned char (barfed on MSVC) 2006-02-05 23:08:30 +00:00
Peter Schlaile
0946b399c6 removed inline since it barfs on MSVC 2006-02-05 23:07:48 +00:00
Peter Schlaile
0313cacc2b Forgot #ifdef in sound_copy_hdaudio 2006-02-05 22:47:32 +00:00
Nathan Letwory
092e7385d9 ==SCons==
*remove double WITH_BF_FFMPEG
2006-02-05 22:11:04 +00:00
Jean-Luc Peurière
012a87eaa6 reverting default location for OpenEXR to the proper default
(the one in doc)
2006-02-05 21:16:55 +00:00
Nathan Letwory
ba97d47df4 ==SCons==
* Changing linking order of a few libs, hopefully it solves a unresolved issue.
2006-02-05 20:38:40 +00:00
Peter Schlaile
250c9de1bc Adds ffmpeg-support on Linux-platforms. Since ffmpeg is installed
always statically (you have to force it to build a dynamic library) the
resulting binary is redistributable.

The code is made ffmpeg-version independent using #ifdef's.
2006-02-05 19:49:29 +00:00
Ton Roosendaal
3700984c99 Appending a single object with particle system, will now also expand to
append its group and objects.
2006-02-05 19:43:46 +00:00
Peter Schlaile
4e97a43d56 Adds a VFAPI-Plugin for TMPGenc to connect to the blender frameserver. 2006-02-05 19:39:12 +00:00
Peter Schlaile
680756393a - Header changes to support hdaudio, memcache limitor and framecount boost. 2006-02-05 19:36:32 +00:00
Peter Schlaile
6c29ba8494 Base library to support hdaudio-tracks (using ffmpeg only for now). 2006-02-05 19:33:17 +00:00
Peter Schlaile
90f0e37263 * Adds configuration buttons for ffmpeg-output
* Large sequencer rewrite to support:
  - Audio-tracks, which are not completely loaded into memory (hdaudio) but
    kept on disk instead.
  - A dependency tree, that builds only the Imbufs, that are really needed
  - Cleaner sequencer code
  - Per instance data in sequencer plugins (without this, the Dynamic
    Noise Reduction plugin would be impossible)
  - A Luma Waveform display
  - A U/V scatter plot display
  - Memcache limiting in sequencer
  - Buttons changed according to the boosted framecount limit
2006-02-05 19:30:37 +00:00
Nathan Letwory
f17bdcb2e4 ==SCons==
* Add WITH_BF_FFMPEG to scons system. Needs to be added to (platform)-config.py
  still. Otherwise defaults to  'false'.
2006-02-05 19:29:48 +00:00