Commit Graph

53000 Commits

Author SHA1 Message Date
Johnny Matthews
f5d3649d17 Added Simple Image Background Exporting for Yafray
Add an image texture to the world (in any channel, the first one with an image will be used) and it will be exported as an image background
   The texture 'bright' slider is connected to the 'power' variable

If the image selected ends in hdr, it will be exported into an HDRI block.
   The texture 'bright' slider effects exposure adjust (it is slider value - 1) so a value of 1 == no expousre adjust. (this needs a better solution in a later    implementation)
2004-03-09 17:06:21 +00:00
Nathan Letwory
22d1a84968 * fix for bug 1008 where the gamma slider for post process (unified renderer) wouldn't update when toggling the gamma button. Fixed by making the toggle redraw.
(fixes: http://projects.blender.org/tracker/index.php?func=detail&aid=1008&group_id=9&atid=125)
2004-03-09 14:55:59 +00:00
Robert Wenzlaff
7ba0272093 rwenzlaff: Added a small round-off constant to Faceloopcut's percent calc
so that it rounds numbers off consistantly.  (Fixes bug #970) Though
	it was only a 0.03% error.

	Also fixed some sloppy/missing comments.
2004-03-09 13:49:45 +00:00
Johnny Matthews
9d68a346bb Initial commit for vertexloop select. I altered the version that is in tuhopuu to not take into consideration hidden verts.
This commit: selection code, loop cursor and menu option for 3d header committed.

Still to come will be activation code (perhaps shift-B rotation) after more discussion.
2004-03-08 02:49:50 +00:00
Robert Wenzlaff
c7a71e4042 rwenzlaff: Added call to makeDispList() in test_all_displists() after
object_wave(ob) called so subsurf and wave will update 3D window for Alt-A
	and frame change.

	fixes other 1/2 of bug #1000.
2004-03-08 02:48:43 +00:00
Robert Wenzlaff
afe04971c2 Rwenzlaff: Force update of displist when effects are present.
In an attempt to optimize, displist wasn't recalced if 3D window subsurf
	level was the same as render subsurf level, this kept wave effect
	from being calculated in animations if leves were equal.

	Fixes 1/2 of bug #1000 (Still doesn't update 3D Window)
2004-03-08 00:24:44 +00:00
Robert Wenzlaff
3114e5916c Fixed a few typos in tool tips, and made area lamp buttons
label the dimentions more consistantly.

	Resolves bugtracker #1001
2004-03-07 17:41:20 +00:00
Kent Mein
9ed4436058 Updated the Sun ifdef's basically I standardized them so they
were all the same and make sure all platforms see them.

Kent
2004-03-06 19:32:33 +00:00
Kent Mein
b5ae8a30a2 Reverted the casts so it would compile on irix.
Complaining because the cast confuses the compiler and it complains
lvalue of the expression isn't modifiable.
Probably a way to fix this but I'm lazy so I'm just reverting it to the
warning that works. :)

Also noticed a debug statment that was after a return value so I remove it.
(It was also trying to print memory that had been set to NULL above so
pretty much worthless)

Kent
2004-03-06 17:16:35 +00:00
Kent Mein
0a4a186c2e added #include <string.h>
to remove the following warnings:
playanim.c:228: warning: implicit declaration of function `strdup'
playanim.c:228: warning: assignment makes pointer from integer without a cast
playanim.c:234: warning: implicit declaration of function `strcpy'
playanim.c:281: warning: assignment makes pointer from integer without a cast
playanim.c:299: warning: implicit declaration of function `strlen'
playanim.c: In function `playanim':
playanim.c:378: warning: implicit declaration of function `strcat'

Kent
2004-03-06 16:14:25 +00:00
Nathan Letwory
1cc19c6993 - [WIN32] Ask user to press enter after exiting Blender in debug mode. Previously it would either not fall back to the prompt or not close the new dos-box (ie. not started from a dos-box). 2004-03-06 13:08:36 +00:00
Stephen Swaney
7b5d3f183b Fix for bug# 986
Assigning a new value to a Button string did not resize the string buffer.
2004-03-06 10:35:15 +00:00
Kent Mein
8a7110a19a removed -Wbad-function-cast -Wmissing-declarations -Wnested-externs
from LEVEL_2_CPP_WARNINGS since they aren't valid for c++
(Note they are still in the LEVEL_2_C_WARNINGS)

Kent
2004-03-05 21:29:34 +00:00
Johnny Matthews
b5fef06a95 Bugfixes by eeshlo
Fixes Bug 990 and 976
990 - Parenting Issues with Yafray Export
976 - Curve (Text) 'Front' and 'Back' not Exporting to Yafray
2004-03-05 20:08:30 +00:00
Johnny Matthews
445fd66f27 Added 'Execute Script' to the right click pupmenu in the text editor 2004-03-05 17:15:49 +00:00
Nathan Letwory
9076b80db6 * [SCons] enable BUILD_DATE for win32. Basically SCons creates an extra file in source/creator, which is included by buildinfo.c whenever BUILD_DATE is on and building on Windows. SCons automatically takes care of this dependency. 2004-03-05 15:20:52 +00:00
Stephen Swaney
811e144c6f Fix for bug #1014
In IpoCurve.addBezier() method, set handles of newly added point to type Auto.

Fix provided by Roland Hess (harkyman).
2004-03-05 08:20:18 +00:00
Stephen Swaney
83804a7173 Fix for Bug 1039
Changed doc to match the parameters for Ipo New() method.
Corrected error message for expected argument types in New() method.
2004-03-05 06:25:49 +00:00
Stephen Swaney
db9f9215cf Fix for Bug 1045.
Added more detail for method return types in various doc files.
Changed version number in epy_docgen.sh to BPY_API_232.
2004-03-05 05:50:50 +00:00
Joseph Gilbert
4d1f58ebd0 - set/get Euler works with the real thing now
- ability to set the object's matrix
2004-03-03 00:45:10 +00:00
Kent Mein
74680a07c0 Removed a fudge factor of .5
think it was an old opengl hack for something.

See for more info:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=3107

Also the person that should get credit for this is: chrish and meestaplu

Kent
2004-03-02 18:50:54 +00:00
Kent Mein
6ed91ce2ed Styken's fix for bug # 1035
Its a if to check for divide by 0 case.

Kent
2004-03-02 16:49:50 +00:00
Joseph Gilbert
056579b19c Documentation for mathutils. 2004-03-02 11:56:20 +00:00
Joseph Gilbert
b61a81ff9b Documentation for mathutils. 2004-03-02 11:44:06 +00:00
Nathan Letwory
af2c3a4c10 Added OpenBSD3.x to the SCons build system. 2004-03-02 08:40:19 +00:00
Kent Mein
b8b21cb47a Another Patch by Joilnen,
This one uses struct casts to get rid of some gcc warnings.

Kent
2004-03-01 18:54:11 +00:00
Kent Mein
1b6d9da7a3 Joilnen's Fix for bug #999
Basically the switch statement for the menu had some numbers that were off.
it went 7 9 10 11 instead of 7 8 9 10


Joilnen's Fix for bug #999

Basically the switch statement for the menu had some numbers that were off.
it went 7 9 10 11 instead of 7 8 9 10

Kent
2004-03-01 17:55:42 +00:00
Michel Selten
70a4ead0ae SCons updates
* Blender static now links. By default this option is disabled on all
  platforms. Simply set the option in config.opts to 'true'.
* Added the following flags to config.opts:
  - HOST_CC.    This is the C compiler for the host platform. This value is the
                same as TARGET_CC when not cross compiling.
  - HOST_CXX.   This is the C++ compiler for the host platform. This value is
                the same as TARGET_CXX when not cross compiling.
  - TARGET_CC.  This is the C compiler for the target platform.
  - TARGET_CXX. This is the C++ compiler for the target platform.
  - TARGET_AR.  This is the linker command for linking libraries.
  - PATH        This is the standard search path
  All SConscript files have been updated to reflect these changes. Now it's
  possible to change only the root SConstruct file, and all compiler specific
  variables are passed automatically to all SConscript files. Of course, this
  does not apply to makesdna because there the host and target platform is
  different from all other libraries.
  To pass a variable that applies to all platforms, all we now have to do is
  set the correct value in library_env


Note: as usual, to get the latest options in the config.opts file, first
      remove your version.
2004-02-29 21:40:48 +00:00
Robert Wenzlaff
5998c12c60 Fixes bug report 1012. Copy Attrib didn't copy sudsurftype.
(Now it does.)
2004-02-29 16:45:10 +00:00
Daniel Dunbar
d63ca836db - SConscript error for mathutils, no comma after C file 2004-02-29 15:07:32 +00:00
Joseph Gilbert
a03d2abe0d Update to SCons for new Mathutils lib 2004-02-29 13:26:42 +00:00
Joseph Gilbert
8f3a9815ba Mathutils library for the python API
- support for quaternions, euler, vector, matrix operations.
- euler supports unique rotation calculation
- new matrix memory construction and internal functions
- quaternion slerp and diff calculation
- 2d, 3d, 4d vector construction and handling
- full conversion support between types
- update to object/window to reflect to matrix type
- update to types/blender/module to reflect new module
2004-02-29 13:20:34 +00:00
Michel Selten
8023fb4282 SCons updates
* Added the options to build (configurable via config.opts):
  - blender dynamic (default enabled),
  - blender static (default disabled). Not working because of a linking order
    problem. The /usr/lib/libGL.a and /usr/lib/libGLU.a flags need to be
    appended at the end of the link command, not directly after the linker.
    Mailed the SCons mail list for a possible solution.
  - blender player (default disabled). Not implemented yet anyway.
  - blender plugin (default disabled). Not implemented yet anyway.
* Added the following variables to the config.opts:
  - OPENGL_STATIC. This flag is only needed when building blender static.
  - USE_BUILDINFO (true/false). Display build information in the splash
    screen. When enabled, it will always rebuild source/creator/buildinfo.c,
    so for compilation speed reasons, it is not adviced to enable this all the
    time.

I had to make some adjustments specifically for the windows build
(winblender.res) file. This file is only compiled when building the dynamic
blender. I hope this is correct.
2004-02-24 20:03:27 +00:00
Kent Mein
6379637089 sorry more ;'s this should be the last of them though.
Kent
2004-02-23 19:14:38 +00:00
Kent Mein
a0e9208c35 another extraninous ;
Kent
2004-02-23 19:05:42 +00:00
Kent Mein
2b2e272829 some more warnings cleared up from Solaris compiler.
(extra commas in enum declarations.)

Kent
2004-02-23 18:46:19 +00:00
Michel Selten
874d454d67 SCons updates
* Removed the I18N_DEFINES from the config.opts file. This define is not a
  user setting. The defines depend on what options the user enables in the top
  of the config.opts file (USE_INTERNATIONAL).
* Moved the defines to the correct SConscript files.
  Only the relevant libraries now use these defines.
* Windows fix for the python settings. There were missing brackets [ and ] for
  these settings.
2004-02-23 14:39:08 +00:00
Kent Mein
d9cf17d930 Added a if defined(__sun)
I believe gcc and sun's cc have it defined differently.
It wasn't including statfs.h now it is.

Kent
2004-02-23 14:29:10 +00:00
Nathan Letwory
ce6eaaad57 * [WIN32] Added snprintf define so msvc linker doesn't complain about missing symbols. 2004-02-23 09:04:55 +00:00
Michel Selten
e1ab3cf480 SCons updates
* Game engine can now be build on Linux. By default this feature is disabled.
  The reason is that you need to have a precompiled version of the ode library
  for your gcc version.
  To enable ode support you need to do the following:
  - compile ode.
  - set BUILD_GAMEENGINE = 'true' in the config.opts file.
  - set USE_PHYSICS='ode' in the config.opts file.
  - set the ODE_INCLUDE and ODE_LIBPATH to valid locations.

* Linking order has changed for the game engine
  There are cyclic dependencies between libraries. On linux we have to do some
  duplicate linking. I looked at the order of linking in source/Makefile, and
  did some clean up.
2004-02-22 19:01:12 +00:00
Nathan Letwory
e579793652 - [win32] updated SConscripts to use new configuration method (config.opts).
NOTE: ODE support needs still to be reviewed, so disable gameengine for now.
2004-02-21 19:00:31 +00:00
Chris Want
fbb830db4b Todd Koeckeritz' patch to sort the vertex groups menu and adapted to
sort the bone parenting menu. Only really works if your menu is near
the top of the screen ...
2004-02-21 17:45:19 +00:00
Chris Want
8410cdd71c Todd Koeckeritz' patch to fix inconsistent placement in multicolumn
menu's.
2004-02-21 16:50:09 +00:00
Michel Selten
9e238d385d SCons updates
* Almost all library settings are now available in the config.opts user option
  file.
* All platform variables had to be updated to make this possible. Things are
  much clearer now, but I only was able to test the changes on Linux. I've
  tried to update all other platform variables, but things are most likely to
  be broken. Please contact me how to resolve the issues.


Note: Before running scons, remove your existing config.opts file to get all
      new options.
2004-02-21 15:13:15 +00:00
Chris Want
05bff7f938 Jonathan Thambidurai's patch for fixing the baking of NLA.
I added to this patch some code for keying size too ... please test.

This probably fixes bug #602, but I can't say for sure: Guignot's
poor ol' example blend no longer opens in blender (not since 2.26).

Release notes remark: Bug causing inconsistent baking of actions fixed.
2004-02-20 04:57:07 +00:00
Chris Want
6000b811bc A little improvement by Joilnen Leite: makes the pixel RGBA values visible
(even with a white background) when left clicking in the render window.
2004-02-16 15:29:10 +00:00
Michel Selten
9330e553e8 SCons updates
* libraries are now generated in [BUILD_DIR]/lib
* passed the user_options to all libraries now.
  This means I could remove a couple of Export/Import lines.
* Changed the order in source/blender/src/SConscript and
  source/gameengine/SConscript.
  All libraries are now sorted alphabetically. This has no impact on the build
  process.
2004-02-15 19:25:32 +00:00
Chris Want
2fbf2b3775 Moved a line to make armarures recalculate better after framechanged
scriptlinks are executed.

This fixes bug #997.

Note: this fix does not need to be mentioned in release notes (problem
was caused by the recent armature speedups).
2004-02-15 17:50:56 +00:00
Martin Poirier
0ad8b66046 Text Window keyboard event cleaning.
There was two switch where only one was needed (which caused an event to register in two different actions under some conditions). I merged both of them, which not only made the code a lot clearer but also safer.
Fixed the Home and End case which didn't update the display correctly.

I've tested it for some time, so I'm pretty sure nothing is broken.
2004-02-15 02:03:33 +00:00
Daniel Dunbar
7c7ede091d - bug fix, ctrl-x didn't clear file name in window title 2004-02-08 13:26:52 +00:00