H-uru / PlasmaShop

Swiss army knife for Plasma file hacking
GNU General Public License v3.0
18 stars 17 forks source link

Drawable Spans need gui #57

Open Hazado opened 3 years ago

Hazado commented 3 years ago

Drawable Spans are currently nearly impossible to modify using prpshop.

Could a gui be created for doing this?

dpogue commented 3 years ago

Very much agreed, but the problem is how do you design a GUI to work with structures as convoluted as compressed geometry data? Maybe start with a list of DISpanIndices, and then clicking into that brings up an editor for the icicle (or, in the case of bones, the matrix) and access the material and transforms and fog env and vertex data from there?

Knowing what you want to do with the DSpans would probably help. Use cases like "I want to add a new span" or "I want to see the icicle flags for a particular object" provide a better starting point for thinking about how a GUI might be structured.

Hazado commented 3 years ago

I want to modify the material used by a draw interface. I want to import and export draw interfaces between drawable spans.

So if i want to move an object from one page to another, i dont need to import the entire drawable span to render it

Hazado commented 3 years ago

what im trying to do - Imported a new material, change one draw interface so it uses that material instead of another but renders it in the same exact spot.

Hazado commented 3 years ago

Another thing I did manually, change the vertex colors for an icicle. Had to locate them in the buffergroup section and then compare to what I wanted they were to what I wanted

Being able to see the vertex for an icicle would be useful for this