[Bf-committers] Surface and Volume modeling with new developed Bezier-Surface math

Brecht Van Lommel brechtvanlommel at pandora.be
Fri Oct 4 14:56:24 CEST 2013


On Thu, Oct 3, 2013 at 8:31 PM, Roland Adorni <rol at solnet.ch> wrote:
> You were correct. My example was too simple. Indeed I get sharp edges
> instead smooth ones for general objects.
>
> Here are my first results:
>
> http://abload.de/img/biezervolume1dys7h.jpg
>
> http://abload.de/img/beziervolume2d6b07.jpg
>
> I believe I know how to correct it however it means the still rather
> simple calculation becomes a lot more tricky.

The math indeed gets quite tricky with no single obvious best solution.

> p.s. given I have 2 vectors and store them  in python with:  a = (2,3,4)
> and  b=(4,5,6).  Does Python have vector operation for this "things"
> (addition, dot multiplication, scaling.. etc)? Didn't really want to use
> or create a class for just 3 coords. :/

There are vector types in the API:
http://www.blender.org/documentation/blender_python_api_2_68_5/mathutils.html


More information about the Bf-committers mailing list