I want to implement an editor application, where i can update the world real time. The idea is the following:
On the left part of the screen displays the world screen, where a sphere is in the middle (the position, diameter, is hardcoded first).
The right half of the screen contains the form, where the material of the sphere can be changed (diffuse, ambient, specular, shininess).
Iteration 1
[x] Display the sphere without ui.
Iteration 2
[x] UI panel. It should be able to displayed and removed. (with a keyboard button action. Eg: 'e' for toggle state)
[x] Define the UI items, update the engine if necessary.
Iteration 3
[x] Use the UI items for updating the material (float inputs, min, max validations for each vector)
[x] Attach the material for the input values. In case of invalid input, the value fallbacks to 1.
Iteration 4
[x] Extend UI with lightsource setup (only directional light).
I want to implement an editor application, where i can update the world real time. The idea is the following: On the left part of the screen displays the world screen, where a sphere is in the middle (the position, diameter, is hardcoded first). The right half of the screen contains the form, where the material of the sphere can be changed (diffuse, ambient, specular, shininess).
Iteration 1
Iteration 2
Iteration 3
Iteration 4