sea 18... 15 bug

Messages
16th October 2016 - 03:16:27 AM
Thanks! Nice idea of the muscles with smoothly (bar).
16th October 2016 - 07:55:11 AM
here the final setup
name of bone is exacly like BVH
final_s
16th October 2016 - 08:31:47 AM
final model
final_s2
16th October 2016 - 09:42:45 AM
19th October 2016 - 08:01:34 PM
BVHloader work with sea3d mixer but need some correction code to fit final model
outch
20th October 2016 - 06:31:22 AM
that's better
good
20th October 2016 - 08:00:44 PM
for lzma your textDecode methode work many thank's,
i just have to convert result text to array on xml load

var r = xml.responseText;
var data = [];
for (var i = 0, len = r.length; i < len; ++i){ data[i] = r.charCodeAt(i) & 0xff; };
var BVH = new TextDecoder("utf-8").decode( SEA3D.File.LZMAUncompress( data ) );
console.log( BVH );

i add in SEA3DLoader updateAnimations
if( this.geometry.animations === undefined ) return;
for loading only model with skeleton witout animation ( animation unckeck in 3ds )

now i have all to do animation loader and push to model mixer :)
20th October 2016 - 08:08:22 PM
one more thing

model need to be export in this position call Tpose
this base position of bone is used to correct bvh bones
tpose
21st October 2016 - 05:08:57 AM
Well done!


Yeah!

var r = xml.responseText;
var data = [];
for (var i = 0, len = r.length; i < len; ++i){ data[i] = r.charCodeAt(i) & 0xff; };


Have you tried using `ArrayBuffer` and `xml.response` otherside of `responseText` like this?
https://github.com/mrdoob/three.js/blob/dev/examples/js/loaders/sea3d/SEA3D.js#L3741

model need to be export in this position call Tpose
this base position of bone is used to correct bvh bones


Yeah! The correct is this, I create a option in SEA3D Exporter called Bind-Pose to set the frame of the T-Pose, still I have document it all.
21st October 2016 - 03:38:27 PM
yes ArrayBuffer work :)
21st October 2016 - 03:39:53 PM
i also make the lzma compresor in pure javascript
text to lzma
22nd October 2016 - 07:57:45 PM
here my base of work for bvh
first demo work is a retarget of position rotation of bvh bones (like my old demo)
that work without error but is not in animation mixer.

http://lo-th.github.io/root/blending2/index_bvh.html

second demo is a current try of copy clip to clip in mixer ( realy bad now )
i have to find how to copy new quaternion with reference of tPose
position seem to have not many frame

http://lo-th.github.io/root/blending2/index_bvh2.html

if you have idea ;)
22nd October 2016 - 08:01:12 PM
all code is in html source ( i have to clean )
23rd October 2016 - 07:16:15 AM
YES find now bvh2 have right quaternion
now possition
23rd October 2016 - 08:20:29 AM
position done
i only copy hip position
other bones( arm, leg ... ) have sometime position track with 2 frame ?
that seem no need copy this
24th October 2016 - 01:07:42 AM
YES find now bvh2 have right quaternion

I was going to take a look now! Nice!

other bones( arm, leg ... ) have sometime position track with 2 frame ?
that seem no need copy this


I think so! `position track` to (arm, leg) is only to something like Dhalsim character I think.

Help