I haven't fully integrated pyODE into my demo yet, but I've made a start. In the process, I realized I was going to need the TriMesh geom in order to handle collisions with a landscape. Unfortunately, pyODE doesn't wrap TriMesh yet. Fortunately, Pyrex is so python-like and simple that I learned it in a couple hours and hacked something that looks like TriMesh support into pyODE.

Now I need to convert a landscape into a TriMesh. Right now I'm just calling get_true_height on each integral x, z value and making two triangles out of each square of land. Is this the best way to do it, or will this give me too much inaccuracy compared to the landscape tessellator? Would it make sense for me to just use a higher frequency than each integral coordinate and use this same algorithm? Should I use less convoluted English to ask this sort of question?

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to