Docsity

Assignment for Java Graphic programming - Computer Graphics | CMSI 371, Assignments of Computer Graphics

Toggle sidebar
bg1
C M S I 3 7 1
CO M P U T E R GR A P H I C S
Fall 2005
Assignment 1006
This assignment combines Java graphics programming with an exercise in manipulating images at the
byte level. Note the due date โ€” Iโ€™m giving you a little bit more time on this. Use it well ๏Š
Not for Submission
Textbook material for graphics and memory can be found in Angel Sections 2.5 and 3.12; in reality, this
background is so fundamental that you will find it interspersed everywhere. For really specific applica-
tions of this knowledge, look at Chapter 8 of the red book โ€” that will truly test how well you under-
stand the correspondence and mapping between pixels and memory.
For Submission
Write the following graphics programs, and submit the code to me both in hardcopy and by e-mail.
1. Convert the Fireworks sample program to 3D using JOGL. By โ€œ3D fireworks,โ€ we mean that the
sparks travel in three dimensions. Integrate a mouse-rotation feature into your Fireworks 3D so that
the 3D fireworks can be viewed from any angle.
2. Reuse the ColorChanger interface to implement 2 additional simple filters for Nanoshop. Ideas in-
clude, but are not restricted to: brightness filter, contrast filter, inverter (negative), and tinter (adds a
shade of a certain color without completely removing the existing colors).

Partial preview of the text

Download Assignment for Java Graphic programming - Computer Graphics | CMSI 371 and more Assignments Computer Graphics in PDF only on Docsity!

C M S I 3 7 1

C O M P U T E R G R A P H I C S

Fall 2005

Assignment 1006

This assignment combines Java graphics programming with an exercise in manipulating images at the byte level. Note the due date โ€” Iโ€™m giving you a little bit more time on this. Use it well ๏Š

Not for Submission

Textbook material for graphics and memory can be found in Angel Sections 2.5 and 3.12; in reality, this background is so fundamental that you will find it interspersed everywhere. For really specific applica- tions of this knowledge, look at Chapter 8 of the red book โ€” that will truly test how well you under- stand the correspondence and mapping between pixels and memory.

For Submission

Write the following graphics programs, and submit the code to me both in hardcopy and by e-mail.

  1. Convert the Fireworks sample program to 3D using JOGL. By โ€œ3D fireworks,โ€ we mean that the sparks travel in three dimensions. Integrate a mouse-rotation feature into your Fireworks 3D so that the 3D fireworks can be viewed from any angle.
  2. Reuse the ColorChanger interface to implement 2 additional simple filters for Nanoshop. Ideas in- clude, but are not restricted to: brightness filter, contrast filter, inverter (negative), and tinter (adds a shade of a certain color without completely removing the existing colors).