Hi, I'm using PyHSPlasma to load and parse a PRP.
I've never worked with it before, so I'm just running it in Python's command line for now, and learning to retrieve the data from this PRP.
I've managed to correctly load a file, get the sceneobjects, get the draw interface for this sceneobject, find the icicle in the Drawables Spans, etc. So far, everything is fine.
Now, I would like to get the vertices from one of the plGBufferGroup. So, I try to use the getVertices() command of this plGBufferGroup, and there I have a problem.
From what I see in the source file from libHSPlasma at github, getVertices() take three arguments: the vertex group Idx, the start id, and the number of vertices (count).
So, if I set start to 0, and count to any number, it returns me every vertices from (start) until (end - count). Isn't this supposed to return vertices from (start) to (start+count) ? (at least that's what I believe when looking at the source file)
And if I try to set start to any non-null value, then the console prints something like "This application has requested the Runtime to end it in an unusual way" and crashes. I tried with two different PRPs but both crashes.
I believe I am doing something wrong, but can't figure out what...
Could someone help me ? Thanks in advance.