32daf2cdc4Fix lighting in game engine
Kester Maddock
2005-04-23 11:54:21 +00:00
2ac1ef13e2Added bone parent relationship.
Kester Maddock
2005-04-23 11:36:44 +00:00
c333ba8dfaMerging over some uv editor tweaks from tuhopuu:
Brecht Van Lommel
2005-04-23 01:36:08 +00:00
375cf60462Commented out DOF code that did not have a home yet because it broke compile. Normally it would probably be best just to wait till Ton committed but its still pretty early and I didn't want people complaining all night. Hope its no problem!
Chris Burt
2005-04-22 21:58:37 +00:00
075ed5fd53The do_versions() for new shaders always initialized the values...
Ton Roosendaal
2005-04-22 21:31:52 +00:00
6a00fcd90cAdd "View Selected" (numpad .-key) for faceselect mode and the uv editor. Also includes some 2d vector operations (subtract, dot, normalise).
Brecht Van Lommel
2005-04-22 20:16:02 +00:00
43835d4d04Matched the default value for rkerror limit in bpy
Johnny Matthews
2005-04-22 18:05:56 +00:00
55f4ead5a2gave softbody runge kutta error limit a nice default value
Jens Ole Wund
2005-04-22 17:58:39 +00:00
621d218056removed extra qualifier `SumoPHYCallbackBridge::' that was choking gcc in c89 mode. More potential breakage.
Stephen Swaney
2005-04-22 16:17:27 +00:00
63388ad246Fix previous fix by moving some code around to try to please everyone. or at least their compilers. let me know what breaks.
Stephen Swaney
2005-04-22 16:10:46 +00:00
9fb241c930fix compiler error with gcc 4.0. mismatched declarations.
Stephen Swaney
2005-04-22 02:27:16 +00:00
b89bddbf6fdoc updates. NMesn.transform( matrix, recalc_normals ) had description for recalc_normals backward.
Stephen Swaney
2005-04-22 02:17:20 +00:00
c1a7b8b7a1Local axis constraints for pose mode. Added Camera rotation fix (was off centered because it used persinv instead of viewinv. Now rotation center is always center screen in camera mode. (Still need to fix the helpline not showing) Numinput constraint function was no good, didn't check if a constraint was even on... Fixed. Rotation was missing constraint text in header print. Fixed.
Martin Poirier
2005-04-22 01:14:15 +00:00
589ce4a005BPython: - based on a request by Campbell (he also provided a patch for scene.Layer) access to layers was improved a little, keeping the old method (ob.Layers is a bitmask) and adding the nicer one (ob.layers is a list of ints). Done for objects and scenes. House-cleaning: .Layer was renamed to .Layers (actually just using strncmp instead of strcmp, so both work, same done for Window.ViewLayers). - finally committing patch by Ken Hughes to let .clearScriptLinks() accept a parameter (list of strings) to clear only specified texts. - doc updates and fixes (JMS reported a problem in nmesh.transform() example code).
Willian Padovani Germano
2005-04-21 19:44:52 +00:00
c5214c1571rescaled stregth of wind and forcefield effects by some magnitudes wind 250 field 1000 yeah WARNING to all testers: tighten belts scale down wind and forcefield settings (IPOs)
Jens Ole Wund
2005-04-21 18:58:15 +00:00
bccd65de8agive some nice defaults for new SB deflectors
Jens Ole Wund
2005-04-20 19:35:27 +00:00
be3eec3014Softbody: added "time" button, to control speed for wriggling. Low values make it slower, higher values faster.
Ton Roosendaal
2005-04-20 16:55:04 +00:00
3dbae624d3* Brought over a 'mode' parameter to drawcircball to prevent further loss of Hos' hair during tuhopuu merges.
Matt Ebb
2005-04-20 08:26:22 +00:00
4126e4e345providing a minimalistic UI for SB vertex to face collision detection in the particle interaction panel "D"= "Amount of damping during softbody collision/intrusion" "I"= "Inner face thickness" good value for unit cube == 0.2 "O"= "Outer face thickness" good value for unit cube == 0.02 still we can easily hide that before releasing
Jens Ole Wund
2005-04-19 22:06:12 +00:00
1d47d662f9removed my SB hack from particle collision code (which still can't really handle moving targets) leaving 2 bug fixes 1. multiple objects need a reset on cache variable 2. quads always need to be handled as 2 triangles (since they don't need to share a plane)
Jens Ole Wund
2005-04-18 21:51:45 +00:00
99ee891596Fixed several annoyances with halo render + unified render (bug 1989+2382)
Ton Roosendaal
2005-04-18 19:36:34 +00:00
5d31c72020Uncommented a line in the FREE_WINDOWS section that appears to control the detection of changes to dependencies. This should resolve issues with Cygwin builds using makefiles which have bizarre behavior if 'make clean' was not used before compile.
Chris Burt
2005-04-18 19:28:38 +00:00
d556ae3874On adding monkey primitive, the face centers were not calculated OK.
Ton Roosendaal
2005-04-18 16:06:37 +00:00
44c7cbc083Bug fix#2458
Ton Roosendaal
2005-04-18 15:55:52 +00:00
35f4c77d96Little cleanup of eerie unified code for halos. Still got no clue what was original idea of this implementation... At least it's protected from crashing a bit more.
Ton Roosendaal
2005-04-18 15:30:49 +00:00
0b0f82bbb2Fix crash with Unified Renderer on LMB in renderwindow. Ton needs to provide Z-Buffer for Unified still :)
Alexander Ewering
2005-04-18 15:08:31 +00:00
8a1206f56dAdd a "Z:" display when pressing LMB in the renderwindow, which displays the normalized Z-Buffer value of the corresponding pixel.
Alexander Ewering
2005-04-18 13:56:19 +00:00
6c4ae1eb54Patch: [ #2439 ] Makes objects react properly to deformations after a mesh replacement call.
Kester Maddock
2005-04-18 11:44:21 +00:00
d34acbfe44Replaced a bunch of malloc() calls with proper MEM_mallocN() (and free() and calloc() of course)
Ton Roosendaal
2005-04-17 18:00:33 +00:00
425f295604Patch submitted by Jorge Bernal (lordloki) and Jonathan Merritt.
Ton Roosendaal
2005-04-17 17:43:07 +00:00
8a02dc11dePatch provided by Andrea Weikert (elubie):
Ton Roosendaal
2005-04-17 15:50:52 +00:00
f919cf75f1More Curve Module features: access to the attributes flagU and flagV in a CurNurb object. Contributed by Gergely Erdelyi (dyce).
Stephen Swaney
2005-04-17 14:37:40 +00:00
127abda43dNew methods for Curve module: getBevOb() and setBevOb() Adds ability to set, clear and get bevel object for a Curve. Contributed by Gergely Erdelyi (dyce). Thanks!
Stephen Swaney
2005-04-17 13:48:16 +00:00
fa5d910f93Updating build systems: folder release/bpydata/ moved to release/scripts/bpydata/
Willian Padovani Germano
2005-04-16 18:25:42 +00:00
dfe3ad0d7bcopy_softbody() didn't check if object actually was softbody!
Alexander Ewering
2005-04-16 16:56:06 +00:00
5ff281eaecLi'll feat request;
Ton Roosendaal
2005-04-16 15:51:44 +00:00
56591ade33The setup functions for SB and PI now initialize the vars to the defaults that are set in the UI when one of the panels are accessed. Current this happens whenever an SB or PI api function is called for the first time.
Johnny Matthews
2005-04-16 15:33:38 +00:00
07ef51cdb1More SoftBody stuff:
Ton Roosendaal
2005-04-16 15:06:02 +00:00
7943f7990eSoftbody:
Ton Roosendaal
2005-04-16 14:01:49 +00:00
097726eb50For the manipulator freaks; rotate widget with 'arcs' now displays the transparant grey (ghosted) rotation where mouse click started.
Ton Roosendaal
2005-04-16 12:35:42 +00:00
e7469acd16Scripts: missed removing this one (was updated by jms and renamed to unweld.py simply)
Willian Padovani Germano
2005-04-16 05:42:52 +00:00
d65fc84a68Note: this commit includes new functionality to save and restore scripts configure options. This is ongoing work, scripts still have to be updated to use this feature and more tests are needed, though many have been performed. The new Scripts Config Editor script is the main part of this. If anyone wants to check it, only the AC3D importer and exporter have already been updated to use it: simply open them (you can then cancel with ESC) to have the data created, then try the config editor.
Willian Padovani Germano
2005-04-16 05:25:42 +00:00
8b664b924bIn localview the Manipulator didnt center at correct 3d cursor location.
Ton Roosendaal
2005-04-15 21:39:36 +00:00
0f279e61edExtrude normal correction part #4!
Ton Roosendaal
2005-04-15 21:33:41 +00:00
f6977da8e2Another attempt to make extrude deliver correct normals. Rule is flipped when it doesn't extrude a 'volume', in that case normals point outside based on extruding in direction of original normals.
Ton Roosendaal
2005-04-15 20:29:08 +00:00
ca9e54b6aaFixes timecode to run frames 0 to (fps-1) rather than 1 to fps
Johnny Matthews
2005-04-15 13:38:27 +00:00
baa0b8ce25Similar to last commit, This initializes the pd pointer if it is null for Particle interaction. for all the PI functions
Johnny Matthews
2005-04-14 20:41:02 +00:00
95994e937fThis commit initializes the softbody pointer if it is accessed through python and has not yet been set up.
Johnny Matthews
2005-04-14 20:11:10 +00:00
4108a47720Adds getTimeCode() to Rendering Context so that you can get current frame in HH:MM:SS:FF string format
Johnny Matthews
2005-04-14 18:27:11 +00:00
442f0d1411Adds API for Particle Interaction Settings and Softbody Settings Also adds docs for above API.
Johnny Matthews
2005-04-14 17:56:37 +00:00
71f619cd23- make sure object outline doesn't get drawn in faceselect mode
Daniel Dunbar
2005-04-14 13:46:49 +00:00
11ef47407d- bug fix, tface flags weren't checked correctly for INVISIBLE - bug fix, tfaces weren't accessed correctly in presence of hidden/invis.
Daniel Dunbar
2005-04-14 13:46:05 +00:00
4741ad101aHaving come to understand the nature of bug #1576 a little better, I can now say that I declared it fixed erroneously before, and I hope that when I call it fixed now it can really, truly be laid to rest.
Chris Want
2005-04-14 03:11:41 +00:00
f2678b8dachum .. turned off quad optimization, which is a bug IMHO, since breaking a quad it 2 faces always needs a test on both faces
Jens Ole Wund
2005-04-13 20:32:28 +00:00
4714432110Little cleanup in code to detect correct normal directions on extrude. It also now inverts normals of copied faces for extrude, provided the originals remain there.
Ton Roosendaal
2005-04-13 19:34:29 +00:00
f5cb2db604Ack! Found out the bugfix commit #2411 was accidentally still calling to do all actions (in all objects) instead of only the ones parented to particle system.
Ton Roosendaal
2005-04-13 19:26:38 +00:00
c3221bac83Two small corrections for subsurf + wire render;
Ton Roosendaal
2005-04-13 14:03:10 +00:00
84359bf996im going to dig a hole to hide in beginners standard typo did break particles
Jens Ole Wund
2005-04-13 12:18:58 +00:00
48c5b10ea1- quick fix for bug #2412, render normal was not initialized for mesh edges. fix by average two edge endpoint vertex normals.
Daniel Dunbar
2005-04-13 12:06:59 +00:00
9b354599e0- fix for bug #2385, mesh outline wasn't drawing in potatoe mode
Daniel Dunbar
2005-04-13 11:46:46 +00:00
22ccdea4d3Rather give a pointer to a local copy of vital data to pdDoDeflection() in sb_deflect_particle() than a pointer to data.
Jens Ole Wund
2005-04-13 07:51:06 +00:00
c7b82c40c2Did put softbody time scaling stuff to functions, so we can decide later what proper timing is meant to be. i've prepared something in static float sb_time_scale(Object *ob) [softbody.c] (ton :) )
Jens Ole Wund
2005-04-12 21:36:21 +00:00
14fe1cb215Bug fix#2438
Ton Roosendaal
2005-04-12 11:53:46 +00:00
5f237e67ccBug fix#2323
Ton Roosendaal
2005-04-12 11:45:06 +00:00
1bde293997Bug fix#2394
Ton Roosendaal
2005-04-12 10:08:04 +00:00
8be210bd7eQuick fix for bug #2393 (same as #2218), deformed meshes were not transformed correctly anymore because of changes in other blender code.
Alfredo de Greef
2005-04-11 23:23:25 +00:00
2123721b5bTransform constraints with Ykey were mixed up, setting text to global instead of local and vice versa.
Martin Poirier
2005-04-11 22:29:20 +00:00
a3e5727f75Small transform fixes.
Martin Poirier
2005-04-11 21:19:38 +00:00
78939c0cc0- It is possible to scale radius of MetaElem again. - It is possible to change dx, dy and dz params in 3Dview with manipulators or with some shortcuts (S-X, S-Y, S-Z). - User can scale stiffness when green circle is selected. - MetaElem is selected with RMB click at green or red circle, then user can grab or rotate with MetaElem as usual.
Jiri Hnidek
2005-04-11 19:31:05 +00:00
52b7b978e3Bug fix#2411
Ton Roosendaal
2005-04-11 17:55:20 +00:00
bb9548fd16Silly pointer set on wrong place in code, caused Bones transform in PoseMode not to work on branched armatures with multiple selected.
Ton Roosendaal
2005-04-11 15:14:07 +00:00
8eaef2525fBug fix#2413
Ton Roosendaal
2005-04-11 14:01:34 +00:00
618ac4a4e9Bug fix#2415
Ton Roosendaal
2005-04-11 13:49:05 +00:00
cfc9a56f0dBug fix#2428
Ton Roosendaal
2005-04-11 10:45:20 +00:00
f08c0f388aBug fix#2431
Ton Roosendaal
2005-04-11 10:20:17 +00:00
4f55dd8c91Bug fix#2424
Ton Roosendaal
2005-04-11 08:49:42 +00:00
218ee423d9Resize didn't work with bezier handles correctly. That is because bezier has preleminary work for Individual Center in edit mode. While I was there, I cleaned up individual center a bit, it was messing with helpline.
Martin Poirier
2005-04-10 20:09:31 +00:00
4ea8947ea7Merged all the internal transform includes into transform.h and moves it to /src to /include. Split the conversion fonctions and sorting functions from transform.c into transform_conversions.c Update MSVC 6.0 projectiles and SConscript accordingly. Editview still included transform.h, replaced that for BIF_transform.h, the external include.
Martin Poirier
2005-04-10 18:33:19 +00:00
6fa9f9b7f5- don't apply creasing to edges with no adjacent faces... things go wacky.
Daniel Dunbar
2005-04-10 15:04:52 +00:00
6fabf998e8- bug fix#2433, mesh not drawn correctly when only edges (and Mesh.medge).
Daniel Dunbar
2005-04-10 14:31:04 +00:00
e8a6bf6fb9Bugfix for disappearing hilight bug and code re-org for text editor from Ricki Myers (themyers).
Stephen Swaney
2005-04-10 14:01:41 +00:00
28064baa5cUncommitted my last commit.
Rob Haarsma
2005-04-10 08:46:47 +00:00
b1675a345a- made shadedisplist not free all object displist data... this messed with data caches which messed with assumptions made by drawing code (and was just silly not to mention). here be dragons...
Daniel Dunbar
2005-04-10 00:00:34 +00:00
ae91ba8ba6Fix for bug #1576.
Chris Want
2005-04-09 23:38:35 +00:00
6275dd5b14Clean up for Makefiles: some of the directories were being printed wrong (e.g., "/Fuzzics" and "/Joystick", and some of the solid stuff). This was particularly noticable during "make clean".
Chris Want
2005-04-09 22:40:34 +00:00
9b81d8f84cAdded console printout when rendering in parts, to keep track of progress. Requested by Relic.
Rob Haarsma
2005-04-09 09:18:32 +00:00
dac6c90742Toggle between Connected and Normal PET.
Martin Poirier
2005-04-07 18:28:41 +00:00
17db0f5cd5- fix for crash in separate_mesh... thats some pretty nasty code
Daniel Dunbar
2005-04-06 17:21:49 +00:00
982cd94269Fixed uninitialized causing almost infinite loop. Wind is media friction now, to have consitent relaxing when the squall is gone, fixed direrction.
Jens Ole Wund
2005-04-06 10:29:04 +00:00
331c25dda4fixed small glitch multiplying nodemass twice (thanks ton) claened up sbObjectStep(...) to follow 'time step rules' added really care for framerate in scene renamed arguments in softbody_calc_forces(...); and softbody_apply_forces(...); for better reading fixed particle integration to be ODE solver compatible
Jens Ole Wund
2005-04-05 20:28:32 +00:00
7bb97ac815Added OPENGL includes to this one as well.
Kent Mein
2005-04-05 15:06:41 +00:00
96430458a6Support for SGI Prism:
Chris Want
2005-04-05 14:33:43 +00:00
0e39803917Modified the warnings used (was using c++ warnings for c files)
Kent Mein
2005-04-05 14:32:35 +00:00
6bfa7c8157Crease transformation
Martin Poirier
2005-04-04 23:37:15 +00:00
55f386c1b5MSVC 6.0 projectfiles
Martin Poirier
2005-04-04 23:30:14 +00:00
7a377bcb05- Made SoftBody work with Particle Force Fields.
Ton Roosendaal
2005-04-04 18:09:47 +00:00
04e4b72e06Moved the start of an ifdef so it includes vars specific to the ifdef to get rid of warnings about unused vars (on non __APPLE__ system)
Kent Mein
2005-04-04 15:57:50 +00:00