Skip to content

dgithubg/ParticleSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daniel Goldberg
CS C174C 
UCLA

Prerequisites
--------------
 
- Windows XP ,Vista, 7,8
- Visual Studio 2012 (use other template for 2010) . 
Download here http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-windows-desktop

Start as follows:

- Double click on cs174.sln
- Build the solution.

If everything worked fine you should see two windows. The first window is an 
OpenGL window. The second window is a Tcl shell


The executable is created in the "Build" folder. You can run the main program 
outside Visual Studio by running the file "anim.exe"

Interaction
------------

- Moving the mouse with the right button pressed rotates the scene.
- Moving the mouse with the middle button pressed zooms the scene

The following key strokes are recognized:

- r	restore the original view
- 0	reset all systems
- a	toggle animation
- s	toggle simulation        *****
- m	toggle frame dumping
- t	reset all timers
- q	quit
- h	print these instructions


Custom scripts
------------

You can run your own scripts by using the shell command "source <script_path>"


Try out the Project :
-------------------

* Select existing scripts from the Tcl shell window by navigating to /scripts
   * A good example is a complex cube found at /scipts/cube_complex.tcl

* Use the mouse to click on points and drag them around, before or during simulation

* Use the mouse to rotate the viewpoint's orientation in 3D space


-----------------------------------------




------------------------------------
TEMPLATE CODE FOR CS 174C/CS 274C
------------------------------------

About

C++ Particle Simulator Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published