BabylonJS / Editor

Community managed visual editor for Babylon.js
http://editor.babylonjs.com/
813 stars 232 forks source link

About materials (deletion or augmentation) #40

Closed vortice3D closed 6 years ago

vortice3D commented 6 years ago

Hi Julien:

Another functionality we found would be very nice to have is the BJS Editor is the ability to delete the default materials, or else to transform then from Standard to PBR.

What are your thoughts on this?

Thanks for your time.

julien-moreau commented 6 years ago

Looks like a good idea! Then we assume that:

Are you ok with that ?

vortice3D commented 6 years ago

Ok Julien, please do as you prefer.

Our interest here is mainly to be able to change the type of material from Standard to PBR; in order to not need to start from scratch, but with the help of your PBR default scene.

Best regards.

julien-moreau commented 6 years ago

Hey @vortice3D, just added the way to convert standard materials to PBR materials https://github.com/BabylonJS/Editor/commit/95ecc7fc8f307bbaf8a178db585d4582de65d3de

I'm adding the way to clean the not used materials :)

julien-moreau commented 6 years ago

Added a way to remove unused materials (only Standard Materials right now but will work with all other material types soon): https://github.com/BabylonJS/Editor/commit/665310007f1993614cfa273308b5139fcc452557

vortice3D commented 6 years ago

Hi Julien:

Reviewing your great new updates to the BJS Editor we can easily find the way to unassign the materials but not how to remove/delete them.

Any help with this?

vortice3D commented 6 years ago

Hi again Julien:

Excuse me... just found the option in the menu.

The list is not refreshed until it has the focus but we can live with it.

Thanks for your time.

julien-moreau commented 6 years ago

Oh you are right I totally forgot to tell you where to find the button =O Right, I’ll fix the list to be refreshed, good catch !

julien-moreau commented 6 years ago

Just fixed and deployed :)