Commit Graph

1908 Commits

Author SHA1 Message Date
Ton Roosendaal
d82ab2bfc3 - small patch to make sure buttons are fully used for strings (when it
doesnt fit), plus the 'user count' button now increases in size when
  amount is larger than 10.
  was report #1049
2004-03-25 13:30:20 +00:00
Stephen Swaney
29baa5026e add info about units for rotation IPOs and Object Euler angles. 2004-03-25 06:18:56 +00:00
Joseph Gilbert
e418052d85 - bugfix for texture types
- fix supplied by alex mole
2004-03-24 23:43:56 +00:00
Stephen Swaney
cd5ea5e724 add comment to BezTriple struct. 2004-03-24 16:06:01 +00:00
Joseph Gilbert
9acb3c8ff0 - bugfix for 1078
- slider crashes blender because of redraw commands - fixed
- styken reported/fixed this bug
2004-03-23 03:07:41 +00:00
Nathan Letwory
00291b5cf4 [GameEngine] Commit all Kester's changes made to the gameengine to restore 2.25 like physics.
[SCons] Build with Solid as default when enabling the gameengine in the build process
[SCons] Build solid and qhull from the extern directory and link statically against them

That was about it.

There are a few things that needs double checking:

* Makefiles
* Projectfiles
* All the other systems than Linux and Windows on which the build (with scons) has been successfully tested.
2004-03-22 22:02:18 +00:00
Chris Want
5b90aafbd6 Added 2 options to the Makefiles (enable in environment, user-def.mk,
or whatever):

NAN_NO_KETSJI: when set to true, disables compilation of the game engine.
NAN_JUST_BLENDERDYNAMIC: when set to true, only dynamic executable is
build (i.e., no plugin, etc).

Note that NAN_NO_KETSJI implies NAN_JUST_BLENDERDYNAMIC.
2004-03-21 19:59:51 +00:00
Daniel Dunbar
86108b3665 - removed unused sortfaces function 2004-03-21 00:10:05 +00:00
Daniel Dunbar
44a74dbf29 - added editmesh_[de]select_by_material function
- added mesh_set_smooth_flag, mesh_delete_material_index function
 - isolated some globals
 - got rid of reliance on meshdata in buttons_editing.c and material.c
2004-03-20 23:59:57 +00:00
Daniel Dunbar
aedf456938 - split the data structures that actually constitute a mesh
(MVert,MFace,etc) off into DNA_meshdata_types.h, to isolate areas
    of source that actually edit mesh *data* vs. areas that just edit
    mesh object information.
2004-03-20 22:55:42 +00:00
Daniel Dunbar
0d4300eb49 - added object_apply_deform, removed lt_applyflag global 2004-03-20 22:06:01 +00:00
Kent Mein
60955da36d Douglas Bischoff's fix for OSX (removing the spaces from link_env.Append
link_env.Append (LINKFLAGS=' -framework Carbon')
is now
 link_env.Append (LINKFLAGS='-framework')
 link_env.Append (LINKFLAGS='Carbon')


Kent
2004-03-18 15:06:48 +00:00
Joseph Gilbert
1f61dc31da - rendering documentation adding for the python scene module 2004-03-18 11:57:05 +00:00
Michel Selten
2baab8323f SCons updates
* A little environment cleanup.
2004-03-17 13:18:03 +00:00
Nathan Letwory
67ccc51920 - [SCONS] Adding the creation of an Object Browser database (Source browser in MSVC6) when building a debug binary.
This is contributed by Jonathan Harris. I paste here his comments for further reference:

MSVC will open the database automatically when you debug blender.exe.
The database needs to be explicitly closed before rebuilding by removing
it from the MSVC7 "Solution Explorer" window. Add it back after the build.

TODO: .sbr intermediate files are created in the build tree. These
should be removed by a clean but aren't.
2004-03-16 21:45:46 +00:00
Michel Selten
48d2ea15f1 SCons updates
* Removed win32 specific stuff from the SConscript in makesdna/intern.
  This stuff is obsolete after yesterdays update.
2004-03-16 18:43:18 +00:00
Michel Selten
90d179f014 SCons updates
* Added the following flags to config.opts:
  - PYTHON_LINKFLAGS
  - PLATFORM_LIBS
  - PLATFORM_LIBPATH
  - PLATFORM_LINKFLAGS
  Backup your original config.opts file and run scons again to get these new
  options.
* Use freetype-config instead of pkg-config for determining the freetype2
  flags.
* The new PYTHON_LINKFLAGS now enable the dynamic linking on Linux and
  possibly other platforms as well. This should resolve all linking problems
  reported to the mailing lists. (At least for Linux, I can't test other
  platforms).
2004-03-15 19:55:11 +00:00
Joseph Gilbert
127e57d983 -bug fix: matrix_item callback now returns rows from a matrix as in previous API implementation (exmple: ob.getMatrix()[0]) 2004-03-15 00:43:38 +00:00
Chris Want
6c650c586d Fixed issues surrounding the increased vertex limit:
* Created a MESH_MAX_VERTS macro in DNA_mesh_types.h
* fixed vert limit for converting displistmesh ==> mesh
* fixed vert limit when doing boolean operations
2004-03-14 21:21:09 +00:00
Daniel Dunbar
807db2ea40 - redundant code killing for MFaceInt removal 2004-03-14 21:21:08 +00:00
Chris Want
dd3c9c0c46 Removed the struct MFaceInt from DNA_mesh_types.h (by the recommendation
of zr). This struct was never written to file and the new 'int based'
MFace can be used in it's place. Some removal of redundant code could
perhaps be done now (I didn't do any though, just "s/MFaceInt/MFace/").
2004-03-14 21:00:51 +00:00
Chris Want
a91ef3f4e1 Change an AUTOSPACE to ME_AUTOSPACE to comply with the new naming
convention.
2004-03-14 19:19:58 +00:00
Daniel Dunbar
16e90d56d2 - replaced AUTOSPACE define with {ME_,CU_,MB_}AUTOSPACE,
different objects shouldn't share flags this way (still sharing of
  other mesh flags in renderer... ickity pickity, but I'm not fixing now)
 - removed some unnecessary uses of DNA_mesh_types.h
2004-03-14 16:59:48 +00:00
Joseph Gilbert
59b5ac8449 -update to msvc7 for render module 2004-03-14 02:08:37 +00:00
Joseph Gilbert
363cf11e43 -update to msvc6 for render module 2004-03-14 02:08:05 +00:00
Joseph Gilbert
d99a49593d -update to sconscript for render module 2004-03-14 02:07:30 +00:00
Joseph Gilbert
c0966e309b - new files sceneRender.c/.h
- added new rendering module as part of the existing scene module
- support for individual scene rendering
- support for yafray rendering
2004-03-14 02:06:57 +00:00
Johnny Matthews
332c6c3512 Added Vertex loop select to the toolbox in editmode.
Johnny Matthews (guitarGeek)
2004-03-12 21:09:53 +00:00
Johnny Matthews
421d8ba383 Added a non-proportional mode to loopcut:
Short usage info:
In loopcut mode after selecting a 'reference edge' and you are selecting the % to cut press p to toggle non-proportional mode.

the base side of the reference edge will be indicated by a large pink vertex. This is the side that 0% is calculated from and the side that the non-proportional  cut will mimic. To change the side of the base, press the Fkey

The header has always shown the % of the cut, but now in non-proportional mode, it will show the distance from the base side of the loop. It will also show which cut mode you are currently in.
2004-03-12 20:58:11 +00:00
Joseph Gilbert
7e5f2c2457 - fixed a few setattr calls to use tuple parsing
- bug reported by Alfredo de Greef
2004-03-11 12:23:53 +00:00
Kent Mein
24954c9f3f Modifications to get scons to work under Solaris. Currently
its setup to use gcc and you need to edit config.opts and replace cc and CC
with gcc and g++ but other than that it compiles now.

Kent
2004-03-10 19:16:08 +00:00
Johnny Matthews
0ab4e6e503 Added Activator Code for a Loop select rotation
Rotation Current;y goes like this in editmode...

alt-b : vertex loop select
alt-b : face loop select
alt-b : off

I also removed the console output for changing to small cursor.
2004-03-09 22:00:51 +00:00
Nathan Letwory
3081f4a635 - [SCONS] Added building of qhull and Solid from extern when selecting the Solid gameengine. The gameengine has not been updated with the Tuhopuu2 one, so it is not wise to do that yet. This is in preparation for that and won't effect the current build process. 2004-03-09 21:14:03 +00:00
Michel Selten
a2dc5f8f8e SCons updates
* Default build dir is now: ../build/<platform>/
  with <platform> ofcourse the platform you're building on.
  This option is still configurable in config.opts. It was just a feature
  request.
* Allow the user to specify a different config.opts file from the command
  line. This one was at my todo, but Kester was kind enough to implement this
  in Tuhopuu2 already. Thanks Kester!
  To generate/use a different options file:
  scons CONFIG=your_config_options_file
2004-03-09 20:02:38 +00:00
Nathan Letwory
98bed4ca32 - [SCONS] update to use the new csg script if you set the variable to true. I keep it to this file for the moment, since building this is not always successfull. So if you want to use this instead of the current method, set NEW_CSG in this file to true. 2004-03-09 18:21:28 +00:00
Nathan Letwory
5bd9534103 - [SCONS] SConscript for the new csg library 2004-03-09 18:19:53 +00:00
Martin Poirier
44cf2c587d Constraint blending and accumulator fixes for bug #924 and #983
924: Constraints (especially tracking) on objects with non uniform scaling was screwing the orientation of the object badly
983: Two or more Follow Path constraint on one object was fubar

Fixing 983 enables nice tricks like this: http://www.clubinfo.bdeb.qc.ca/~theeth/Work/Path.blend

URLs for both bugs:
http://projects.blender.org/tracker/index.php?func=detail&aid=924&group_id=9&atid=125
http://projects.blender.org/tracker/index.php?func=detail&aid=983&group_id=9&atid=125
2004-03-09 17:21:08 +00:00
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
Nathan Letwory
cd0b492ca1 * Added linux-i386 to appease Mandrake 9 users
* Added stdc++ to the platform libs for linux2/linux-i386 for the same users
2004-03-07 20:27:27 +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
6f195f084c Got rid of a cast to float which was causing a warning. (Used a temp
var instead)   return (float)atof(something);

is now   float x=atof(something); return x;

There is still another one(warning)in this file but hey its a start.

Kent
2004-03-06 17:04:52 +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