![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
05-27-13, 12:22 PM
|
#1 |
|
Black Magic
![]() |
Yes it is based on Quaternions. Yes there is a converter in the app. The only way you can 'squash' them is if you have scale capability turned on (lower right corner of the app - S). If only RT (Rotations and Translations) are turned on then it's impossible to 'squash' them.
|
|
|
05-28-13, 10:41 AM
|
#2 |
|
Bilge Rat
![]() Join Date: May 2013
Posts: 1
Downloads: 0
Uploads: 0
|
Any idea on when the new version of the program is going to be put up? I've been sticking my head out and waiting for it.
|
|
|
05-28-13, 11:39 AM
|
#3 | |
|
Ace of the Deep
![]() |
Quote:
|
|
|
|
06-08-13, 06:09 AM
|
#4 |
|
Medic
![]() Join Date: Jan 2006
Posts: 164
Downloads: 63
Uploads: 1
|
I don't know if it has any value, as I'm not really GR2 format friendly, but I put my hand on a complete GR2_import tool written in C++ (.h, .cpp. makefile and so on).
From the readme included : "Granny2Lib encapsulates tazpn (theo)'s Granny2-reading logic in a single library, isolated from the rest of the projects." The first lines of GR2format.cpp : /************************************************** ******************** *< FILE: GR2Format.h DESCRIPTION: GR2 File Format CREATED BY: tazpn (Theo) HISTORY: *> Copyright (c) 2006, All Rights Reserved. ************************************************** ********************/ #include "Precomp.h" #include "GR2Format.h" //#include "bspline/BSpline.h" using namespace std; namespace granny2 { IMPLVARTYPE(granny2_impl, granny_transform) IMPLVARTYPE(granny2_impl, ArtToolInfo) IMPLVARTYPE(granny2_impl, ExporterInfo) IMPLVARTYPE(granny2_impl, MIPLevels) IMPLVARTYPE(granny2_impl, Image) IMPLVARTYPE(granny2_impl, Layout) IMPLVARTYPE(granny2_impl, Texture) IMPLVARTYPE(granny2_impl, granny_Map) IMPLVARTYPE(granny2_impl, granny_Material) IMPLVARTYPE(granny2_impl, Bone) IMPLVARTYPE(granny2_impl, Skeleton) IMPLVARTYPE(granny2_impl, VertexData) IMPLVARTYPE(granny2_impl, TriTopology) IMPLVARTYPE(granny2_impl, Mesh) IMPLVARTYPE(granny2_impl, Model) IMPLVARTYPE(granny2_impl, TransformTrack) IMPLVARTYPE(granny2_impl, PropRef) IMPLVARTYPE(granny2_impl, TrackGroup) IMPLVARTYPE(granny2_impl, Animation) IMPLVARTYPE(granny2_impl, GR2Info) IMPLVARTYPE(granny2_impl, CurveDataHeader_D3K16uC16u) IMPLVARTYPE(granny2_impl, CurveDataHeader_D3K8uC8u) IMPLVARTYPE(granny2_impl, CurveDataHeader_D4nK16uC15u) IMPLVARTYPE(granny2_impl, CurveDataHeader_DaIdentity) IMPLVARTYPE(granny2_impl, CurveDataHeader_D4nK8uC7u) IMPLVARTYPE(granny2_impl, CurveDataHeader_D3Constant32f) IMPLVARTYPE(granny2_impl, CurveDataHeader_DaK32fC32f) IMPLVARTYPE(granny2_impl, CurveDataHeader_DaKeyframes32f) //IMPLVARTYPE(granny2_impl, CurveDataHeader_DaConstant32f) //IMPLVARTYPE(granny2_impl, CurveDataHeader_D4Constant32f) //IMPLVARTYPE(granny2_impl, CurveDataHeader_DaK16uC16u) //IMPLVARTYPE(granny2_impl, CurveDataHeader_DaK8uC8u) and around 900 lines of code more. If you think it could be useful, I can zip the project and send it to you. |
|
|
06-08-13, 09:38 AM
|
#5 |
|
Black Magic
![]() |
There are a couple problems with the above code. One, the header files used most likely are from RAD games tools SDK (or were based off of them) and thus are copy protected. It would be very hard to prove that you somehow magically were able to make these header files. Two, being able to read the file is nice but if you can't change it and write it back it's useless.
My app uses nothing from RAD games tools. It can also read, manipulate, and write GR2s. Granted I cannot manipulate everything contained in them (animations for example) but I can at least read the existing data for them and write it back. |
|
|
06-10-13, 12:22 PM
|
#6 |
|
Mate
![]() Join Date: Nov 2011
Posts: 53
Downloads: 4
Uploads: 0
|
DarkWraith,
Over in civ5 land we now have a tool that lets us export our gr2s including the leaders you were working on then import them into blender to modify. I know you put in a lot of hardwork on those and I appreciate it. If you hit a wall on them, then I'm fine if you move on to something more SH5 specific. Thank you for all your work on this! |
|
|
06-26-13, 10:53 AM
|
#8 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Could someone please re-up this tool the link is dead.
Thanks. |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
