![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#31 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
I'll have a whole big addition to the first section before Monday.
![]() It will explain the sections Index and continue from there to explain information found in some sections, what they are, and how to read or write to them. All without useing the granny2.dll in SH5, which is limited in what you can actually do with it to fit our needs. |
![]() |
![]() |
#32 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Well, since TDW sent me his version of the GR2 Template,
and it is a much more complete version? I'll adopt his version after We sort a few issues with it. It's full of more data then I was going to bother with for now but very nicely done. ![]() And saves me a TON of work on the GR2 Template. I can spend the extra time doing the Template for Dangerous Waters now. The goal there is to allow others to write a new converter for the J3D format. ![]() Plus for any future imports to the GR2's? We may/will need to compute tangents, bitangents, and normals ahead of time. One reason to plant them in the GR2 is to save CPU time. That is if the SH5 engine is actually reading them and not doing the math. I'll have to zero out some and see what happens in Game to be sure. I've got a start on a Python thingy to do the math but it needs work to finish. |
![]() |
![]() |
#33 | |
Black Magic
![]() |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#34 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
OK. I hate looking at all those so that's good to know.
![]() It means the Python thingy (or something like it) will be needed. |
![]() |
![]() |
#35 |
Sparky
![]() Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
|
![]()
If you want normal mapping on the models you WILL need the tangents for the normal mapping tangent space. The binormals are optional since they can be calculated inside the game, but as you said they better be contained in the gr2 since it will save some loading time.
The game loads tangents and binormals only if the 3D model has a normalmap texture mapped on the second texturing channel. |
![]() |
![]() |
![]() |
#36 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Thanks for verfying this.
![]() For now I get that info by exporting with opencollada. The python script will be a stand alone .exe that will be easier to work with. |
![]() |
![]() |
#37 |
Nub
![]() Join Date: Oct 2011
Posts: 2
Downloads: 0
Uploads: 0
|
![]()
Can u reupload gr2template.bt please?
|
![]() |
![]() |
![]() |
#38 |
SUBSIM Newsman
|
@nyzze! Welcome to SubSim,
![]()
__________________
Nothing in life is to be feard,it is only to be understood. Marie Curie ![]() |
![]() |
![]() |
![]() |
#39 |
Nub
![]() Join Date: Oct 2011
Posts: 2
Downloads: 0
Uploads: 0
|
![]() |
![]() |
![]() |
![]() |
#40 |
SUBSIM Newsman
|
You are welcome, not those who you seek, privateer can help ya out,
![]()
__________________
Nothing in life is to be feard,it is only to be understood. Marie Curie ![]() |
![]() |
![]() |
![]() |
#41 |
Black Magic
![]() |
![]() |
![]() |
![]() |
![]() |
#42 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
http://www.mediafire.com/?1clz7zafehdq7qu
This download includes the CRC script to check and set the CRC. I have not worked on the GR2's for SH5 lately. I'm working on an application that finds whatever type file I want to find even if it has no file extension. Written in C, it's very small, fast, and handles dropping huge folders into it very well. Plus I'm hooked on this incredibly simple and silly Game! http://www.mollyrocket.com/621 The Heck with angry Birds. Stunt Hamsters' Rock the Christ Child!!! ![]() Last edited by Madox58; 10-15-11 at 08:38 AM. |
![]() |
![]() |
#43 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Link and files changed.
Last edited by Madox58; 10-15-11 at 08:38 AM. |
![]() |
![]() |
#44 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() |
![]() |
![]() |
#45 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Not sure what you mean.
![]() I'm working on something different right now so my mind is not focused on the SH5 GR2 at this moment. if (hwndListView == NULL) { sprintf(sErrorString, "Handle of ListView NULL (fExportListView)"); MessageBox(NULL, (LPSTR) sErrorString, (LPSTR) sYourApplicationsName, MB_OK | MB_ICONEXCLAMATION); return(0); } i = SendMessage((HWND) hwndListView, (UINT) LVM_GETITEMCOUNT, (WPARAM) 0, (LPARAM) 0); if (lLines != i) { sprintf(sErrorString, "%ld lines in ListView != %ld as parameter (fExportListView)", i, lLines); MessageBox(NULL, (LPSTR) sErrorString, (LPSTR) sYourApplicationsName, MB_OK | MB_ICONEXCLAMATION); return(0); } and so on. ![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|