[Bf-committers] Help in starting

Michel Selten bf-committers@blender.org
19 Apr 2003 16:16:15 +0200

On Fri, 2003-04-18 at 05:07, car wrote:
> As I look through the mess of source I keep coming across
> a bunch of little files with a little code. Now I have no real clue
> what each files does. It looks like little work.

> And I favor the idea of spaghetti codeing{fast} fast is my fave thing.

Erm, am I correct that you favor spaghetti programming? Hmm, I guess
you're one of the few then ;)

> So I am asking where would I start so I may learn to code in this thing?
> And only this thing. The interactivity of 3d seems nice.

Well, if you look in source/blender, you'll find the functions of
blender grouped in a functional way. For example, you'll find a
directory containing sourcefiles for reading and writing blender files.
In src you'll find the bulk of blender's user interface stuff. Perhaps
you should start looking there.
A grep usually works for me after I stop thinking logically ;)

> I guess that more documentation would help.

Yep, that's #1 on our todo list. Unfortunately, we all work on issue #2
and lower :)  (Don't ask me where the priority list is please, hehe).

> My mostly focus will be getting a UV painting engine going.

Erm, you certainly are starting with a challenge here. I have not looked
into the sources enough to give you a hint on where to start here. You
probably need to work in multiple directories for this one.
I'd suggest you start on something that is rather small to get a grasp
on the sources instead - but feel free to work on anything you like :)

With regards,