Proposal: PBR Material Editor

Dear paraview community,

we are currently developping at kitware europe a new paraview feature which adds an interface to edit OSPRay materials within the paraview GUI. It will:

  • allows you to load a existing material library from a json file (such as https://gitlab.kitware.com/paraview/materials)
  • add or delete material from that library
  • brows through that library and make changes to the various properties of each material
  • save the edited library
  • see the current loaded material into a shader ball like environmment accessible within the widget which would give immediate feedback on current material changes

The current design, although still a prototype looks like this

You can see the material editor on the right hand side of the paraview window. The main rendering window displays a simple ball with a HDR environment. This rendering will in the end move inside the material editor, and would be independent from the rendering window.

Any thoughts / concerns?

5 Likes

Awesome feature! @Michael

@Thomas_Caissard as someone who makes a ton of materials this would be an awesome addition! Will this be able to handle all the materials OSPRay supports or just the base PBRs?

It is only an OSPRay material editor (not linked with our PBR shader), so all OSPRay materials are available!

Great! I would get a ton of use out of that. If you need someone to beta test at some point let me know

One suggestion I have is to try to do as much of the implementation as is feasible at the VTK level. This would make the editor be easily reused by other VTK enabled applications and would facilitate packaging as a standalone offline application.

1 Like

I just tried this editor in PV 5.10. It’s a nice feature, congrats
How do you save the new or modified materials in a json file? Is it done automatically when you “Attach” the material to the current selected object?

@timothee.chabat

Glad to see that you like this feature @Vincent_Rivola :slight_smile:
Sadly the json export feature wasn’t developed at the time 5.10 was released, thus you cannot save your modification with this version of ParaView.

However you can find this feature in the nightlies just next to the Load Json button :
image
. The next stable version of ParaView including this feature will be 5.11.