![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
02-14-12, 08:08 PM
|
#631 | |
|
Black Magic
![]() |
Quote:
I just have to sit down and think about how I want to implement it. Rushing things never produces good results. |
|
|
|
02-14-12, 08:13 PM
|
#632 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
You are really excellent
|
|
|
02-14-12, 08:18 PM
|
#633 |
|
Black Magic
![]() |
I'm more the determined type. Once I have my mind on doing something I will do it and I will succeed
![]() Thanks for your patience and testing BIGREG. I'll eventually get everything working correctly Now I must work on putting this bug of not being able to add new bones to certain GR2 files (Waypoints_Room_QR1 for instance) to bed... |
|
|
02-14-12, 08:22 PM
|
#634 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Of course it will work, just with that, there are ways to do something already
![]() and as I said, learning is like sex, it's exciting
|
|
|
02-14-12, 11:19 PM
|
#635 |
|
Black Magic
![]() |
Fixed the problem with adding bones to some GR2 files
Man it was a sinister one. Problem was in two places - the linked list class and how the classes when writing their data were getting their offsets from the linked list class. Glad that is behind me ![]() Here are Waypoint_Room_QR1 and 2 to verify for yourself: http://www.mediafire.com/?0zc8bv9aatnj796 Load them up in GrannyViewer and the app to ensure there are no errors. I couldn't find any! I successfully added a new bone to Waypoints_Room_QR2 (and even set the new exporter info to boot Once I test this on several files and I find no errors with the changes I'll release a new test version
Last edited by TheDarkWraith; 02-15-12 at 12:11 AM. |
|
|
02-15-12, 12:52 AM
|
#636 |
|
Black Magic
![]() |
So far any non-special GR2 file I added a new bone to worked flawlessly. I did get a failure on NSS_Undine though (special GR2 file). That file is a bastard (and is why it's part of my testing files)
I'll look into why tomorrow
|
|
|
02-15-12, 03:53 AM
|
#637 | |
|
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
|
Quote:
|
|
|
|
02-15-12, 04:30 AM
|
#638 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
HiFor the bones, I have a small question: Why, the pointer of the bones they are outside of the room, even in the original files ![]()
|
|
|
02-15-12, 06:57 AM
|
#639 | |
|
Black Magic
![]() |
Quote:
![]() The thing that really doesn't make any sense is the bone bindings. Every mesh has an entry called bone bindings. In skinned mesh animations you assign a mesh to a bone so that as the bone is transformed the mesh is automatically transformed also. SH5 ignores the bone bindings. The only thing it uses from the bone bindings are the max properties entries (whether the mesh should be visible, cast shadows, receive shadows, etc.). The mesh itself has max properies entries but it seems they are not used for anything. Really confusing. |
|
|
|
02-15-12, 09:06 AM
|
#640 |
|
Black Magic
![]() |
I may be able to read special GR2 files but I sure can't add anything new to them (to a point). If I add new data to a special GR2 file downstream of the pointers (pointers come before data) I have no problems and the file will open in GrannyViewer. The minute I add one byte to the pointers area GrannyViewer refuses to open it (doesn't crash it though just says unable to open). This tells me that I'm not adjusting the section values correctly. That is what I'm working on now
|
|
|
02-15-12, 09:54 AM
|
#641 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Well, I tried a lot of stuff to export. Obj from 3dsmax or blender
its not working! message is still "missing library material ...."(No problems in wings3d but lacks functions for editing and not very practical to use) Ps:i have try to modifie the light bulbs into 3dsmax i can redo them ( transparent cover and visible lightbulbs )
Last edited by BIGREG; 02-15-12 at 10:13 AM. |
|
|
02-15-12, 10:48 AM
|
#642 | |
|
Black Magic
![]() |
Quote:
![]() I would like to see all the files you exported from 3dsmax and from blender. Can you zip them all up and send me a link to them? ![]() After I finish with the big wrench the NSS_Undine has thrown me I'll work on the importer so it can import 3DSMax and blender OBJ files. |
|
|
|
02-15-12, 11:04 AM
|
#643 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Thank ; But for the lightbulbs is just an adjust of the transparency and little color change ,not a big works
![]() I have think in 3dsmax (if you are read the "notice" have send upper) I can choose preset setting for import and export the mesh (maya,blender etc ...) but not for Wings3d ![]() Do you not think it something to do with that ? I get zipping the files
|
|
|
02-15-12, 11:27 AM
|
#644 | |
|
Black Magic
![]() |
Quote:
![]() Good news! Found the problem of why the special GR2 files were giving me fits when trying to add anything to the pointer area Since the pointers preceed the data in special GR2 files the section data resides after them instead of before them. When I would add anything to the pointer area the section data would get updated, all is good there. I would also adjust all the pointers and datatype definition offsets relating to the section with the size change. All is good there too if it's not a special GR2 file. Doing this with a special GR2 file results in a double addition of the size change! If you don't understand why here's why: a pointer has an offset in the section data and an offset in section value. To get it's true address you take the offset + section's file offset. Well since the section file offset was adjusted with the size change there's no need to adjust the offsets. I was adjusting the offsets also resulting in double size addition.Now I'm able to add new pointers and datatype definitions to special GR2 files and those files open in GrannyViewer
|
|
|
|
02-15-12, 11:45 AM
|
#645 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Here the files ( Radar.obj without AO)
- Export from 3Dwings without change (this one work): http://dl.dropbox.com/u/8655607/Wings3d_export.zip - Export from 3DSMax without change : http://dl.dropbox.com/u/8655607/3dsm...ect_export.zip (texture are present ,but no optimised and missing coordinates) - Export from Blender witout change : http://dl.dropbox.com/u/8655607/Blender_export.zip - Export from 3Dsmax (mesh exported from 3Dwings ! ) : http://dl.dropbox.com/u/8655607/3dma...ngs_export.zip (in 3dsmax all textures are applied, and coordinates are good Great News
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
