Commit Graph

5431 Commits

Author SHA1 Message Date
Ton Roosendaal
dff7bebab8 Bugfix #3478
Using a Curve object as a forcefield (not as Guide) crashed Blender.
Needed an additional check in code.
2005-11-27 18:17:02 +00:00
Ton Roosendaal
cb82936a98 Bugfix #3477
Bug in VortexField caused in some situations the particles or strands to
disappear completely. Non initialized variable...
2005-11-27 17:27:32 +00:00
Stephen Swaney
82956daab9 spellcheck scripts in response to IRC whining.
vertexes => vertices
2005-11-27 16:46:58 +00:00
Brecht Van Lommel
0e0cafcada "UV Test Grid" option in Image Window > Image menu > New, to generate
a colored grid instead of a blank image, for quickly spotting distortion
in UV maps.
2005-11-27 16:21:25 +00:00
Chris Burt
dfd22eb943 As discussed in meeting, fixed another missing Python symbol from
python.def and upped Python version to 2.4. This means that Cygwin/GCC will
now be building Python 2.4 binaries. Thanks all!
2005-11-27 15:36:21 +00:00
Ton Roosendaal
a494a76e9e Finishing touch for hair strand shadows;
- raytracing code now uses cylinder-line intersect for strands. It used
  to intersect with the screen-aligned strand quads, giving too many
  misses for tracing.
  Note; mirror for hair is still not well supported!

- added in Materials a choice for whether a material is Traceable for
  raytracing or whether it is part of Shadow buffers. This way you can
  exclude hair strands from raytracing, but still get shadowbuffers for it.
2005-11-27 12:19:12 +00:00
Ken Hughes
f08200baa9 -- Change to make blender with game engine disabled build without errors
on 64-bit machines.

   This code only seems to be used by the game engine anyway; maybe it's
   only linux which always compiles it regardless of whether game engine is
   enabled?
2005-11-27 03:47:17 +00:00
Stephen Swaney
bc293ba7e1 patch #3475 for bug #2867 Object.makeParent with noninverse doesn't clear parentinv matrix
Contributed by Stephane SOPPERA (soppera).  Thanks!
2005-11-27 01:42:46 +00:00
Ken Hughes
83557b14fb -- correct typo in "Fields and Deflection" panel name 2005-11-27 00:09:35 +00:00
Ton Roosendaal
57aac76f45 Bugfix #3471
- Editmode Mesh: after a split command, normals were not recalculated

ALso: in Particle buttons, made the "Tex" button go to the maximum of 10
channels.
2005-11-26 18:38:54 +00:00
Ton Roosendaal
85b2cd52f9 Increased maximum limit for Ztransp render to allow 1000 faces in a single
pixel (was 200), this to prevent occasional errors with extreme haircuts!
2005-11-26 18:07:57 +00:00
Ton Roosendaal
34fe7292de Bugfix #3463
Very ancient bug in boxfilter for image texture popped up with new code
for correct bumpmapping. Caused texture type "Extend" not to work when
using for bump.
2005-11-26 17:56:39 +00:00
Martin Poirier
eb8012d1a1 UV_Export rounding error fixed by Macouno (from elysiun).
Also standardized some indenting and export to black lines instead of red.
2005-11-26 15:25:21 +00:00
Ton Roosendaal
5b04f23777 Buttonswindow: Fkey cycling bug, accessing OBACT without checking it OK.
Caused crash on pressing F6,F5 after deleting object (thanks DJC!)
2005-11-26 15:13:10 +00:00
Ton Roosendaal
800c12f4a1 Hairstrand render bug; using Orco could give errors... the orco pointers
for some hair vertices were not initialized OK.
2005-11-26 15:12:05 +00:00
Ton Roosendaal
296b2bf1d9 Added three more cases for allowing to create a new quad (Fkey), based on
inverting the checked triangle diagonal.
Noticed issues while modeling subsurfs yesterday, in that case you can
really be less strict.
2005-11-26 13:09:25 +00:00
Ton Roosendaal
63ca05b7b3 Four mirrored Weight Paint improvement/fixes:
- If the mirrored group doesn't exist yet, it creates that group now.
- Painting on any non-mirror group (not a name complying mirror rules), it
  will now paint mirrored on the group itself.
- The Mesh octree for mirror painting was not created on loading a file
  in WeightPaint mode, or on exiting Editmode for Mesh. This caused mirror
  painting to not work always.
- Tweaked the threshold calculation for vertices, so it gives fewer misses.
2005-11-26 12:23:33 +00:00
Stephen Swaney
51e70835cc patch #2869 MTex module additions
contributed by Yehoshua Sapir (sapir)

adds attributes to MTex module.  adds module constants.
Uses new style tp_getset.
2005-11-26 02:10:42 +00:00
Ton Roosendaal
8128835ada Small fix: after rendering particles, the "disp" amount was not correctly
put back to not 100% (if set).
2005-11-24 21:53:51 +00:00
Matt Ebb
9c66d202fe * Tweaked the logic of the Fkey button cycling to make it a bit smarter 2005-11-24 17:55:46 +00:00
Matt Ebb
db31007e32 * Removed the OK? popups from extruding curve CPs. 2005-11-24 17:54:49 +00:00
Ton Roosendaal
986745abcc Bugfix (tracker #3456, elysiun forum).
The new colorband code still had floating point issue... how much a
< or <= can differ eh!
2005-11-24 16:54:55 +00:00
Ton Roosendaal
9b8e7f55ed Using the "Lock" option in IpoWindow didn't update for Materials or Camera
Ipos.
2005-11-24 14:27:27 +00:00
Nils Thuerey
006e9547a9 - 'extern "C"' fix for MSVC as suggested by Stephane 2005-11-24 12:42:33 +00:00
Chris Want
fde3718843 While looking at the python Lattice code for a bug, I instead found
what must clearly be a typo ... an 's_z' where an 's_y' should be
-- python Lattice module owner please check!
2005-11-23 23:43:02 +00:00
Ton Roosendaal
899fe6ee9d Bugfix (own discovery!), using sequencer to render a scene updated the
depsgraph 2 times to often, also confusing particle drawing when disp %
is set.

And: little cleanup in render code (move includes in order)
2005-11-23 21:25:20 +00:00
Jens Ole Wund
b7808ebf3e MSVC6 projects
adding libtiff files to compile
2005-11-23 21:11:36 +00:00
Ton Roosendaal
bb0445c722 Bugfix #3437 #3438
- Mirror modifier showed particles on wrong half.
  Note: particles don't do modifiers yet (apart from using subsurf coords)
- Boolean modifier copy didn't copy the 'operation' type.
2005-11-23 19:19:44 +00:00
Ton Roosendaal
53d426c49a I hoped we could skip a floor() in the new zbuffer code, but no...
rounding negative values goes to zero, caused left pixel to not
render in images.
2005-11-23 17:38:05 +00:00
Ton Roosendaal
e506c9ea52 Forgot to remove code that draws the jitter samples in camera view! 2005-11-23 15:39:25 +00:00
Ton Roosendaal
b9e7bf05f0 Forgot to note in previous commit: also cleaned up warnings in code,
like using exported functions without adding it in the .h.
2005-11-23 15:22:51 +00:00
Ton Roosendaal
622f914776 New stuff & fixes in Blender OSA filtering.
While investigating alternative filters (Mitchell), I found two small
errors in the Gauss code, it clipped wrong and multiplied wrong, causing
settings other than filter size 1.0 to not work properly.

Took the last-minute liberty to add more filter types in Blender too.
Also wrote an extensive log about how sampling & filtering in Blender
works.

http://www.blender3d.org/cms/Samples_and_Filtering.723.0.html
2005-11-23 15:20:45 +00:00
Nils Thuerey
65a824879c - temporary fix for MSVC (accessing a var from the elbeem lib
caused trouble)
2005-11-23 15:18:45 +00:00
Johnny Matthews
936ed99cc6 Adding libtiff for win32 build 2005-11-23 14:53:51 +00:00
Jean-Luc Peurière
16ec668047 added bad level call stub for sluidsim 2005-11-23 14:42:17 +00:00
Chris Want
6443269c7d With the holy blessing of guitarGeek: Using smooth on a mesh with a
mirror modifier and the clipping option now preserves verts on the
plane(s) of symmetry (i.e., those verts are smoothed, then projected
back to the plane(s) of symmetry).
2005-11-23 14:37:48 +00:00
Toni Alatalo
590e1c1e4a uh should have read the patch better, i did test it and it works :) 2005-11-23 14:31:47 +00:00
Toni Alatalo
d40b4dbaf8 adding libtiff info to scons, applying http://vidar.gimp.org/tmp/scons-linux.diff 2005-11-23 14:28:40 +00:00
Matt Ebb
6d8a7d7819 * Attempting to fix scons for mac os x. It seems to be correct, if I've made a
mistake, someone can please help fix, just trying to get things to compile here
in the studio. You'll need to delete config.opts
2005-11-23 13:44:58 +00:00
Nils Thuerey
1b6482771e - solver now supports animated time steps, gravity
and viscosity, an example can be found here:
  http://www10.informatik.uni-erlangen.de/~sinithue/temp/fluid_timeanim.mpg
- for simulation time animation the time IPO of the object is currently used,
  for all three there should probably be new ipos in the fluidsim struct
- started the API in elbeem.cpp, to get rid of parser & export
  via HD (it's not yet used)
2005-11-23 12:51:07 +00:00
Nils Thuerey
5c56ca1180 - changed DerivedMesh integration, the fluidsim meshes now
replace the original one. so modifiers now work with them
  (apply modifier, or edit mode still work on original mesh).
  this should fix the three fluidsim bugs in the tracker.
- fixed stupid makesdna problem (writing "char string[160+80]" isnt
  a good idea :)
- changed GUI a bit, now displays an estimate of the required memory,
  there's still a problem with redrawing (currently relies on a call
  to the derived mesh generation)
- the fluidsim struct changed to store the bounding box,
  and the current loaded surface mesh
- temporary simulation files are now removed if env. var.
  BLENDER_DELETEELBEEMFILES is not set or zero
- fluidsimSettingsFree now gets properly called when freeing an object
2005-11-23 12:49:22 +00:00
Nils Thuerey
c35a8fe463 - added dynlibtiff.c and tiff.c for compilation 2005-11-23 08:50:57 +00:00
Jean-Luc Peurière
06a496254c nan definition for precompiled libtif 2005-11-23 01:13:50 +00:00
Kent Mein
576812004c updated the python script to create a good c file. Thanks intrr.
Kent
2005-11-22 20:45:36 +00:00
Alexander Ewering
52a13fb71b Made the envvar stuff work and slightly simplified it ;-) 2005-11-22 20:41:15 +00:00
Kent Mein
d234f611f5 got rid of snprintf.... Replaced with MEM_mallocN and friends...
Kent
2005-11-22 20:24:28 +00:00
Joseph Gilbert
9664b7924f - accidentally removed a macro for returning Py_None for python 2.3 2005-11-22 19:34:28 +00:00
Joseph Gilbert
fe29a3c64b A few more python 2.4 macros to covert to 2.3 compatible code. 2005-11-22 19:23:26 +00:00
Joseph Gilbert
d9a4559335 Little bit of testing code snuck in there. 2005-11-22 19:14:10 +00:00
Joseph Gilbert
3489fdcd06 Fix for a python boolean macro that shouldn't be there. 2005-11-22 19:12:46 +00:00