StrataSource / vtex2

A VTF converter and editor
MIT License
42 stars 8 forks source link

Texture creation interface #12

Open JJL772 opened 2 years ago

JJL772 commented 2 years ago

The GUI should have 2 modes for texture creation: simple and complex.

Didn't make a mock-up for this, so build your own mental image!

Complex GUI

The complex GUI should offer support for animated textures with multiple faces. Since textures should have either 1 or 6 faces, we'll probably just provide a dropdown with the "type": normal texture (1 face) or envmap (6 faces).

The view should flow left to right, with columns, each representing a different component of the VTF:

faces -> frames -> individual texture

Add buttons should exist on the bottom of the faces and frames column. Pressing add just adds a new face or frame.

individual texture should have a source selection with the options: image, MRAO, height/normal. Depending on the selection, different file choosers will be active (you'll have M, R, AO file select for MRAO for example)

Simple GUI

Simple GUI should provide a couple modes: normal, MRAO and height/normal. Simple mode will assume the texture will only have 1 frame and 1 face.

Overall layout

The viewer will have 3 total modes after this (more coming in the future- maybe): viewer, simple creation, complex creation. These modes should be selectable from icons on a vertical action bar on the left side of the GUI.