Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] Log of /trunk/sml3d/src/particles
ViewVC logotype

Log of /trunk/sml3d/src/particles

View Directory Listing Directory Listing


Sticky Revision:

Revision 803 - Directory Listing
Modified Wed Mar 24 14:41:27 2010 UTC (9 years, 6 months ago) by jhr
  Tracking changes to sml3d library

Revision 773 - Directory Listing
Modified Tue Mar 2 05:12:30 2010 UTC (9 years, 7 months ago) by pavelk
Change PSVars that deal with vectors to take tuples to reduce code size.

Revision 771 - Directory Listing
Modified Tue Feb 23 22:38:17 2010 UTC (9 years, 7 months ago) by pavelk
Switched domain creation funtions to take record types instead of tuples.

Revision 770 - Directory Listing
Modified Mon Feb 22 00:17:15 2010 UTC (9 years, 7 months ago) by pavelk
Restructured some of the particles code to better fit the idea that we have for how it's supposed to work. Also, I moved the runtime code for the old psys into the new runtime module. Our example doesn't work properly anymore, since the old particle action system doesn't have a mechanism for specifying branches, so the particles never die.

Revision 769 - Directory Listing
Modified Mon Feb 15 22:52:36 2010 UTC (9 years, 8 months ago) by pavelk
Changed the way we define actions to be a list of combinators. This way we have support for if-then-else statements at a higher level and rendering operations (should we need them).

Revision 758 - Directory Listing
Modified Tue Feb 9 04:46:06 2010 UTC (9 years, 8 months ago) by pavelk
Optimized translation of SINK to avoid a branch. Changed reference counting in optimizer to go from top down rather than from the bottom up.

Revision 750 - Directory Listing
Modified Tue Feb 2 16:12:23 2010 UTC (9 years, 8 months ago) by jhr
  Added some comments

Revision 748 - Directory Listing
Modified Tue Feb 2 06:08:36 2010 UTC (9 years, 8 months ago) by pavelk
Whoops, forgot the optimization module.

Revision 747 - Directory Listing
Modified Tue Feb 2 06:07:28 2010 UTC (9 years, 8 months ago) by pavelk
Implemented some simple optimizations: removing unused variables and constant folding. Also, realized that there's no need for the CONST stmt, since variables are either constants by construction or they get optimized into such.

Revision 746 - Directory Listing
Modified Mon Feb 1 04:51:45 2010 UTC (9 years, 8 months ago) by pavelk
Moved syntax, type, and definitions checker into its own module, and they work over the whole program, not when the statements get created.

Revision 745 - Directory Listing
Modified Sun Jan 31 20:29:12 2010 UTC (9 years, 8 months ago) by pavelk
Updated translate to reflect the new changes to our IR.

Revision 744 - Directory Listing
Modified Thu Jan 28 16:00:26 2010 UTC (9 years, 8 months ago) by jhr
  Added useCount to variables and binding info for locals

Revision 743 - Directory Listing
Modified Tue Jan 26 07:06:45 2010 UTC (9 years, 8 months ago) by pavelk
Minor code tweak because I'm OCD.

Revision 742 - Directory Listing
Modified Tue Jan 26 07:02:31 2010 UTC (9 years, 8 months ago) by pavelk
When checking a goto statement, make sure that the arguments match the block parameters.

Revision 741 - Directory Listing
Modified Tue Jan 26 06:22:28 2010 UTC (9 years, 8 months ago) by pavelk
Fix support for variables that need to persist via blocks, i.e. give blocks more arguments than just the particle state variables.

Revision 740 - Directory Listing
Modified Tue Jan 26 05:52:37 2010 UTC (9 years, 8 months ago) by pavelk
Got a working type checker and a post-compile check to make sure that all of the variables that we reference are defined.

Revision 730 - Directory Listing
Modified Sat Jan 23 17:11:31 2010 UTC (9 years, 8 months ago) by pavelk
Update runtime sig, rename some of the files to better reflect what they represent.

Revision 729 - Directory Listing
Modified Sat Jan 23 16:40:22 2010 UTC (9 years, 8 months ago) by pavelk
Restructured some code, added beginning of runtime signature, example now spits out IR before running the example...

Revision 705 - Directory Listing
Modified Tue Jan 19 15:42:34 2010 UTC (9 years, 9 months ago) by jhr
  Updates to particle-system code

Revision 688 - Directory Listing
Modified Tue Jan 12 14:14:53 2010 UTC (9 years, 9 months ago) by jhr
  Fix indentation

Revision 687 - Directory Listing
Modified Tue Jan 12 05:55:53 2010 UTC (9 years, 9 months ago) by pavelk
Finished up example using old psys. Implented orbit line seg in new IR

Revision 686 - Directory Listing
Modified Tue Jan 5 15:27:17 2010 UTC (9 years, 9 months ago) by jhr
  Fixing indentation

Revision 685 - Directory Listing
Modified Tue Jan 5 15:21:05 2010 UTC (9 years, 9 months ago) by jhr
  Bug fix

Revision 672 - Directory Listing
Modified Mon Jan 4 00:57:24 2010 UTC (9 years, 9 months ago) by pavelk
Working on getting an example functioning using the new action system.

Revision 616 - Directory Listing
Modified Tue Dec 22 05:56:50 2009 UTC (9 years, 9 months ago) by pavelk
Work on translate.sml

Revision 611 - Directory Listing
Modified Tue Dec 15 15:41:36 2009 UTC (9 years, 10 months ago) by jhr
  Started to switch to using letPRIM in translations

Revision 610 - Directory Listing
Modified Tue Dec 15 15:41:20 2009 UTC (9 years, 10 months ago) by jhr
  Added NEG and NORM primops

Revision 609 - Directory Listing
Modified Tue Dec 15 14:17:53 2009 UTC (9 years, 10 months ago) by jhr
  Added letPRIM helper function

Revision 608 - Directory Listing
Modified Tue Dec 15 04:25:52 2009 UTC (9 years, 10 months ago) by jhr
  Fixed indentation

Revision 607 - Directory Listing
Modified Tue Dec 15 01:44:12 2009 UTC (9 years, 10 months ago) by pavelk
Move normalizing vectors into a separate function in order to trim down code size.

Revision 606 - Directory Listing
Modified Mon Dec 14 05:13:25 2009 UTC (9 years, 10 months ago) by pavelk
Fixed incorrect comment

Revision 605 - Directory Listing
Modified Mon Dec 14 05:12:57 2009 UTC (9 years, 10 months ago) by pavelk
Finished preliminaries for translation. We have the materials to construct the old example. Next we need to debug everything... =(

Revision 604 - Directory Listing
Modified Sun Dec 13 21:31:10 2009 UTC (9 years, 10 months ago) by pavelk
Work on IR.

Revision 583 - Directory Listing
Modified Fri Dec 11 16:30:15 2009 UTC (9 years, 10 months ago) by jhr
  Track changes to base signatures

Revision 576 - Directory Listing
Modified Tue Dec 8 16:19:38 2009 UTC (9 years, 10 months ago) by jhr
  Working on translation to IR

Revision 575 - Directory Listing
Modified Tue Dec 8 04:47:46 2009 UTC (9 years, 10 months ago) by pavelk
Fleshed out a few more definitions for some action datatypes. Added a function that translates PSVars to IRVars. Implemented translation of "gravity" action \(although it was mostly similar to move.\)

Revision 548 - Directory Listing
Modified Tue Dec 1 15:28:19 2009 UTC (9 years, 10 months ago) by jhr
  Fixing up new particle-system code

Revision 547 - Directory Listing
Modified Tue Dec 1 06:30:16 2009 UTC (9 years, 10 months ago) by pavelk
Moved old particle system implementation into separate files, and updated the new ones to support our new version of particle systems. Unfortunately I don't know whether or not it compiles since we don't have any examples that use this new system.

Revision 539 - Directory Listing
Modified Tue Nov 24 15:47:22 2009 UTC (9 years, 10 months ago) by jhr
  Add blocks and smart constructors to IR

Revision 517 - Directory Listing
Modified Tue Nov 17 15:58:42 2009 UTC (9 years, 11 months ago) by jhr
  Code cleanup

Revision 516 - Directory Listing
Modified Tue Nov 17 14:21:26 2009 UTC (9 years, 11 months ago) by jhr
  Code cleanup

Revision 515 - Directory Listing
Modified Tue Nov 17 04:32:50 2009 UTC (9 years, 11 months ago) by pavelk
Added an infrastructure for the compilation process, used MOVE as a prototype.

Revision 501 - Directory Listing
Modified Tue Nov 3 15:46:36 2009 UTC (9 years, 11 months ago) by jhr
  Working on translation

Revision 500 - Directory Listing
Modified Tue Nov 3 15:21:48 2009 UTC (9 years, 11 months ago) by jhr
  Remove signature for IR

Revision 499 - Directory Listing
Modified Tue Nov 3 14:02:09 2009 UTC (9 years, 11 months ago) by jhr
  Renaming to match coding conventions

Revision 498 - Directory Listing
Modified Sun Oct 25 03:32:49 2009 UTC (9 years, 11 months ago) by pavelk
Broke out particle IR into its own module.

Revision 497 - Directory Listing
Modified Sun Oct 18 03:28:10 2009 UTC (10 years ago) by jhr
  Fixed indentation

Revision 496 - Directory Listing
Modified Wed Oct 14 05:23:53 2009 UTC (10 years ago) by pavelk
Whoops, forgot this with the last change.

Revision 495 - Directory Listing
Modified Wed Oct 14 05:19:05 2009 UTC (10 years ago) by pavelk
Added a first pass at datastructures for an internal representation of our particle systems.

Revision 489 - Directory Listing
Modified Sat Sep 26 17:38:27 2009 UTC (10 years ago) by pavelk
Fixed bugs associated with OrbitLine. Looks pretty cool now.

Revision 487 - Directory Listing
Modified Thu Sep 24 06:19:20 2009 UTC (10 years ago) by pavelk
Added PSysOrbitLineSeg. Work in progress...

Revision 486 - Directory Listing
Modified Thu Sep 24 00:30:05 2009 UTC (10 years ago) by pavelk
Make psysenv its own type instead of having to refer to PSYSENV.set all the time.

Revision 485 - Directory Listing
Modified Wed Sep 23 06:44:25 2009 UTC (10 years ago) by pavelk
Started the use of red-black trees, although it could be a bit cleaner. May have ruined indentation again (did my best not to...)

Revision 483 - Directory Listing
Modified Tue Sep 22 04:33:05 2009 UTC (10 years ago) by jhr
  Put modules in their own files and fix indentation

Revision 477 - Directory Listing
Modified Fri Sep 4 05:27:09 2009 UTC (10 years, 1 month ago) by pavelk
Implemented particle example using new interface. Getting ready to move to GPUs

Revision 476 - Directory Listing
Modified Wed Sep 2 03:03:51 2009 UTC (10 years, 1 month ago) by pavelk
Adding preliminary definion for a PSysVar

Revision 475 - Directory Listing
Modified Thu Jun 4 20:50:23 2009 UTC (10 years, 4 months ago) by pavelk
Fixed build. Price of not having MLton on the macLab machines =(

Revision 474 - Directory Listing
Modified Thu Jun 4 20:41:40 2009 UTC (10 years, 4 months ago) by pavelk
Added documentation to particles-sig.sml, updated README

Revision 466 - Directory Listing
Modified Fri May 29 23:13:49 2009 UTC (10 years, 4 months ago) by pavelk
Fixed a bug which prevented count from being decremented when particles dies. Sped up performance by not updating the buffers after every action.

Revision 465 - Directory Listing
Modified Fri May 29 22:51:06 2009 UTC (10 years, 4 months ago) by pavelk
Changed actions to be particle->particle types. Vertex information (color and position) now resides in fixed buffers.

Revision 464 - Directory Listing
Modified Wed May 27 18:22:16 2009 UTC (10 years, 4 months ago) by pavelk
Updated preliminary code to support color buffers and fix memory problem.

Revision 463 - Directory Listing
Modified Sun May 24 14:43:38 2009 UTC (10 years, 4 months ago) by jhr
  Don't render when there are no particles.

Revision 458 - Directory Listing
Modified Fri May 22 23:34:02 2009 UTC (10 years, 4 months ago) by pavelk
First attempt at using vertex buffers to render the particles, ran into some sort of exception on Linux. Added geyser to top-level makefile.

Revision 438 - Directory Listing
Modified Fri May 1 22:04:01 2009 UTC (10 years, 5 months ago) by pavelk
Added bounce. Needs tuning.

Revision 437 - Directory Listing
Modified Wed Apr 29 14:29:14 2009 UTC (10 years, 5 months ago) by pavelk
Added sink action. Example now has something interesting on a loop.

Revision 436 - Directory Listing
Modified Wed Apr 29 02:25:01 2009 UTC (10 years, 5 months ago) by pavelk
Updated random generation of points in a disc. I believe that this is correct, although not as efficient as can be since it involves a square root.

Revision 435 - Directory Listing
Modified Tue Apr 28 05:00:54 2009 UTC (10 years, 5 months ago) by pavelk
Added gravity action and a few domain generator implmentations. The disc needs to be reworked, it's not even close to uniform.

Revision 434 - Directory Listing
Modified Mon Apr 27 19:59:42 2009 UTC (10 years, 5 months ago) by jhr
  Minor fixes and code cleanup

Revision 433 - Directory Listing
Modified Mon Apr 27 18:52:17 2009 UTC (10 years, 5 months ago) by pavelk
Changed particle render size to its velocity, otherwise it was too small\!

Revision 430 - Directory Listing
Modified Mon Apr 27 18:29:19 2009 UTC (10 years, 5 months ago) by jhr
  MLB file cleanup

Revision 429 - Directory Listing
Modified Mon Apr 27 15:10:27 2009 UTC (10 years, 5 months ago) by pavelk
First pass at new implementation of particle systesm using David Mcallister's API

Revision 292 - Directory Listing
Modified Tue Sep 30 07:54:18 2008 UTC (11 years ago) by jhr
repository restructuring

Revision 279 - Directory Listing
Modified Sun Sep 28 15:19:32 2008 UTC (11 years ago) by jhr
Original Path: src/particles
  fix comment

Revision 38 - Directory Listing
Modified Thu Mar 13 14:30:45 2008 UTC (11 years, 7 months ago) by jhr
Original Path: src/particles
  Merged math library into common

Revision 1 - Directory Listing
Added Fri Dec 29 22:12:14 2006 UTC (12 years, 9 months ago) by jhr
Original Path: src/particles
  Create initial repository

Sort log by:

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0