SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
02-13-12, 04:58 PM | #571 |
Black Magic
|
You don't know if 3DSMAX can add the UVs to the obj file or if I can import them into the app? With the current version posted it won't import them. The version I'm fixing the errors on that I'll be releasing will
|
02-13-12, 05:09 PM | #572 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
For the perdea , I noticed that there was an error with textures or the coordinates, during my tests on texture
edit: This is what I can export to a. Obj: BigReg/BigRegOne "The truth is that there is no truth. (Including this one)." Proverbe Shadock |
02-13-12, 05:44 PM | #573 | |
Black Magic
|
Quote:
Now this is why the perdea is currently throwing an error when you try to import it back in. When the mesh is being created by the app it originally has 0x180 verticies. I call this function: mesh.OptimizeInPlace(MeshFlags.OptimizeAttributeSort | MeshFlags.OptimizeIgnoreVerts, adjac); Which is supposed to NOT alter the verticies but, in fact, it actually is. That function call takes the verticies from 0x180 to 0x196. Clearly 0x196 doesn't equal 0x180 so the app throws an error when you try to import it back in. I'm looking for a solution to this currently. |
|
02-13-12, 06:01 PM | #574 |
Black Magic
|
Ok the issue with the Room_QR1 perdea mesh is sorted. Had to add another flag to this function call:
mesh.OptimizeInPlace(MeshFlags.OptimizeAttributeSort | MeshFlags.OptimizeDoNotSplit | MeshFlags.OptimizeIgnoreVerts, adjac); The flag OptimizeDoNotSplit cured the problem of it splitting the verticies and thus increasing the mesh's vertice count Now to continue with the other errors posted |
02-13-12, 06:03 PM | #575 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Yay! Forward to the next version.
Ha ! How exactly did to save the views of texture coordinates BigReg/BigRegOne "The Marin Shadok is a shadok blue, wearing a blue beret, red pompon sailor, and a cover over his left eye, apparently lost during the Battle of Lepanto, in his memorable fight against water mills. We see quite often a bottle in his hand. He was a former pirate quartermaster had gone wrong. Unlike his ilk who typically spend their time to introduce small boat in a bottle, he introduced the bottles in his small boat. He spoke by maxims (and sometimes even in English). It was he who said, for example: In the Navy we do not do much but we do it early. And indeed, he left at the crack of dawn, supposedly to go or was the wind. But the evening when he returned, he had completely forgotten, and he said he was under the influence .... in reality he was simply drunk." |
02-13-12, 06:07 PM | #576 |
Black Magic
|
This one was fairly easy. Looking at it in GrannyViewer the second mesh has no extendeddata. Every GR2 file I've opened so far always has extendeddata for the meshes. This one just threw my assumption out the window Easy to fix
|
02-13-12, 06:07 PM | #577 |
Black Magic
|
|
02-13-12, 06:20 PM | #578 |
Black Magic
|
../Submarine/Common/Rooms/Waypoints_Room_QR1.gr2 contains one little triangle that looks like it could cause some problems Anyone seen this?
|
02-13-12, 06:25 PM | #579 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Oops! error when saving
BigReg/BigRegOne "Any type of instrument is called a sieve, on which we can define three subsets: inside, outside and holes." Logical Shadock |
02-13-12, 06:50 PM | #580 |
Black Magic
|
|
02-13-12, 06:58 PM | #581 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Yes, Try on your side, I think that will be easier to translate this gibberish.
I try to save the mesh of the wheel radar (in jpeg and dds) BigReg/BigRegOne "At first there was nothing. Finally, nothing more or nothing less than elsewhere. " |
02-13-12, 07:16 PM | #582 |
Grey Wolf
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Error when loading Waypoints_Room_QR1.GR2
and I did not notice anything with Goblin BigReg/BigRegOne "If it hurts, is that it feels good" Proverbe Shadock |
02-13-12, 07:50 PM | #583 |
Black Magic
|
|
02-13-12, 11:04 PM | #584 |
Black Magic
|
This problem was a little sinister in itself. I was a little over-zealous in curing all the memory leaks so I disposed of the texture for this right after creating it (well not right after but just after I sent it to the render texture class). No wonder you were getting errors. Problem fixed
|
02-13-12, 11:42 PM | #585 | |
Black Magic
|
Quote:
EDIT: I know why it has no bones now. When it wrote the skeleton data it wrote it 4 bytes ahead of where it was supposed to be. Now I have to figure out why it's writing 4 bytes before... Last edited by TheDarkWraith; 02-14-12 at 12:00 AM. |
|
|
|