Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MrProtek

Pages: [1]
1
In the past i made simple 3D engine base on DX9 and i used an8 file format as my main format for it, im not sure if it will help but i had similar problem and to solve that i had to calculate Quaternion in different order...

Code: [Select]
For I := 0 To High(SequenceArray[LastSequence].FrameArray) Do
 Begin
    //MAKE QUATERNION FROM AXIS (Y-Z-X ORDER)
    QRotationY(Qy,SequenceArray[LastSequence].FrameArray[I].Bones[J].y*(Pi/180));
    QRotationZ(Qz,SequenceArray[LastSequence].FrameArray[I].Bones[J].z*(Pi/180));
    QRotationX(Qx,SequenceArray[LastSequence].FrameArray[I].Bones[J].x*(Pi/180));
    D3DXQuaternionMultiply(Qy,Qy,Qz);
    D3DXQuaternionMultiply(Qy,Qy,Qx);
    D3DXQuaternionNormalize(SequenceArray[LastSequence].FrameArray[I].Bones[J],Qy);
 End;

Base on my old source code right order is Y * Z * X

2
ASL Scripts / New Obj Export Script
« on: December 18, 2012, 09:46:50 am »
Hello everyone, I made some changes in basic obj export script, now it supports multi materials per mesh and also output texture filenames, but only Ambient, Diffuse and Specular for now, I think this can be useful for someone :)

Link to download new script: https://www.box.com/s/6lplghz6w3ogybdkm7wl

Pages: [1]