Commit Graph

33 Commits

Author SHA1 Message Date
Campbell Barton
f9f771cd01 converted more mixed tab/space indentations to tabs. only whitespace changes. 2011-04-21 15:53:30 +00:00
Campbell Barton
210ee1ade4 whitespace only, no functional change mixed tabs/spaces --> tabs. 2011-04-21 13:11:51 +00:00
Campbell Barton
fd90685a48 remove some paranoid NULL checks, since the pointers are used already. 2010-12-17 19:05:10 +00:00
Guillermo S. Romero
95aa8cfa4a Update address in license block. 2010-08-10 21:22:26 +00:00
Brecht Van Lommel
71446eea57 * Multiply for panorama cameras
* Some cases of struct name being set where it shouldnt have been.
* Spelling: wich --> which
* Copy and initialize uv modifier scale, remove unneeded enum.
* Ability to pin any object into the context.
* Update uv window while transforming (useful when used with UVProject modifier)
* Patch by Wahooney, so new template's are internal text and dont get saved over
  by mistake.
* Fix for https://bugzilla.redhat.com/show_bug.cgi?id=572186
  Bug 572186 - [abrt] crash in blender-2.49b-5.fc12: Process
  /usr/bin/blender.bin was killed by signal 6 (SIGABRT). Original fix submitted
  by Jochen Schmitt.
* [#21816] bpy.data.add_image has stopped working on Windows. moved to
  bpy.data.images.load(), missed this call.

(commits 27726,27825,27828,27831,27832,27833,27834,27836,27837,27838,27839,27858 by Campbell from render25 branch)
2010-03-30 12:15:16 +00:00
Campbell Barton
081c1205a3 correct fsf address 2010-02-12 13:34:04 +00:00
Daniel Salazar
15ef07d684 More tooltip editing 2010-02-11 02:03:18 +00:00
Ton Roosendaal
63f10e6b55 Patch 17403, small gcc warning fixes. 2008-09-20 12:28:01 +00:00
Kent Mein
981d380fc4 This is an expanded patch of this:
[#8067] external texture plugin thread-safe modifications
Submitted By: David Anderson (davywavy)

It makes it so the "result" array is passed in, instead of a global var.
I expanded the patch so it will play nice with older plugins  that are not
thread safe as well.

I also updated the existing plugins in the release, so they are thread safe.

---------------  What do people think of this.... ------------------
This should maybe be talked about in the functionality board or something,
but what do people think of adding in default texture/sequence plugins.
or making a seperate tree like lib for plugins.

The reason I ask is we have had a couple of upgrades to the plugin system.
(supporting float buffers for sequencer, and this one for textures)

http://www.cs.umn.edu/~mein/blender/plugins does not store revisions of 
plugins I just make sure they work with the latest version.  This is
getting messy.  I haven't upgraded a lot of them to use floats (I know,
I'm lazy, and now this will also make modifications to the plugins)
It would be nice to have some of the standard ones under revision control.

We also seem to be having an explosion of platforms supported.  It would
be nice to have platform maintainers compiling plugins as well for releases.
(Its getting to be more work for me to keep up with things...)

I'll go back to my corner now and be quite. ;)

Kent
2008-04-18 19:10:03 +00:00
Chris Want
5d0a207ecb Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
Kent Mein
d553eeef5d More fixes thanks to paprmh.
Kent
2007-01-24 17:55:53 +00:00
Kent Mein
6cbd505089 I put stuff into the code that shouldn't have been there. Reverts this small statement so
its correct again.

Thanks paprmh....

Kent
2007-01-22 19:47:12 +00:00
Kent Mein
c778c7f286 Paprmh's fix for the blur plugin.
Kent
2007-01-22 17:43:36 +00:00
Kent Mein
783a2900a6 This is taking me longer than I wanted.
All of these I think still need work but they at least do not coredump.
Basically they need some troubleshooting.

I'm heading home now so will work on it again tomorrow hopefully.
If anyone is bored feel free to take a look at them and see if you can
find the problems.  (dnr.c also needs to be converted to float aware)

Kent
2007-01-19 21:06:35 +00:00
Kent Mein
c46873819d removed since it no longer works and with render layers not really needed.
Kent
2007-01-18 16:44:50 +00:00
Kent Mein
fc633e46c5 in seqeffects.c I removed and extra ; and then did a lot of formatting
fixes.

gamma.c made it return B_PLUGIN_VERSION instead of a hard coded 4.
I haven't had time to look at the other plugins but I'm guessing
the deal was B_PLUGIN_VERSION was still 3 and gamma.c was float aware
so it was bummped to 4.  Now that B_PLUGIN_VERSION is 5 I'm guessing
the other plugins need to be updated so they are at level 5 as well.
(float aware)  I'm going to work on it later today.  At home with a
sick kid.  This is all in reference to bug #5692

Kent
2007-01-17 14:10:02 +00:00
Kent Mein
ea7e3f05ea fixed stupid little warning about targets differ in signedness.
(unsigned char verses char)

Kent
2007-01-16 21:34:39 +00:00
Chris Want
0b0c8c9244 =Texture Plugins=
Added a callback instance_init() so that any particular instance of a
texture plugin can initialize data. Updated the clouds2 and tile example
plugins to have a (dummy) call back.
2006-11-22 15:53:46 +00:00
Ton Roosendaal
10a4b1ad8b Patch #4743, Stephane Soppera
gamma.c plugin (sequencer) now supports float rects.
2006-11-06 18:37:26 +00:00
Peter Schlaile
873d46aeac == Sequencer plugins ==
applied bugfix by Stephane Soppera, removing two warnings and declaring
pointers explicitly as unsigned char*. (has worked without it, since the
compiler flags declare all (char*) in blender to be unsigned...)
2006-07-20 13:15:28 +00:00
Peter Schlaile
c4229b0272 ==Sequencer==
Fixed the blur-plugin (and maybe a lot more) crashes by expecting
future float-buffer aware sequencer-plugins to have a bumped PLUGIN_VERSION
number. Since quality and speed is degraded by converting the float
buffer first to byte, performing the effect on bytes and then converting
back again an additional warning is displayed in the effect strip,
suggesting to update the used sequencer-plugins.

Fixed some more crashes along the way.

Float buffer aware sequencer plugins should
- first check, if the output-ibuf has a rect_float
  => perform all operations with floats (input and output)
- if not: perform everything on bytes (intput and output)
2006-06-10 19:56:28 +00:00
Ton Roosendaal
ad3290d3d1 Makefile change for OSX plugins release build:
- the .so files are copied to the installation dir plugin/ directory now
  (other platforms copy it to the .blender dir, which doesn't exist there
  for OSX)
- plugin C files got #defines for return values, was old patch I applied,
  but was never committed
2006-06-10 10:47:21 +00:00
Peter Schlaile
4f59db9ca1 Add several usefull sequencer-plugins:
- color-correction-hsv & color-correction-yuv
  Do color correction in HSV or YUV-space, rather sophisticated but slow.
  You can control setup, gain and gamma and saturation (seperated by
  shadows, midtones and highlights).
- gamma
  a simple RGB-Gamma plugin, but very fast.
- dnr
  Dynamic Noise Reduction (plugin ported from VirtualDub).
  This helps mpeg encoding alot, by ignoring noise /movement
  below a given threshold between frames.
  It is also a lot faster than the original VirtualDub-plugin preserving
  it's quality.
2006-02-05 19:04:12 +00:00
Ton Roosendaal
610cec55c7 Biiig commit! Thanks to 2-3 weeks of cvs freeze...
Render:
- New; support for dual CPU render (SDL thread)
  Currently only works with alternating scanlines, but gives excellent
  performance. For both normal render as unified implemented.
  Note the "mutex" locks on z-transp buffer render and imbuf loads.
- This has been made possible by major cleanups in render code, especially
  getting rid of globals (example Tin Tr Tg Tb Ta for textures) or struct
  OSA or using Materials or Texture data to write to.
- Made normal render fully 4x32 floats too, and removed all old optimizes
  with chars or shorts.
- Made normal render and unified render use same code for sky and halo
  render, giving equal (and better) results for halo render. Old render
  now also uses PostProcess options (brightness, mul, gamma)
- Added option ("FBuf") in F10 Output Panel, this keeps a 4x32 bits buffer
  after render. Using PostProcess menu you will note an immediate re-
  display of image too (32 bits RGBA)
- Added "Hue" and "Saturation" sliders to PostProcess options

- Render module is still not having a "nice" API, but amount of dependencies
  went down a lot. Next todo: remove abusive "previewrender" code.
  The last main global in Render (struct Render) now can be re-used for fully
  controlling a render, to allow multiple "instances" of render to open.

- Renderwindow now displays a smal bar on top with the stats, and keeps the
  stats after render too. Including "spare" page support.
  Not only easier visible that way, but also to remove the awkward code that
  was drawing stats in the Info header (extreme slow on some ATIs too)

- Cleaned up blendef.h and BKE_utildefines.h, these two had overlapping
  defines.

- I might have forgotten stuff... and will write a nice doc on the architecture!
2004-12-27 19:28:52 +00:00
Kent Mein
d8babc260d Added #include <stdio.h>
to get rid of a warning about undefined printf
I know stupid but hey might as well make it do the right thing.

Kent
2004-01-28 19:25:32 +00:00
Kent Mein
9bcf2dcd1c Douglas Bischoff's Fix for Plugins on OSX.
Kent
2003-11-25 20:10:06 +00:00
Kent Mein
3b14d730d9 Updated the scatter program to fix some warnings.
Modified the Makefile's call to strip so it leaves symbols for
plugins...

Kent
2003-05-02 20:52:58 +00:00
Kent Mein
19320c020c The stuff in release/plugins/include was duplcated in
source/blender/blenpluginapi  So I removed the stuff in the release dir
after merging changes and updated the Makefile.

Kent
2003-05-01 16:34:14 +00:00
Kent Mein
abd2a37f8a Moved the compiling plugins to after the binary is copied over.
(macosX needs the binary to link against for the plugins)

Also updated the plugins/Makefile to use
$(MAKE) -C dir
	instead of
cd dir; make

Kent
2003-04-30 17:18:34 +00:00
Kent Mein
763da870b6 The first two files enables building of plugins under macosx.
The third is for actually loading the plugins in blender.
For some reason its not identifying the plugins correctly,
but it compiles and runs so I'm including it hoping someone else
might see where I've messed things up...

I have a simple example at http://www.cs.umn.edu/~mein/test.tgz that
works, if anyone is interested in playing with it.

Kent
2003-02-21 15:37:55 +00:00
Kent Mein
06e8de765a Modified ld flags on SunOS changed -O2 to -O
because sun's compiler does not support -O2.

Kent
2003-02-10 00:18:29 +00:00
Kent Mein
f0bafbad28 I added some of the changes I made to bmake at:
http://www.cs.umn.edu/~mein/blender/plugins/bmake

Basically added options for Darwin, and made a var $EXT
that gets set to so, dll or dynlib depending on the platform.

It looks like I'm still getting linking errors on macosx on some of the plugins
but its a good start.

Kent
2003-02-06 17:14:22 +00:00
Chris Want
96897d5674 Initial commit of the 'release' directory (splash screen/icon
junkies will be happy to find the datatoc.c program in the
datafiles directory).

Some quick notes:

* 'datafiles' has the version 2.21 splash.jpg and blenderbuttons (e.g., so
no NLA icon). Someone should at least get the 2.25 blenderbuttons from
somewhere and commit them.

* 'text' has obsolete content/license

* I did not include the python scripts as they have copyright
Jan Walter and no license specified.

* I changed to unix line terminators everywhere with the exeption of the
'windows' directory.

Chris
2003-01-01 15:06:10 +00:00