Commit Graph

48 Commits (eb55f8575cfdf0597bef1e95f63db74ee37454c6)

Author SHA1 Message Date
Joe Groff a233d08dec bunny.model, gpu.demos.bunny: update url for bunny model download 2011-02-25 10:22:49 -08:00
Slava Pestov 6ecfe1bfc1 bunny, gpu.demos.bunny: bunny has moved 2010-10-02 19:54:57 -07:00
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 1afb548db3 gpu: add geometry shader support 2010-03-23 02:11:57 -07:00
Joe Groff ef59594700 Merge branch 'master' of git://factorcode.org/git/factor 2010-02-16 10:41:15 -08:00
Joe Groff 8fc8da465b reduce reflection level on gpu.demos.bunny deployment to hopefully get it back below the tools.deploy test limit size 2010-02-16 10:30:20 -08:00
Slava Pestov 4f62d63e47 Merge branch 'deploy-resources' of git://factorcode.org/git/factor into deploy-resources 2010-02-17 00:17:09 +13:00
Slava Pestov 2d57c9d815 Clean up some tags 2010-02-17 00:12:55 +13:00
Joe Groff 8f6cff8167 add icons for gpu.demos.raytrace 2010-02-15 14:29:36 -08:00
Joe Groff 0ddc3611ad icon for gpu.demos.bunny 2010-02-15 11:01:00 -08: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 8c88f98814 add resources.txt for gpu.demos.bunny 2010-02-14 14:03:19 -08:00
Joe Groff 5c3c7992f8 gpu.demos.raytrace: add deploy config and resources.txt 2010-02-14 14:02:47 -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 3fbadffc7a rearrange order of <static-audio-clip> args to be consistent with <streaming-audio-clip> . add a streaming noise generator to audio.engine.test to ensure streaming clips work 2010-01-20 12:26:07 -08:00
Joe Groff 3088ada94b update game.worlds and gpu.demo.raytrace for audio.engine changes 2010-01-20 11:44:18 -08:00
Joe Groff 6f3e6e4222 downsample gpu.demos.raytrace sound effects to 11kHz so they aren't so pointlessly huge 2010-01-19 19:03:01 -08:00
Joe Groff a91b59ebc0 allow audio-sources to control reference distance and rolloff factor 2010-01-19 17:54:55 -08:00
Joe Groff c1e49aa74c add gratuitous audio to gpu.demos.raytrace 2010-01-19 17:54:25 -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 9889c6ed03 remove some leftover debug code from bunny shader 2009-07-29 20:06:28 -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