![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
11-21-11, 05:10 PM
|
#1 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
The positioning was the first thing I noted that was going to be an issue when we reach import ability.
Mostly because of the Tangent stuff. Now we don't NEED to do the tangents before hand. But it will force the Game Engine to calculate them on the fly. So up the system specs when massive imports start rolling in! (It may also be happening already with imported SH4 Units?) |
|
11-21-11, 05:15 PM
|
#2 | |
|
Black Magic
![]() |
Quote:
![]() Thank god that if I set the mesh's transform to be the bone's transform * the bone's inversetransform it positions the mesh where it needs to be. Thus I can figure out the offset required by doing what I mentioned. |
|
|
|
11-21-11, 05:21 PM
|
#3 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Actually?
Few modder in the 3D area center the different meshes before importing to SH3 or SH4 on totally custom models. Most of what is done incases like that is to leave the meshes at 0 coords. So for them? It may be a God sent feature or have no impact at all. |
|
11-21-11, 05:33 PM
|
#4 |
|
CINC Pacific Fleet
Join Date: Sep 2003
Location: Down Under
Posts: 11,223
Downloads: 171
Uploads: 0
|
Good grief! what a nightmare, I can understand why the game was released in the state it was!
__________________
Sub captains go down with their ship! |
|
|
11-21-11, 05:38 PM
|
#5 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$!!
That answer your questioning nature?
|
|
11-21-11, 06:06 PM
|
#6 |
|
Black Magic
![]() |
ok, after some thought on this here's what I'm going to do:
Bones reposition like they should when you change position and rotation which is good. Meshes on the other hand do not. Even though meshes are supposedly 'bound' to a bone they are, in fact, not in SH5. Thus if we treat each mesh as a new 'bone' then it will help mitigate the pain and frustration. Since they will be classified as a bone then they will inherit position information (from the GR2Coords class). I'll initialize their position information to 0 (no rotations, no position - (0,0,0)) and set their transform to the Identity transform. This will work because they are already pre-positioned to where they need to be. Now when the user asks to reposition the item or change it's rotation then these variables will obviously not be 0 anymore. I'll check to see if they are 0 or not and if not then I'll update the mesh's verticies to reflect the change the user wanted. Now to take what I just described and apply it to the code The fact that this has to be done in the first place is utterly absurd. There was no reason to use the Granny system...the DAT file system would've done everything they needed. |
|
|
11-21-11, 06:13 PM
|
#7 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
I'd tend to agree about the dat format.
The benifits of the Granny system were not implemented in a 'saveing Grace' way. I'm just sitting here wondering how many of the Upper's are sweating it out wondering when people like you and I can pull thier arses out of the fire!
|
|
11-21-11, 06:42 PM
|
#8 |
|
Captain
![]() Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
|
Just dropping by to express my gratitude for still working on fixing the game and learning more about it.
|
|
|
11-22-11, 06:45 AM
|
#9 | |
|
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
|
Quote:
While this policy is understandable in the case of charging user for the copy-protection and things alike in the hope to prevent loosing $$ that should motivate further development work, in the SH5 case not only the money were unnecessarily spent but $$ loss is further aggravated by preventing modders saving the unfinished game. In my opinion this is squandering at its best! I am sorry for the offtopic, just couldn't hold myself. ![]() @ TDW, This is amazing progress with bones, wtg! I actually wanted to ask whether I understand correctly that this non-moving meshes issue doesn't affect animation editing in the sense that when we will be editing animations we won't need to move the meshes? To give an example - if we think of the infamous 'ladder-climbing-lamp-changing' animation, I guess it is much easier to cut it directly in the file to leave only climbing part of it and we will not need 3d editor in this case. Sorry if it is a stupid question. Last edited by Vanilla; 11-22-11 at 08:15 AM. |
|
|
|
11-22-11, 04:05 PM
|
#10 | ||
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
Someone will get hurt. ![]() Quote:
One can edit the animations GR2 files to 'zero out' things in a way. Say to remove the 'screw in the light bulb' part? Just loop the information just before that part so the animation appears to pause for the set duration or change the timing so it passes quicker. |
||
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
