SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
06-23-12, 02:32 PM | #1531 |
Black Magic
|
For the AO MTL files I can't just place one material entry in them. This is because each subset can have a different material and thus there would be different entries. I'm thinking it over as to how I want to remedy the duplicate entries though.
The 'd' parameter and 'map_bump' and 'bump' entries have been removed from the AO MTL file. I played around with the material bindings to ensure the app wasn't causing an error in the file. App is writing files fine. The problem is it appears Goblin and the game will only allow x material bindings for x mesh subsets. i.e.: if the mesh has 5 subsets then you HAVE to define 5 material bindings for the mesh. Anything more or less and Goblin and the game will crash. This is the devs not understanding the Granny format it appears. Granny Viewer will load GR2 files with more or less material bindings than subsets with no problems. Not much I can do about that - those are the rules defined by Goblin and the game @BIGREG - the error you are getting when you rename a mesh I can't reproduce. I'll need to see the GR2 file and tell me what you did so I can try and recreate the problem to see why it's throwing an error. |
06-23-12, 02:51 PM | #1532 | ||||
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Quote:
Quote:
Quote:
and I think as you, to the "knowledge" of the guys who made the game That seem all are working in his corner,and a guy tried to bring all together ! in a format that was unknown to him ! Quote:
__________________
~~~~BigReg~BigRegOne~~~~ "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
||||
06-23-12, 02:56 PM | #1533 | |
Black Magic
|
Quote:
EDIT: was able to rename that mesh with no problems. |
|
06-23-12, 03:25 PM | #1534 | |||
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Quote:
Quote:
Quote:
(but the new name is taken into account)
__________________
~~~~BigReg~BigRegOne~~~~ "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|||
06-23-12, 03:35 PM | #1535 | |
Black Magic
|
Quote:
As far as sorting your materials: do you have any subsets that reference the same material? This is where I see there might be a problem. I'll have to test some more things. First I have to let the app be able to add the same material to a mesh's material bindings that way subsets referencing the same material still follow the rule of material bindings/subset ordering set forth by Goblin/the game. |
|
06-23-12, 03:57 PM | #1536 | |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Quote:
(that is not a big problem in any case ) Well, I think I need to store all the materials in the order of the subsets and assign the new material every time I add a subset
__________________
~~~~BigReg~BigRegOne~~~~ "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
06-23-12, 03:59 PM | #1537 |
Black Magic
|
|
06-23-12, 04:08 PM | #1538 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
I have send you my .gr2
and yes after importing all "new" subsets take the first material in the list (floor_metal) ,but i have reassign existing material to some subsets (table,chepeng..)
__________________
~~~~BigReg~BigRegOne~~~~ "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
06-23-12, 04:15 PM | #1539 |
Black Magic
|
I'll have to send you a new version of the app that will allow you to add a material binding already defined to material bindings. Not sure how Goblin/the game will handle this but we're about to find out!
|
06-23-12, 04:19 PM | #1540 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Thank I'll try that, as soon as I receive it
__________________
~~~~BigReg~BigRegOne~~~~ "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
06-23-12, 04:57 PM | #1541 |
Black Magic
|
Just finished making the necessary changes. Did a test run. Opened up Room_CT. Added a new material binding - Metal_01 (same material subset 0 is using). Deleted subset 4's material binding. Set subset 4's material binding to new Metal_01 thus preserving subset/material binding index ordering. Fired up Granny Viewer and of course no problems. Fired up Goblin and no problems
@BIGREG - I'll send you new version here in a few Last edited by TheDarkWraith; 06-23-12 at 05:21 PM. |
06-23-12, 05:40 PM | #1542 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Ok,that say ,that i need to sorting all materials
i have test version 1.260.1.1 : add tile_metal_01 to CT_body (position 16) and try to assign off the subset 16 ,but that give me this error : Off other subsets ,before the news ,i have added all work fine) Edit :Oups ! i have forgot to assign the 15eme
__________________
~~~~BigReg~BigRegOne~~~~ "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
06-23-12, 05:49 PM | #1543 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
All work fine
You are a Master TDW
__________________
~~~~BigReg~BigRegOne~~~~ "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
06-23-12, 06:02 PM | #1544 | |
Black Magic
|
Quote:
I also found that removing a material from a mesh's material bindings could go irai if the material bindings contains duplicate materials. This has also been fixed. Sending you updated version now |
|
06-23-12, 06:19 PM | #1545 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Merci
Tomorrow I try it as soon as I wake up
__________________
~~~~BigReg~BigRegOne~~~~ "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|