New materials demo. Other news...

MaterialsDemo.java
MaterialsRenderer.java
images for buttons
Material Demo 2.0:
- Much improved and easier to use GUI: removed unnecessary sliders/buttons/labels. Added JToggleButtons for turning lights on and off. Added a button to default the lights' positions in case they get moved out of the viewing range. Much repositioning of existing buttons.
- Added selection of the light sources. They can each be independently moved via the mouse.
- Added zoom in/out via the up/down arrow keys.
- Fixed some minor bugs dealing with switching properties through the combo boxes.
- Cleaned up the code a lot.
Ideas for a version 3.0:
- Preset values that the user can select showing different interesting combinations preset by myself.
- Slightly optimize the GUI... there is still some empty space that could be utilized or condensed.
- The option to change the values of the lights themselves: positional vs directional; spot lights; colors; attenuation values, etc.
Progress in other areas:
I've made some good progress towards a selection/picking demo as well as environment mapping. The mipmapping is coming along as well. Right now I need to tweak a few things and add a GUI for the texture demo(which will encompass both environment mapping and mipmapping), and the selection demo should follow shortly thereafter.
These will be posted in the next 2 to 3 days. I also implemented full scene antialiasing as described in the Red Book and might include that in either of the demos as a little bonus( with options for changing the jitter values, which can produce some interesting effects when motion is present).


0 Comments:
Post a Comment
<< Home