DUE: Wednesday, 19 February, 12:00 noon
Create a 3D outdoor scene with changing lighting, texture, and fog.
The scene should:
- be some sort of outdoor scene - city, forest, beach, whatever.
- have a ground plane that is at least 100 x 100 units.
- have at least four distinct objects at different locations, on
the ground - e.g. buildings, trees, a mountain, telephone poles,
ancient Greek ruins, etc. They don't have to be especially realistic.
- use lighting. All of the objects and ground must have materials
- have changing lighting that represents the changing time of day.
There should be both day and night periods - during the day, the sun
(a full intensity light source) should move across the sky; during the
night, the moon (a lower intensity light) should move across the sky.
At a minimum, the light source should move in a line, from (-100, 50, 0) to
(100, 50, 0). The day & night periods should be about 10-20 seconds
long, and must repeat continually.
- change the sky color based on the time of day - light blue during
daytime, black at night.
- include some light fog. Make sure it matches the sky color.
- use at least one texture map on one of the objects.
The movement of the light source must be dynamic. i.e. I should be able to
start the program and see it changing continuously, without requiring any
sort of keyboard / mouse input.
Some optional features (for extra credit):
- Move the sun & moon in an arc, rather than a straight line.
- Draw a representation of the sun & moon, at the same position
as the light source. These can be spheres, or something more abstract;
they should either be drawn without lighting, or with emission.
- Change the sky color smoothly at sunrise & sunset. e.g. have
it gradually change from blue to red to black as the sun reaches the
end of its motion.
- Include camera controls that let one drive around in the scene -
up arrow moves forward, down arrow moves back, left & right arrows
You're free to use any of the code samples that I've presented in class,
as well as any of the toolkit classes that we will be creating next
week (10/12 Feb). You can also use this as the starting point for your
semester project, if it fits.
Turn in the project in the usual manner - create a tar file, and
copy it to /home/dms/dave/424/in/04/.