Chisel.Prototype icon indicating copy to clipboard operation
Chisel.Prototype copied to clipboard

Implement material browser window

Open nukeandbeans opened this issue 4 years ago • 6 comments

Implements #286 at a basic level and can possibly close #114 at a later time, but still needs a bunch of optimization.

Notes were left in the header of MaterialBrowserWindow

  • Adds material browser window
  • Moves preview materials to their own folder (allows simplified filtering in search)
  • Modified labels on default materials

Example without search (materials from Surfaces asset)

image

Example with search

image

Example with label filtering (and search)

image

Sidebar

The material browser has a sidebar with various properties and shortcuts, such as tag search from the selected material, selecting in the project, and applying to the currently selected face.

image

When the sidebar is collapsed, it makes the browser extremely compact, so it can be docked in a small area while using mini thumbnails.

image

TODO

  • [x] Implement user search to allow search by name.
  • [x] Implement a way to manually toggle tile labels (material names at the bottom of each thumbnail).
  • [x] Implement tab for materials currently used by chisel in the scene.
  • [x] Implement applying selected material to surface.
  • [x] ~~Implement surface presets.~~ Not going to implement this for current release target.
  • [ ] Something else???

Known issues

  • Search filtering doesn't work as expected when filtering by used materials
  • Labels under the interactive preview don't update when filtering by used materials

nukeandbeans avatar Sep 28 '20 04:09 nukeandbeans

When it comes to this image Maybe you could try implementing something like this for consistency? image

LogicalError avatar Feb 23 '21 07:02 LogicalError

When it comes to this image Maybe you could try implementing something like this for consistency? image

I'll definitely look into doing this. Doesn't appear like it should be too much trouble to implement.

nukeandbeans avatar Jun 23 '21 22:06 nukeandbeans

When it comes to this image Maybe you could try implementing something like this for consistency? image

I'll definitely look into doing this. Doesn't appear like it should be too much trouble to implement.

You know what? I was just thinking about this and realized its intended purpose was to change what content is displayed. Perhaps this would be better implemented as tabs, instead.

nukeandbeans avatar Jun 24 '21 00:06 nukeandbeans

Hey @Kerfuffles any news on this?

HeadClot avatar Jan 01 '22 08:01 HeadClot

Hey @Kerfuffles any news on this?

This is still being worked on. I'm slowly working on this during my free time between work and other projects. I'm currently reworking the backend of it to be more flexible and extensible.

nukeandbeans avatar Jan 02 '22 10:01 nukeandbeans

Hey @Kerfuffles any news on this?

This is still being worked on. I'm slowly working on this during my free time between work and other projects. I'm currently reworking the backend of it to be more flexible and extensible.

Ok, Cool. Glad to know it is not dead :)

HeadClot avatar Jan 02 '22 10:01 HeadClot