WhitestormJS / whs.js

:rocket: 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js
MIT License
6.15k stars 391 forks source link

DatGUIModule: add material properties #205

Open sasha240100 opened 7 years ago

sasha240100 commented 7 years ago

Implementation

There is a materials.js configuration file that explains dat.gui which properties should be editable.

Properties should be taken from three.js documentation for material objects.

propertyName: 'propertyType'

In priority
Properties that can be used in multiple materials

Should be added to additional object and separated regarding their meaning (like wireframe):

image

Properties used in all materials

Should be added to any object.

image

Do as many properties as you can.

Progress


add(originObject, ...extensions)

Version:
Issue type:

Tested on: ###### Desktop - [ ] Chrome - [ ] Chrome Canary - [ ] Chrome dev-channel - [ ] Firefox - [ ] Opera - [ ] Microsoft IE - [ ] Microsoft Edge ###### Android - [ ] Chrome - [ ] Firefox - [ ] Opera ###### IOS - [ ] Chrome - [ ] Firefox - [ ] Opera
taro-0 commented 7 years ago

@sasha240100 could you clarify the explanation of this one?

sasha240100 commented 7 years ago

@t4r0 yes, ask me what you misunderstood. Can you go to discord?

hirako2000 commented 7 years ago

I think we got to fix the problem with the gui data before adding more properties.