fun with .pso
I'll look into finding documentation for that, I don't think I'll need it for my purposes, but it would be good to have.I noticed on your site that you only cover the lwo2 format. What about the original lwo (pre-lightwave 6.0) format.
I would very much like to do exactly that.I believe Jasper has considerable documentation for the old lwo format. It might be worthwhile combining your info with his. Then we'll get more info in one place. Just a thought.
I'm hoping Jasper can help complete the .pso format doc currently on my site.
Jasper?
Please Log in or Create an account to join the conversation.
- Second Chance
- Offline
- King of Space
DirectX, and therefore EoC definitely do use non-triangular polygons. I used to get arguments about this, but it is quite clearly the case. If non-tri polys were not supported, concave polygons would not cause display problems (see my tutorial on managing odd-shaped polys, way down in this thread www.i-war2.com/forum/topic.asp?TOPIC_ID=1584 ). But most obvious is simply the log from the converter, which specifies exactly how many polys are in the converted mesh and which vertices they are associated with. The original PSOs contain all triangles because that's the way they were constructed. If you would like some PSOs with non-triangular polys to work with I'll be glad to send you some.No, there does not appear to be anything in the .pso that indicates that FLUX uses it or could support it either. I'm pretty sure they get stripped out in the conversion. I could be wrong.
Keep up the great work. I look forward to the next update.
mailto:second_chance@cox.net
The Ultimate Guide To Modding: I-War 2 - Edge Of Chaos
.
Please Log in or Create an account to join the conversation.
Yeah, send me some .pso examples of non trianglular polys. I would say that if concave polys don't work, then it's not supported and that everything gets converted to tri faces. The converter log may just be reporting what it scanned through and not what it wrote to the file. My importer should yeild some strange results when trying to load one of those non triangular files because the face index should jump 2 indices ahead if it encounters a quad.
Please Log in or Create an account to join the conversation.
- Second Chance
- Offline
- King of Space
If you can look at the actual polygon count in the actual PSO file, then that will be the end of that. (Here's hoping I'm as right as I think I am.)
The lwo file I'll send you has 320 polys.
The converter counted and showed 320 after the conversion.
If the PSO file has more than that, then I'll definitely have to concede being wrong.
btw - If it's any indication, the PSO imported into Max without any problems with your script.
mailto:second_chance@cox.net
The Ultimate Guide To Modding: I-War 2 - Edge Of Chaos
.
Please Log in or Create an account to join the conversation.
Originally posted by davel
---snip---
I would say that if concave polys don't work, then it's not supported and that everything gets converted to tri faces. The converter log may just be reporting what it scanned through and not what it wrote to the file.
---snip---
I agree on the first statement, not so sure about where the conersion is happening. But the converter is the most likely point.
The fact that things get "converted" into a .pso file hides some potential sins. BUT the fact that the game rendering engine does not deal with concave poly's indicates that they are not in fact dealt with correctly and might well be getting converted to triangles at some point under the hood, hence said surfaces not rendering as expected.
Further, if all meshes coming out of the original game assets are all trimeshes further indicates that trimeshes are the correct form of mesh.
Given the game engines age and that games of a similar age are mostly (if not all) trimesh based based, I would conclude EoC expects trimeshes. The fact we are able to use n-point polygons during modeling is just good luck, not design. IF it was designed/expected I would be expecting n-polygon meshes to be coming out of original game .pso files.
All up it is great to see the progress being made to dealing with this area of EoC custom content. Keep charging forward.
Cheers,
Joco.
Please Log in or Create an account to join the conversation.
Hope it helps.
Please Log in or Create an account to join the conversation.