Commit Graph

31 Commits (7fe6721993c08d8558accf99a392dc037b3e0f24)

Author SHA1 Message Date
Slava Pestov 7fe6721993 math.matrices: move normal word from gpu.demos.bunny and reverse sign 2010-07-23 20:41:08 -07:00
Doug Coleman ce95cea303 Finish renaming micros->nanos in game code, update libs 2010-05-21 23:50:42 -05:00
Erik Charlebois 215924baeb Fix build breaks 2010-04-10 22:38:17 -07:00
Joe Groff bc17409c2f gpu.demos.bunny: use images.tiff so that it's present in deployed bundle 2010-02-14 23:27:48 -08:00
Joe Groff 46f79e0542 gpu.shaders: change around vertex-array construction a bit. rename <vertex-array> to <multi-vertex-array> and buffer>vertex-array to <vertex-array*> . add new <vertex-array> that takes a single buffer and reads it with the program's linked vertex-format 2010-02-10 15:27:57 -08:00
Joe Groff d1872e61da change GLSL-PROGRAM: syntax to allow for vertex formats to be specified for link-time attribute index assignment with glBindAttribLocation. the transform feedback format now needs to be marked with "feedback-format:" 2010-02-10 13:03:44 -08:00
Joe Groff 1ab753c552 game.worlds overhaul: add optional support for integrating audio.engine and make game.input integration optional too. add "tick-game-world" generic for extending game-world's tick* method 2010-01-19 16:07:47 -08:00
Joe Groff 5a8395c0ea missing USING:s 2010-01-17 16:07:29 -08:00
Joe Groff ab731d5bf7 game.loop: fps word to divide a value into 1,000,000 2010-01-16 23:25:40 -08:00
Joe Groff ae4fec575f add begin-game-world and end-game-world generics so method-chains aren't needed just to do game setup and teardown at the right time 2010-01-16 23:06:54 -08:00
Joe Groff 98d143fde1 document game.worlds, tweak GAME: syntax 2010-01-16 13:13:13 -08:00
Joe Groff c2fa6cf6eb GAME: syntax for defining game entry point with game-loop attributes 2010-01-16 12:18:50 -08:00
Joe Groff 060a680347 game-loop: change "tick-length" to more descriptive "tick-interval-micros" 2010-01-15 15:03:33 -08:00
Joe Groff 586894be54 bump game demos up to 60fps. we have the technology 2010-01-15 14:36:45 -08:00
Joe Groff ebcaaa0d64 Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff 03bae7d316 remove SIMD:s 2009-11-25 20:21:54 -08:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman ca39b38303 remove system-millis and update vocabs to use system-micros or nano-count 2009-11-18 20:56:09 -06:00
Doug Coleman ae519868f7 over push -> suffix!, over push-all -> append! 2009-10-28 15:29:01 -05:00
Joe Groff 6c0c1d9901 gpu.demos.bunny: tokenize model file as it's read to avoid an extra splitting-and-filtering pass 2009-10-23 00:08:14 -05:00
Joe Groff a42eac4467 remove a redundant head from parse-bunny-model 2009-10-22 20:26:43 -05:00
Joe Groff e07758d96c improve gpu.demos.bunny mesh generation performance 2009-10-22 16:54:54 -05:00
Doug Coleman 4c366ea676 move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Joe Groff 7f68864567 get gpu vocabs to load with c-type changes 2009-09-16 20:55:14 -05:00
Slava Pestov 527db8995a Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Joe Groff ab8429754c change gpu VERTEX-STRUCT: to make a struct class 2009-08-30 23:06:15 -05:00
Joe Groff f9f53b83b0 update gpu.demos.bunny for alien.arrays boxing change 2009-08-26 15:05:07 -05:00
Joe Groff 21ac872ba1 no need to call set-gpu-state* directly 2009-07-30 20:57:22 -05:00
Joe Groff adc6ade589 improve uniform-tuple interface in gpu.render. uniform-tuples can now contain other uniform-tuples to represent struct uniforms. use glUniform*v to blast uniform arrays in one shot. s/-/_/ in slot names so they look more factorish on the CPU side 2009-07-22 22:32:02 -05:00
Joe Groff 93b6b26442 add a new "make-tuple" combinator for cleaving values into tuple slots by name. make render-set read-only and update gpu demos to use make-tuple 2009-07-22 12:43:44 -05:00
Slava Pestov bab0705051 opengl is for chumps 2009-07-19 14:34:24 -05:00