SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
05-27-13, 12:09 PM | #1996 |
Seasoned Skipper
Join Date: Mar 2005
Location: UK
Posts: 683
Downloads: 104
Uploads: 1
|
Bone rotation? It's based on Quarternion rotation. I thought there was a converter in the app, but you can squash or expand them if you get it wrong I think.
|
05-27-13, 12:22 PM | #1997 |
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 | #1998 |
Bilge Rat
Join Date: May 2013
Posts: 1
Downloads: 0
Uploads: 0
|
When :o?
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 | #1999 | |
Ace of the Deep
|
Quote:
|
|
06-08-13, 06:09 AM | #2000 |
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 | #2001 |
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 | #2002 |
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 | #2004 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Could someone please re-up this tool the link is dead.
Thanks. |
06-26-13, 10:55 AM | #2005 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
OK, its been disabled for download.
|
06-26-13, 10:55 AM | #2006 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Any other alternatives in order to export .gr2 to .obj ?
|
06-26-13, 10:57 AM | #2007 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
|
06-26-13, 12:04 PM | #2008 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
I'd like a version of this program specifically for gr2 to .obj conversion. CAn someone pass it along to me? PM, whatever. Thanks.
|
06-27-13, 04:48 AM | #2009 | |
Lieutenant
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 72
Uploads: 0
|
Quote:
|
|
06-27-13, 01:42 PM | #2010 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
The source code for NexusBuddy 2 is available.
Download it and adjust it to work with SH5 GR2 files. And NO. I don't give out my exporters any longer. Especially to people I don't like. Last edited by Madox58; 06-27-13 at 03:36 PM. |
|
|