vrman3d
New Member
VRMan3D.com
Posts: 9
|
Post by vrman3d on May 3, 2005 11:58:49 GMT 1
Hi Walaber and Kjelle69!
I'm using your serializer utility a lot for terrains and objects. After selecting an .x file to serialize, before the second dialog appears, very often it goes into some endless loop that it never recovers from, and then other times (on objects with lotsa polys I think) it just exits before finishing. I spend a lot of time hitting ctrl-alt-delete and killing off the process that is hung and using 99% cpu. I can send you objects to test this with if you'd like, or you can just make them yourself to see what I mean: in 3dsmax, create a quad patch 8x8, edit mesh, select all the verts, add a noise modifier and crank up the z. Save it as a 3ds, convert it to a .x (I still use Microsoft's Conv3DS, since it handles lots of different types). Sometimes just moving the entire terrain object up/down a few units causes the serializer to go into endless loop mode. Try creating a patch with 15x15 dimensions (16200 polys) and serializing it, it just exits for me.
Do you think you could add some sort of progress bar to the program to indicate if it's still going, or if it's stuck? Or better yet, figure out what causes the crashes hee hee. I still think even with the bugs gone, that a progress bar would be nice though.
I really appreciate the fine support you guys give for your excellent free products! Keep up the good work. And hopefully very soon I'll have some cool stuff to show off your wrapper with. (3 separate projects going)
Best regards, -=VRMan=-
|
|
vrman3d
New Member
VRMan3D.com
Posts: 9
|
Post by vrman3d on May 3, 2005 12:02:56 GMT 1
Optionally, if you don't have the time perhaps I could take a look at it if the source is available?
I also have other funky problems when it works and makes the .nds file, the terrain has strange extremely slippery areas (truck tires spin, truck slides down hill sideways in certain areas), and some areas where my truck will suddenly sink in to the roof and get stuck.
Thanks much, -=VRMan=-
|
|
|
Post by kjelle69 on May 3, 2005 14:55:09 GMT 1
I have not yet looked into the code of Walabers Serializer. I think it could be a good idea if someone could build a Great all purpose Serializer tool that could manage to handle BIGGG friggin meshes too .
|
|
|
Post by kjelle69 on May 3, 2005 17:58:00 GMT 1
Now I have looked into the code :-)
Basically you can create you own serializer very easily:
Use this as a core in your program:
load object filename$, 1
NDB_NewtonCreate col = NDB_NewtonCreateTreeCollision( 1 )
out$ = "Serialized.nds"
NDB_NewtonTreeCollisionSerialize 1, out$ NDB_NewtonDestroy
|
|
vrman3d
New Member
VRMan3D.com
Posts: 9
|
Post by vrman3d on May 4, 2005 5:10:27 GMT 1
Ok thanks jkelle for looking into it. If that's all it is I guess I won't be getting my progress bar or fixing much like big meshes since it looks like it's done internally by the newton dll??
I'll still go ahead and make one tonight that at least gives an indication if it's hung up, and make it so you can pass in the object name as a param (since I use batch files for this type of thing: I want to be able to type 'serialize landf' and have it find the landf.x file and create a landf.nds)
What did walaber use for the dialogs? I'll be writing a PureBasic dll to make my dialogs for it (another great little language that works well with dbpro...)
Best regards, -=VRMan=-
|
|
|
Post by kjelle69 on May 4, 2005 10:44:14 GMT 1
|
|