vtex2 icon indicating copy to clipboard operation
vtex2 copied to clipboard

Texture creation interface

Open JJL772 opened this issue 3 years ago • 0 comments

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.

JJL772 avatar Aug 05 '22 20:08 JJL772