Due to the large class size and difficulties in grading interactive (or user controled) programs, as well as a desire to encourage (force) students to develop high-quality software with professional-looking user interfaces, all labs will be done on the Windows .NET platform using Windows Forms-based applications and either C# or managed C++. I will bring all students up to speed on Visual Studio, C#, managed C++ and Windows Forms during the first week of class. This environment is installed on the Caldwell PC's (CL 112D), so if you do not have this on your personal PC's, you will have to use the machines in CL 112D or obtain it. Microsoft Visual Studio .NET is free for all CSE majors and installation disks can be checked out from the SOC lab on the 8th floor of Dreese Labs. Please only check these out for a few hours, as we may have a rush on them at the beginning of the quarter. Visual Studio .NET is also part of the Buckeye Bundle which currently costs about $155.
Assignment 0This is a non-graded assignment for those students using their own PC's. Ensure that your environment is set-up correctly, that you can develop Windows Forms applications with OpenGL, and that you can submit them to be graded. Go through HW #1 on the machine you intend to use. Also:
|
|
![]() |
Assignment 1For this assignment, you will take as input a XML file and produce a graph. A basic software template is provided to aid your through your first assignment. There are several . For users not using the .NET framework, download an XML toolkit. I would recommend the TinyXML toolkit. Look at the C++ for .NET files as the XML Document structure will be similar (if not the same). You will also want to use the std::vector<> class and the std::map<> class. These are equivalent to the List<> and Dictionary<> in .NET. Initial framework files are bleow. Simply look for the TODO sections for areas that need to be completed: These both use a DLL created with a few base classes. These are described in CSE 581 Software Reference Library. The source code is available for this is C# and is included in the above zip file.
Note: The CL112D machines where updated and the updated Tao libraries were lost. Please unzip this file and place it in your bin/Debug directory with your executable. Tao.OpenGl-2.1.0.11.zip. In Visual Studio, remove the reference to Tao.OpenGl and then Add Reference and browse to this file and select it. You will get a warning error when you now build (which will cause the program to crash). In the Error window, simply double-click that warning message and it will add an app.config file to correct this error (actually I gave you the app.config in the solution already). We will define the XML file is more detail as the week progresses. Here are some samples: Extra-credit (Maximum 10 points):
|
Assignment 2You will develop a basic world builder with a simple scene graph structure. The complete specifications are here. Spring 2007 and 2005's highlights are slightly different. The Camera and CameraControler class are provided in this simple test project. To get this test project to work you need to do the following:
A sample on how to use it with Visual C++ is included here. Her is the Form.cs file showing the Serialization at the bottom. |
|
Assignment 3Add lighting and shading, texture mapping (1D and 2D), and the ability to save your images. More specifications are available here. If you used the TreeView Control to store your objects, here is a little utility that will allow you to save it to disk and read it back. |
|
Assignment 4For our fourth assignment, we will continue to improve our scene, as well as our interaction. In particular, we will add details to our objects using texture mapping. More specifics are available here. |
|
|
Spring 2008 Highlights |
Assignment 5For our final assignment, we will continue to improve our scene, adding a skybox and some ground clutter. More specifics are available here. This will lead us to our annual Spring graphics contest, where we will pick the top results for the course. Your spectacular images/scenes are submitted to the Spring 2007 Image Competition for this class. The class will vote on the best image(s). |
Last Modified: