Saturday, 2 April 2011

Camera Matching in Blender 2.5

for those interested in the subject.

I first saw this done on one of those Sketchup tutorials from back in the day, 2006/7 or something, and didn't really get what the fuss was about. Now in 2011 after having done some photo/ camera matching manually in Blender I see why the Sketchup approach is pretty awesome. I'm coding this as much for the experience as i am for the end result.

Currently the state of my addon is moments before adding some preliminary resection algorithms, based on a very much simplified version of this image:


At the moment my script allows for the user to align the X/Y guides with the perspective in a photo, the script then generates lines towards the vanishing points and draws the resulting horizon. The next step is to implement this 4 part equation to arrive at the camera position. Seems trivial, but i don't know until i sit down to write the code.

The code so far is available, with some comments on the BlenderArtists forum thread :
Blender-2.5-Camera-Matching-Script

It seems to generate some interest, so if i fail, somebody is bound to be able to provide some insight. After all, some of the boring GUI work has been done already.

Wednesday, 30 March 2011

A few things that bug me about blender.

i need to keep track of these, eventually i'll code something for them.

# SNAP TOOLS
- can't change snap type while for example a vertex is being dragged around.
- can't snap to empties, as a snap option.
- while editing a curve you can't select segments (as you would edges)
- can't snap to spline knots/handles/points, would be handy for aligning curves

# MISC UI
- [DONE] can't add empty to the scene while in edit mode. (empty could easily be added outside the current object, at least it could appear that way)
- can't permanently hide palette menus, without modifying the ui scripts each time.
- can't move colourpicker popup out of the way, once it gets in the way.
- newly created primitives instantly lose their parametric access once they are grabbed with G or scaled with S. (this can be a pit of a pain, if none of the operations on that primitive changed the relative shape)
- newly created directories in the filebrowser should retain focus/highlight so a keyboard Enter can go into them and subsequent qwerty strokes can create a filename.

# OUTLINER / GROUPS
- right-click inside groups should allow creation of new group
- should be able to drag objects from group to group within and between (multiple) Outliner Views
- should have an 'ungrouped' outliner option.
- would be cool to have an ability to lock specific items from being unhidden/selectable/renderable.

Friday, 25 March 2011

bio 1

bio 1.

My first intro to 3d was probably some faux 3d game like stunt-driver4d which allowed the player to combine elements of track to form new courses. And the original Wolfenstein, which sucked me in quite deep (aardvark anyone?). Then there was the original doom and the ability to make custom maps, which really took on with Quake 2 and 3(for me). At that time i was learning GCode for CNC and Architectural AutoCAD and i think the combination of serious realworld 3d and game 3d made something pop in my brain.

Saturday, 26 February 2011

Antonio Sant'Elia la Citta Nouva

another attempt at geometry from photo-reference, this time the reference is a rather quick sketch with conflicting perspective (especially noticeable in the bridge area)


original can be found here : http://chimera.roma1.infn.it/GIORGIO/futurismo/elia.jpg (not sure if this is the correct horizontal orientation, because the largest scan i found to reference online was flipped)

Friday, 25 February 2011

2011 reproduction of "la citta nuova"





these are tentative re-projection tests (7 hours on this one), to feed my fascination with the futurist architecture of Antonio Sant'Elia (1888 - 1916) yep, pretty young.

Saturday, 19 February 2011


last update. time to do other stuff.

Tuesday, 15 February 2011


36h work 110K verts.

working from the blueprints of halflife II concept art found here

never version :