![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
05-20-12, 06:05 PM
|
#1261 |
|
Black Magic
![]() |
Working with BIGREG has shown that even Wings3D can shuffle around subset ordering. Thus I needed to code in a way to force subset ordering:
When importing and 'Force subset ordering' is checked the app will (try) and keep the subsets in numerical order as they are read from the OBJ file(s). I'll get to why I say (try) here in a few. When the app exports mesh data to OBJ files it adds "_subsetx" to the end of every 'g' entry in the OBJ file. 'g' entries signify mesh subsets in the OBJ files. As I've seen from BIGREG's files Wings3D can scramble up the order of the subsets - no longer are they in _subset0 to _subsetx numerical order. Thus is 'Force subset ordering' is checked then the app will rearrange the subsets so that they are in numerical order as they are read from the OBJ file. If some 'g' entries have "_subsetx" entries and some do not then the app will place all the "_subsetx" entries at the front (numerically lower) and then will place all the non "_subsetx" entries after those as they are found. |
|
|
05-20-12, 07:55 PM
|
#1262 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Well, I can not sleep
, so I just tried, one word amazing ![]() everything works perfectly ![]() TDW you're a genius I do not know how you thanked
__________________
~~~~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 |
|
|
05-20-12, 08:06 PM
|
#1263 | |
|
Black Magic
![]() |
Quote:
![]() I don't think people understand what kind of power the app has given them with the use of my second importer ![]() @BIGREG - you're going to like what I've been working on under the radar here for some time. It's something you asked for a long time ago but couldn't be done until I worked out some things in the app Hopefully the first test of it will come tomorrow for me I've been looking closely at the files 3DS Max created (OBJs) and think I might try writing something that can take all these individual objects it defines and create one object with subsets out of it. I started writing something for it already. Now the next big thing that I'll be working on for the app is creating new meshes. All the required functions are already coded - it's just a 'simple' matter of putting everything together, creating all the new pointers, allocating many 'spaces' in the GR2 file, and telling the file's Sentinel to create a new mesh Last edited by TheDarkWraith; 05-20-12 at 08:16 PM. |
|
|
|
05-20-12, 08:06 PM
|
#1264 |
|
Loader
![]() Join Date: Oct 2011
Posts: 89
Downloads: 27
Uploads: 0
|
Will there be a screenshot of your current work?
__________________
Dietrich von Carlewitz, 2nd Lt. U-29 |
|
|
05-20-12, 08:12 PM
|
#1265 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
CaliEsNot yet,i need to redo many things with the new editor But tomorrow i send screenshot here
__________________
~~~~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 |
|
|
05-20-12, 08:20 PM
|
#1266 |
|
Loader
![]() Join Date: Oct 2011
Posts: 89
Downloads: 27
Uploads: 0
|
Good.
__________________
Dietrich von Carlewitz, 2nd Lt. U-29 |
|
|
05-20-12, 08:31 PM
|
#1267 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
QUOTE= Glad it's working for you
![]() I don't think people understand what kind of power the app has given them with the use of my second importer Yes ![]() @BIGREG - you're going to like what I've been working on under the radar here for some time. It's something you asked for a long time ago but couldn't be done until I worked out some things in the app Hopefully the first test of it will come tomorrow for me ![]() I've been looking closely at the files 3DS Max created (OBJs) and think I might try writing something that can take all these individual objects it defines and create one object with subsets out of it. I started writing something for it already. it would be practical ![]() Now the next big thing that I'll be working on for the app is creating new meshes. All the required functions are already coded - it's just a 'simple' matter of putting everything together, creating all the new pointers, allocating many 'spaces' in the GR2 file, and telling the file's Sentinel to create a new mesh Yes ,if we can add meshes ,i can redo the missing knob and needle in sub and more ![]() But i don't know is possible to attache a mesh to a bone
__________________
~~~~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 |
|
|
05-20-12, 08:35 PM
|
#1268 | |
|
Black Magic
![]() |
Quote:
You have the ability to bind a mesh to a bone in the mesh treeview under the bone bindings entry. Is that what you're talking about?It will take some time to code in the adding of new meshes. There's so many pointers and 'spaces' that have to be created in the GR2 file for this. I take it one step at a time. Create space for x...save GR2 file...open with Granny Viewer to ensure I didn't break/shred GR2 file...create space y....repeat. Create pointer z...repeat...it's a long and arduous process but the only sure way to detect flaws in my code
|
|
|
|
05-20-12, 08:40 PM
|
#1269 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
You have the ability to bind a mesh to a bone in the mesh treeview under the bone bindings entry. Is that what you're talking about?
Yes for animate the meshes via .sim
__________________
~~~~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 |
|
|
05-20-12, 08:54 PM
|
#1270 |
|
Black Magic
![]() |
Animate the meshes via .sim how
![]() The ability to bind a mesh to a bone that I was talking about only applies to the app. As far as I've been able to tell specifying the bone binding for the mesh in the GR2 file does nothing. I'd love for someone to show me that this is incorrect so I can see how/what/why it's done and it's purpose ![]() I believe the app let's you specify the bone binding for the mesh (for the GR2 file). Hell I can't remember - I'll have to look at the code in VS and see if I included that or not. |
|
|
05-21-12, 12:28 AM
|
#1271 |
|
Black Magic
![]() |
@BIGREG: anything look different in the below (besides AO turned off)
![]() I imported your 3DS Max OBJ TDC into Room_CT's TDC You didn't send me the 3DS Max TDC AO OBJ files so I couldn't import them and thus had to turn self-illumination rendering off.Yep, I wrote the converter that takes 3DS Max OBJ files and converts them to 'standard' format ![]() One 'problem' with the converter - the number of vertices! I tried to optimize it by removing duplicate vertices but that caused rendering problems (due to in the face definitions the vertex was given multiple texture coordinates and only the last one was used). If I didn't optimize it then it rendered correctly. The TDC has 11673 ![]() I'll send you v1.1.181.1 for testing. I found some small bugs in the last version I sent you |
|
|
05-21-12, 02:52 AM
|
#1272 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
BonjourQuote : You didn't send me the 3DS Max TDC AO OBJ files Yes ,but the subsim database have a problem,i can not acces my PM ![]() Maybe having 3DS Max optimize the mesh before exporting to OBJ file will be best Yes, it would be great ![]() I'll send you v1.1.181.1 for testing. I found some small bugs in the last version I sent you Heck, I can not access my PM
__________________
~~~~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 |
|
|
05-22-12, 04:45 AM
|
#1273 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Hi
![]() @ CaliEs : sorry no screenshots yet ,i working to redo the texture coordinate for the Periscop base ( But ,Anyway, I can say to the guy who did the graphics, he found his diploma in a lucky dip ! ) and i am not a expert !@ TDW : for the moment all work fine ![]() Edit : For working use the 3DWings version from ManifoldLab : http://s331378245.onlinehome.us/manifoldlab_releases/with the original, there are problems (Hide option does not work properly, can not open large meshes ...)
__________________
~~~~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 Last edited by BIGREG; 05-22-12 at 04:59 AM. |
|
|
05-22-12, 07:31 AM
|
#1274 |
|
Sea Lord
![]() Join Date: Mar 2007
Posts: 1,897
Downloads: 172
Uploads: 0
|
Thank you a lot
![]() Thank you very much
__________________
What we do in life echoes in Eternity |
|
|
05-23-12, 06:46 PM
|
#1275 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Hi Just a little screenshot (sorry in french) ![]() Before : ![]() After :
__________________
~~~~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 |
|
|
![]() |
|
|
