[jitter] Re: Obj files in displaylist?
Wesley Smith
wesley.hoke at gmail.com
Mon Jul 2 06:42:37 MDT 2007
- Previous message: [jitter] Re: Obj files in displaylist?
- Next message: [jitter] Re: Obj files in displaylist?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The way to display the same geometry in several different positions is with vertex skinning (also known as matrix palette blending) (http://lynxengine.net/ati.htm). It requires some extra data such as vertex blending weights and the transformations of the geometry to be applied with each weight. The upside though is that you have really nice interpolation which is realistic as opposed to a simple crossfade which may move through undesirable states between keyframes. It's a bit tricky to do in jitter but it can be done using the mesh object and a vertex shader. I posted a half-working example a while ago called playdough mesh. It has some rough edges but is a good start. wes On 7/2/07, Bruno Zamborlin <bruno.zamborlin at gmail.com> wrote: > > i used the same number of vertex, and everything seems work good. i uploaded for you two objs i'm using, you can download them here: http://www.brunozamborlin.com/temp/MTAnt.zip > let me know if you think it's ok too... > i'm using the "triangles" interpolation mode. > > > by the way, i'm thinking now that the number of obj files i have to load is still too big. > i have a matrix of 30x30 cells (i'd prefer 50x50...) and in every cell could be one of 3 different breeds of insects. each insect could be in one of these states: borning, dying, motionless or moving. > each state is based by at least 3 keyframes. > so, it will be something like 30x30x3x4x3=32400 obj of 600kb, so 19 gygabyte of memory used!!! > > is it possible to duplicate a 3d model? > i mean, displaying it in two of more different positions... in this way, i could delete that "30x30" in the expression... > -- > Bruno > > www.brunozamborlin.com > www.myspace.com/brunozamborlin > _______________________________________________ > jitter mailing list > jitter at cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter >
- Previous message: [jitter] Re: Obj files in displaylist?
- Next message: [jitter] Re: Obj files in displaylist?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
