Silv�re Martin-Michiellot wrote:
Two remarks: Don't expect anything from Sun on this. (After all you could also ask for networking... and this would finally require many extensions) Java is quite fast now and native, well, is native.
Over the past couple of years, I've come to really like the clean design of Java and the convenient suplimentary libraries provided by Sun. However, justified or not, I still have the nagging idea that Java is slower than a compiled language such as C++.
If I impliment skinning on my own, I'll need to have two GeometryArrays (one as a source mesh and the other as the destination). Each frame, for each vertex I'd have to perform a weighted sum of each vertex transformed by each bone it is associated with. Practically, this would average out to 3 transforms, 3 scales by a float and 3 sums per vertex per frame. What's the best way to handle this? Just use ordinary Transform3Ds and Point3ds in my Java classes? Use statically declared arrays of double[]? Is there something useful in NIO I ought to look into? (as far as I can tell, NIO just allows fast access to local files and sockets) In general, what is the speediest way to do a lot of number crunching in Java?
Everything sounds nice.
I did no mesh transform for my package except morphing. the algorithms by C. Babski at EPFL where very promizing when I looked at these but this would have be too time consuming. I have seen even better technics since then but I can't recall where. May be MPEG 4 spec, which is almost the same.
I didn't have NIO support by the time I wrote the code (was java 1.3) but I think starting with my package or grabbing files from Magicosm (there might exist a third packge but I don't either recall, arrggghh) might be a good solution do implement only the deformations and not the whole stuff.
Ah, now I recall a bit. Ok, the new trend is to have a big mesh then deform it with underlying structure rather than stretching two body parts together. Well, that is what I recalled, may be you'll spot some more mails in the list archive or ask Dave Yazel from magicosm. The thing is that I had already finished working on the package when I heard about these new technics so I didn't not get a deep look into. Ok, if ytou have an article I can read I'll look at it ;)
Cheers.
Mark McKay -- http://www.kitfox.com
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
__________________________________________________________________________________________
Silvere Martin-Michiellot builds the Internet future on www.digitalbiosphere.com
__________________________________________________________________________________________
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
