Commit Graph

24503 Commits

Author SHA1 Message Date
Joseph Eagar
4d7de0796b =bmesh=
Knife tool now works on multires data, it's also
a tad bit faster now.
2011-04-13 00:35:48 +00:00
Joseph Eagar
0ce2c5a385 forgot to remove the old function 2011-04-11 01:40:12 +00:00
Joseph Eagar
53a85a8edf =bmesh=
Made the new "superknife" tool much stabler
then it was, though a few minor quirks remain.
Rather then the shortest-distance-in-graph method
I was using to rebuild the mesh post-knife I
reworked it to build a triangulation instead,
then merge the triangles into the right correct
faces.
2011-04-11 01:38:20 +00:00
Joseph Eagar
60d81b09c6 =bmesh=
Implemented the solidify modifier (but
not the editmode tool, yet).
2011-04-03 00:25:01 +00:00
Joseph Eagar
90fa130a69 =bmesh= various bugfixes 2011-03-31 00:52:12 +00:00
Joseph Eagar
7d465aa82d fixed indexing bug in mirror modifier 2011-03-31 00:06:19 +00:00
Joseph Eagar
6e6b4b5f77 =bmesh=
Multires interpolation now works on cases like 
simple cubes. (though it isn't perfect
when bevelling sharp corners).

Normal flipping is handled correctly, and
multires interpolation now works on 
normal-inconsistent meshes (so long as 
they are manifold, at least).
2011-03-30 22:46:56 +00:00
Joseph Eagar
992e78cd40 tweaked numerical limits on multires interpolation a bit 2011-03-30 01:40:14 +00:00
Joseph Eagar
f4a2008441 =bmesh=
Multires interpolation is now nearly perfect, but has some
issues on faces whose angle to each other isn't relatively
shallow (probably need to use some sort of fast spatial structure 
to more accurately project multires points). 

It also doesn't work super well with bevel (mostly due to a
flipped normals bug in bevel I need to get around to fixing).
And, for some reason extrude tends to explode the multires
geometry (it should just be copying it).

Since edge cut doesn't do anything yet with face interpolation, 
cuts that arn't exactly centered will move the underlying multires 
geometry around a bit..
2011-03-30 01:36:42 +00:00
Joseph Eagar
436dc57440 bug fix with act fact crasher 2011-03-29 05:50:48 +00:00
Joseph Eagar
7d43a48993 =bmesh=
Multires interpolation is considerably better
now, though it still has a problem with occasionally
producing little random tangent spikes.  Still, it's
far better then it was.

Also fixed a bug in dissolve faces.
2011-03-29 05:48:18 +00:00
Joseph Eagar
3875461a33 =bmesh=
Improved edge subdivide.  The last tool panel
is a bit clearer, with a "quad/tri" checkbox
(that, in addition to turning on the old 
 singe-edge-triangluation feature also 
 automatically switches cornervert to Inner Vert
 if it is Straight, to avoid producing ngons).
 
I also rewrote fractal to be more likes its name, and
 removed the "smoothness" parameter (which never
 worked, anyway, even in trunk).  Also removed the
 grid fill paramter, it wasn't all that useful.
2011-03-28 00:29:45 +00:00
Joseph Eagar
fc050837b0 =bmesh= fixed edge creasing for subsurf 2011-03-27 03:29:27 +00:00
Joseph Eagar
7fa0c61730 =bmesh= bevel now interpolates vertex data. still need to make sure edge data, like creases, get copied over in all cases, though. 2011-03-27 03:06:21 +00:00
Joseph Eagar
93fa307712 =bmesh=
Multires interpolation.  It's quite usable yet; I wanted to avoid
subsurfing the multires data and ray tracing original/new
topology.  The result is kindof like trunk's interpolation.

I'll see how much better I can get it.  I might have to go with 
the full-on ray tracing solution.  Right now, it's not very good.

Also made it so trunk files with multires open correctly.
2011-03-27 02:56:41 +00:00
Joseph Eagar
9a997093d7 scon fixes 2011-03-26 00:28:10 +00:00
Joseph Eagar
d88bb9115f =bmesh=
Coded a new modifier, "Precision UV Interpolation", 
that triangulates, subdivides, then uses brecht's mean
value interpolation to interpolate face data.

Textures on ngon faces get interpolated a bit nicer, in 
other words (though concave cases, e.g. 'N', don't work very well).
2011-03-25 00:32:38 +00:00
Campbell Barton
8fb3ab5ab2 clear more warnings. 2011-03-20 16:30:39 +00:00
Nathan Letwory
662280af07 Missing include for mesh editor tools 2011-03-20 15:39:08 +00:00
Nathan Letwory
7ea81bdafc Some changes to get bmesh compiling with scons. 2011-03-20 15:37:27 +00:00
Joseph Eagar
0683d881ae =bmesh= fixed problem with normals and a warning 2011-03-20 14:59:16 +00:00
Campbell Barton
4c45d3b706 fix for copying normals in, mesh_to_bmesh_exec() 2011-03-20 14:53:47 +00:00
Campbell Barton
60aa74f9ee bmesh, less warnings 2011-03-20 14:49:16 +00:00
Campbell Barton
cb6221ccec fix bug in calculating polygon normal, was passing double arrays to copy_v3v3() 2011-03-20 14:01:10 +00:00
Campbell Barton
f1e8165bf5 minor warning cleanup & use BLI_math functions a little differently. 2011-03-20 13:54:03 +00:00
Joseph Eagar
7ccc17b98c =bmesh= fixed bunches of modifier stack bugs 2011-03-19 21:33:33 +00:00
Joseph Eagar
18494f8d33 scons fix 2011-03-17 23:39:26 +00:00
Joseph Eagar
3cb70bd2c5 scons fix 2011-03-17 23:35:51 +00:00
Joseph Eagar
bbbbea6024 scons fix 2011-03-17 23:30:29 +00:00
Joseph Eagar
80e52ce929 committed before removing debug limits, I had it so you could bevel in a negative percentage 2011-03-17 23:06:12 +00:00
Joseph Eagar
1216fe7f21 =bmesh=
Bevel! Implemented bevel (from scratch).  Man is
this tool way cooler then I thought it was.  Note that
uv/vcol interpolation is working (loop level data) but 
vert/edge data (like vgroups) likely still needs
work.
2011-03-17 22:59:54 +00:00
Joseph Eagar
a147a91899 =bmesh=
Fixed view selected code.  Made MDisps->disps use the
special allocation library I wrote as a
temporary fix to MDeformGroup->dw problems.

Why was the vgroup solution reused?  It's really slow,
and its hard to tie in something like mempool or memarena.
The hackish allocator I wrote really needs to go, eventually,
or be folded into guardedalloc.

Also fixed a customdata bug with modifiers.
2011-03-03 07:10:42 +00:00
Joseph Eagar
065a7f4e2f =bmesh=
Mirror modifier no longer uses bmesh, but is now
100% CDDM.  This is faster; the sluggishness was
driving me crazy.  Still need to deal with UVs,
but that shouldn't be hard.
2011-02-27 07:49:36 +00:00
Joseph Eagar
f01261d040 merge with/from trunk at r35190 2011-02-27 06:19:40 +00:00
Joseph Eagar
dcaeda5c4e pre-merge commit 2011-02-25 23:31:31 +00:00
Sergey Sharybin
ce81cce75d Fix #26158: The layer hight of the layer tool cannot longer be controled by the strength of the brush, as it was in 2.49
Layer height used to be controlled with brush radius, quite confusing decision.
Added new property for brushes - height for adjusting affectable brush height
(it could be not only layer height in the future).
2011-02-25 16:54:09 +00:00
Ton Roosendaal
d6f69a2c19 Bugfix #26174
Shift+A "add primitive" menu didn't allow to set shortcuts on the
sublevels.
2011-02-25 16:32:03 +00:00
Ton Roosendaal
24685d3967 Bug fix, irc report.
Menu Help -> Operator Cheat Sheet crashed, calling function with NULL context.
2011-02-25 16:05:26 +00:00
Campbell Barton
965c46b1d3 follow up on patch [#26215], not all weakref references were ifdef'd 2011-02-25 15:07:25 +00:00
Campbell Barton
e06eea4fba fix for scons with recent change to how BINRELOC is enabled via cmake.
also add WITH_PYTHON define to qtcreator project generator until we get a way to add them properly.
2011-02-25 14:45:45 +00:00
Campbell Barton
2cf20fde1b patch [#26215] Python weak reference (weakref) support for game objects
by Alex Fraser (z0r)
2011-02-25 14:32:35 +00:00
Nathan Letwory
60b22c5d12 doxygen: blender/windowmanager tagged. 2011-02-25 14:04:21 +00:00
Nathan Letwory
caa7bea1c5 doxygendoxygen: blender/modifiers tagged. 2011-02-25 13:57:17 +00:00
Nathan Letwory
1bb465141d doxygen: tag blenderplayer stubs. 2011-02-25 13:46:54 +00:00
Nathan Letwory
6f6fac63ff doxygen: gameengine/VideoTexture tagged. 2011-02-25 13:39:34 +00:00
Nathan Letwory
b188223ee4 doxygen: gameengine/SceneGraph tagged. 2011-02-25 13:39:04 +00:00
Nathan Letwory
2d3209c4b3 doxygen: gameengine/Rasterizer tagged. 2011-02-25 13:38:24 +00:00
Nathan Letwory
8476f26bc6 doxygen: gameengine/Physics tagged. 2011-02-25 13:37:23 +00:00
Nathan Letwory
dd26551ab7 doxygen: gameengine/Network tagged. 2011-02-25 13:36:49 +00:00
Nathan Letwory
bb6e7faf72 doxygen: gameengine/Ketsji tagged. 2011-02-25 13:35:59 +00:00