Posts filed under ‘Uncategorized’

Blender Institute

I’ve been honored recently to be hired by the Blender Institute to work on the Durian project.  I’ll still be devoting some time to BMesh, as much as I can spare.  I’m not sure what to do about donations; they would still go to BMesh (I’m only here for three months, after that it’s back to relying on donations), but I recognize that others may want their donations to produce immediate work (I certainly try to treat donations as an obligation to code now, not later).  Because of this, I’ve decided that I will refund on request anyone who donates during the time I’m here at the Blender Institute, no questions asked.

This opportunity shouldn’t be seen as a threat to BMesh.  I think I’ve proven I’m dedicated to finishing this project, given that this is the third time I’ve  done it.  And to be honest, I don’t think my professional career would survive if I did not.  I strongly feel I entered into an implied contract the moment I went public with hemesh five years ago, and no matter how long it takes I will fulfill it.

April 11, 2010 at 1:46 pm 30 comments

Select Mirror and Other Updates

So, I’ve managed to put in some BMesh time.   Recently I ported a bunch of selection tools, select linked flat faces, select random, select sharp edges (as in edges with folded faces around them, not edgesplit-sharp edges).

I also ported select mirror to bmesh, and in the process I decided to try my hand at writing a topological-based function to find the best mirror candidate for a vert.  It works pretty well, except I’ve later learned that Campbell Barton beat me to it in svn trunk.   I’ll have to take a look at the code, see how it compares with my method.

A good mirror-finding function is important.  In a perfect world, the function would be entirely topological (e.g. no need to have your model in a t pose, perfectly split by the x axis), but I’m not sure if I’ll be able to do that anytime soon.  What I’ve done is coded it to detect the best match among possible candidate vertices in a sphere around the vert’s mirrored location, based on how similar the topology around the candidate is to the topology around the source vert.

I’ll have to put up some illustrations later.  I’ve not yet hooked this up to x-axis mirroring, weight paint, etc; I need to look at Campbell’s code, and decide if I should modify my version to use the same method.  Mine isn’t completely perfect, and I suspect his approach would work better in certain situations.  Most likely I’ll end up combining the two.  This isn’t something I’ll likely be spending a lot of time on in the near future, though, since there’s lots of porting work and debugging to do.

I’ve also been chugging away at aforesaid porting work, and merging in recent changes from the main development trunk.  I’ve decided to put off the dreaded loop to region tool (ctrl-e, for example, loop select a forearm and loop to region will select the hand) until later, since it seems few people use it and it’d be more effective to spend time on other parts of the code right now.

March 7, 2010 at 9:58 pm 20 comments

Join Triangles

The last three weeks have been insane for me, but I’ve managed to make some progress.  I recoded the join triangles tool, though I’ve not yet tested the more advanced uv/vcol features.  I also finished getting all the primitives to work.

The next big thing will be the loop to region tool, and after that it should mostly be easy monkey work porting small tools, merging recent changes from trunk, restructuring extrude to match the way it works in trunk, fixing bugs, etc.

Unfortunately I’m not going to hit my self-administered deadline of having something complete and stable by the end of this month, due to health problems and homework (and fixing bugs in the main 2.5 development trunk so I could use it for my homework) crowding out my time.  But I shall get there in the end, no amount of adverse circumstances shall defeat me.

February 19, 2010 at 1:02 pm 17 comments

The Final Death of EditMesh

When I originally got the updated BMesh API from Geoffry Bantle, we both knew it was going to be a lot of work to integrate it.  We had tried and failed a from-scratch rewrite (that started by removing much of the old tools code) in the first BMesh project, so when I started again I decided to keep unported mesh code working via a compatibility layer, until it came time to rewrite it.  This worked very well in the beginning of the project, as I could write tools and improve the BMesh API.  More then that, I was able to rewrite or refactor a large portion of the mesh code one piece at a time, and still have everything mostly working.

Unfortunately, as more and more tools and code got ported to BMesh, the compatibility layer got more and more unstable and buggy.  From a coding point of view, it made the code more confusing and muddled the underlying design.  I finally realized I was going to have to remove it entirely, and port the remaining tools to the new system.

I have now started this process.   I’ve removed the compatibility layer and all the old code it supported, and I’ve started porting it to BMesh.  Currently join triangles, a bunch of selection tools, and some of the primitives code (cone/grid/circle/tube) remain to be ported.  I hope to have all of this done within the next two weeks; the hardest will be join triangles and region to loop,  the rest is only one or two days of work.

BMesh should be much more stable after this, as no longer will things randomly break or tools unpredictably mess up your mesh.  After that, all I have to do is fix the remaining bugs and BMesh will be ready for a merge into trunk (yay!).

January 29, 2010 at 7:38 pm 32 comments

Sculpt/Multires

I’m in the process of porting over the new sculpt/multires tools to bmesh.  It’s not working quite yet, but I don’t expect it to take too long, brecht did a good job making the new code easily extensible to ngons.

I’m excited, because sculpt/multires was the biggest thing blocking inclusion of bmesh in trunk.

January 5, 2010 at 12:46 pm 25 comments

Donation credits

Someone recently reminded me about this in email.  Originally I planned to give donators credit on this site.  My plan was to launch this along with a system of incentives, whereby some random subset of donators would receive free bmesh t-shirts.   I wanted to do this all at once, but I ran into problems with the tshirt manufacturer I chose that I’ve not yet resolved.

In hindsight, I suppose I got too obsessed with the gimmicky aspect of my plan and forgot about the important part.  This is something I intend to rectify.  Look for an official donators credit list in the next day or two.

December 8, 2009 at 1:19 pm 11 comments

Development Update

I’ve decided not to stop working on bmesh.  I’ve done some more work on it; fixed a few bugs, merged recent changes from trunk into the branch, and I’m tackling edge slide (which is turning out to be quite hard to do correctly, but should work great when I’m done).

I’m planning to have bmesh in trunk by march of next year (or the third 2.5 release, whichever comes first).  This is a more then generous timeline, imho, and is achievable for me.  I’ve also had several new developers show interest in the project, and of course Wael has been very helpful.

I’m committed to finishing this project; I love modeling, and I can’t stand the old toolset (after using decent modeling tools in an ngon modeler, it’s hard to go back).  I don’t want to see this part of blender stuck in the 90s anymore.

December 7, 2009 at 2:04 pm 22 comments

Status Update

I may have to take a hiatus from BMesh for a while.  The donations haven’t really been enough lately, and unfortunately I can’t make enough money working on both BMesh and a real job, since at the moment I can only spend a very small part of my time doing either.  I was supposed to start a medication today that may have allowed me to be more productive, but there was a glitch and it looks like I’m going to have to wait a bit longer.

I certainly will continue working on BMesh if people donate more, but I don’t want to get a reputation for constantly asking for money or the world will end.  Either way, once I start this medication there’s a good chance I’ll be much more productive and will be able to spend time on it again.  The truth is that I need at least $1000 USD a month to maintain my current level of commitment to BMesh, and if that isn’t possible I’m going to have to work exclusively on other projects to make more money, at least until I start that medication.

 

November 12, 2009 at 11:57 pm 35 comments

BMesh in Third 2.5 Release

BMesh is now scheduled to be included in 2.5 Beta 2, the third 2.5 release.  This is an exciting time for this project; I’m very happy with it’s success, which is largely due to donations and the time they’ve allowed me to devote to working on BMesh.

On the topic of donations, I’ve put up another progress bar which represents the current level of donations (which is rather low at the moment).

November 11, 2009 at 8:48 pm 3 comments

Donations

Don’t forget to donate!  Even small donations help.  This project is funded by the community, which allows me to devote much more time to it then I would otherwise.

November 8, 2009 at 5:32 pm 1 comment

Older Posts Newer Posts


Recent Posts

Categories

Feeds


Follow

Get every new post delivered to your Inbox.

Join 386 other followers