Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xsens2bvh #84

Open
wants to merge 44 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a8da5a5
sujets
Dec 12, 2022
f631088
codebase
Dec 12, 2022
5b0ba43
bvh parser depuis l'IA3D
Dec 12, 2022
b789b02
bvh parser depuis l'IA3D
Dec 12, 2022
88955fc
le début du parser mais faut faire genre 90% du travail encore
Dec 12, 2022
d835fdd
ca arrive soon
DarkySquid Dec 13, 2022
53f8e7c
oui
DarkySquid Dec 13, 2022
dcb1b78
joueurdefoute
DarkySquid Dec 13, 2022
a9768cf
motion part not working yet
Jan 3, 2023
4ee7d4f
lil fix
Jan 3, 2023
05810a2
joint fixed
Jan 3, 2023
007203a
Clean repo + joint.cpp
Jan 3, 2023
a529cca
affichage du bvh wsh wsh
DarkySquid Jan 6, 2023
a8c19fd
Fixed qmake bug not including joint
Jan 8, 2023
3f9ec7c
Added animation tools
Jan 9, 2023
aa89f57
tpose
Jan 9, 2023
97d082e
added update
Jan 9, 2023
3c7b105
changed exec name
Jan 9, 2023
6e97dd1
les matrixxxxxxxxxxxxxxxx euhhh et le deplacement la de ahmed quil di…
DarkySquid Jan 9, 2023
fbe6017
BRICE FIX STP
DarkySquid Jan 9, 2023
10dba50
oui BRICE FIX TJR STP
DarkySquid Jan 10, 2023
da4715f
BRICE FIX VRMT LA
DarkySquid Jan 10, 2023
05b9bc9
JAI FIX A LA PLACE DE BRICE
DarkySquid Jan 10, 2023
73593b1
enleve les pointeurs de merde
Jan 10, 2023
6543a11
l'affichage est joli
Jan 11, 2023
dc2c6e9
UNLIMITED PARSING AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Jan 13, 2023
adb96bf
l'espacement par frame est bon maintenant
Jan 14, 2023
15d3c37
ca marche enfin
Jan 15, 2023
e561c9e
camera mieux placee
Jan 15, 2023
cea6def
suppr de commentaires
Jan 15, 2023
8689563
suppr les warnings de compil
Jan 15, 2023
c552fbd
Parsing fichers Xsens + testbench Qt compatible
Jan 15, 2023
1ea7436
on parse les fichiers dans le bon ordre c'est mieu
Jan 16, 2023
ff780a9
trucs avec super parser.h
Jan 16, 2023
eaea6ff
on oublie pas le cpp
Jan 16, 2023
6435967
Toujours plus de parsing
Jan 16, 2023
60e4d1f
calcul des weights de fou
DarkySquid Jan 16, 2023
3eb5885
le skin omg
Jan 17, 2023
bc32cae
Merge branch 'dev' of github.com:Alphaganon/SIA_QT into dev
Jan 17, 2023
de325bc
trucs qui marchent pas de fou
Jan 17, 2023
62f07dc
copy
Jan 17, 2023
99499ae
wlh c'est pas si mal
DarkySquid Jan 23, 2023
e48aa6a
Xsens2BVH
Jan 23, 2023
f7bfcae
fixed bvh errors
Jan 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
suppr de commentaires
  • Loading branch information
adamsw committed Jan 15, 2023
commit cea6def400ff5dfc0d86306542af6ed9056f69f3
12 changes: 0 additions & 12 deletions SIA_Projet_2/bvh_gui/geometryengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,6 @@ void GeometryEngine::initCubeGeometry()
}

void GeometryEngine::getPos(Joint *jnt, std::vector<VertexData> *vec){
//Add parent
// QVector4D globalPos;
// QVector4D pos(jnt->_offX, jnt->_offY, jnt->_offZ, 1);
// globalPos = *(jnt->_transform) * pos;
// vec->push_back({QVector3D(globalPos.x(), globalPos.y(), globalPos.z()), QVector2D(0.0f, 0.0f)});

QVector4D globalPos;
QVector4D pos(jnt->_offX, jnt->_offY, jnt->_offZ, 1);
QMatrix4x4 transform = *(jnt->_transform);
Expand All @@ -122,12 +116,6 @@ void GeometryEngine::getPos(Joint *jnt, std::vector<VertexData> *vec){
if(!(jnt->_children.empty())){
for(Joint *child : jnt->_children){
getPos(child, vec);
//Scale
//Add child
// pos = new QVector4D(child->_offX, child->_offY, child->_offZ, 1);
// *globalPos = *scale * *(child->_transform) * *pos;
// child->index = vertexIndex++;
// vec->push_back({QVector3D(globalPos->x(), globalPos->y(), globalPos->z()), QVector2D(0.0f, 0.0f)});
}
}
}
Expand Down
13 changes: 4 additions & 9 deletions SIA_Projet_2/joint.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,13 @@ public :
Joint* child = new Joint();
child->divider = 1;
if(parent == NULL){
// a voir si on veut le scale
child->divider = 1/1.0;
}
child->_name = name;
if(parent != NULL){
child->_offX = offX;
child->_offY = offY;
child->_offZ = offZ;
}else{
child->_offX = offX;
child->_offY = offY;
child->_offZ = offZ;
}
child->_offX = offX;
child->_offY = offY;
child->_offZ = offZ;
child->_transform = new QMatrix4x4();
child->_transform->setToIdentity();
QMatrix4x4 scale(child->divider, 0, 0, offX * child->divider, 0, child->divider, 0, offY * child->divider, 0, 0, child->divider, offZ * child->divider, 0, 0, 0, 1);
Expand Down