Anyone know of example code showing how to do character skinning in jogl / java?
Thanks in advance for any leads :o)
Anyone know of example code showing how to do character skinning in jogl / java?
Thanks in advance for any leads :o)
Do you want to do the skinning in pure Java or on the GPU? GPU skinning is more efficient but I don’t know how portable the technique is yet. I would assume that using vertex programs you should be able to get it working on any modern card. I think NVidia’s web site has examples of doing GPU skinning.
The Dobie system has (or had, at one time) a pure-Java skinning system that ran nearly as fast as the C++ code it replaced. I think the Synthetic Characters’ source code is available though it’s a fairly large system to go through so if you’re looking for a small example it’s not the place to look for it. However if you’re interested in looking at it contact me via email at dev.java.net (see the JOGL home page) and I’ll put you in touch with the group.
I’d love to use vertex programs, but my gfx card is a stinky gf4 mx and doesn’t support shaders =)
Ultimately thou, I need to do both GPU and CPU versions but the CPU version is most important since it would be the fall back mode. I’m sure the NVidia information is fine for getting a shader version going, so it’s really the java/cpu version that I’m looking for.
I’m reading that “Dobie” page - extremely interesting! Thanks for that, I’ll be doing a LOT of reading there methinks =)