Friday, May 05, 2006

Text Based 3D Modeling

I've been playing around with the Google free SketchUp program, and it's pretty nifty, although it takes some practice, and only really seems suited to architecture. Like all other 3D programs, it starts killing my wrists after a while, and I wonder if it might not be sensible to build some sort of text interface to a 3D modeling program. Sort of like POVRay (in which I built a really bitchin', animated version of a steam engine, long ago). But of course POVRay is not realtime. I want something like:

rectangle(10,10) upperJoist;
upperJoist.extend(z, 20);

which would create a block 10x10x20. As far as positioning and putting things together, I think you could take a cue from SketchUp and do intelligent things with endpoints, faces, etc. Hmmm... maybe I just want to download POVRay again.

Update: Such a thing kind of exists - Visual for Python lets you do almost what I say in the post above:

floor = box (pos=(0,0,0), length=4, height=0.5, width=4, color=color.blue)

ball = sphere (pos=(0,4,0), radius=1, color=color.red)

ball.velocity = vector(0,-1,0)


Neat!

2 comments:

thayddough said...

replica bags pakistan why not try here a3y41u0x21 replica bags paypal replica bags korea replica hermes j0r28x1c17 replica kipling bags replica bags online shopping india look at these guys j6f34m8q41 replica bags lv

shebi said...

w2w65k0o08 x8e79l9v45 h2n67q7z83 e9i64s2m67 r4e14n7n58 l7u56m3g71