47 Commits

Author SHA1 Message Date
Josh Holtrop
288434562a fix translate to happen after scaling 2014-01-27 21:41:03 -05:00
Josh Holtrop
aa981e928e FadingLogos: draw each logo separately 2013-12-16 22:09:30 -05:00
Josh Holtrop
8dc61686a9 obj2d: use "immutable"; generate logo width/height 2013-12-16 21:59:37 -05:00
Josh Holtrop
37ecb3a30b store each logo scale with 1.0 as max 2013-12-15 18:37:29 -05:00
Josh Holtrop
8bf3b595c3 FadingLogos: add LogoParams class to keep track of multiple logos 2013-12-15 18:36:42 -05:00
Josh Holtrop
ef7e8107b6 ScreenSaver: add get_aspect() 2013-12-15 18:09:58 -05:00
Josh Holtrop
05ac92c2b8 rename FadingLogosMode -> FadingLogos; move to new modes package 2013-12-08 14:22:44 -05:00
Josh Holtrop
1d7f83bcf6 move N_GENTEX and N_CORPORATION constants to logo module 2013-12-07 23:16:13 -05:00
Josh Holtrop
5e124c870a remove a couple unneeded imports 2013-12-07 23:14:48 -05:00
Josh Holtrop
df8a599d8e create Mode interface, move default mode into FadingLogosMode class 2013-12-07 23:04:50 -05:00
Josh Holtrop
c3a3379b56 DefaultShader: make SHADER_SRC a class-wide constant 2013-12-07 22:44:19 -05:00
Josh Holtrop
5c4cfad936 refactor shader code into DefaultShader class 2013-12-07 22:42:59 -05:00
Josh Holtrop
b425c9b8d2 add ScreenSaver.draw_letter() 2013-12-07 22:25:34 -05:00
Josh Holtrop
241c66e56c store each character's center coordinates 2013-11-26 22:26:51 -05:00
Josh Holtrop
9ba5c849d6 scale based on aspect ratio 2013-11-25 22:20:22 -05:00
Josh Holtrop
49a13b8a95 set window position to 0, 0 2013-11-25 21:43:11 -05:00
Josh Holtrop
e65f46bca3 hide mouse cursor 2013-11-24 22:31:55 -05:00
Josh Holtrop
553c0611c8 move main logic into ScreenSaver class 2013-11-24 22:30:48 -05:00
Josh Holtrop
71a1fc8aac increase scale a bit 2013-11-24 22:06:36 -05:00
Josh Holtrop
7b40814022 use displayinfo to determine size 2013-11-24 22:05:32 -05:00
Josh Holtrop
f3b1651349 add "clobber" rake target 2013-11-24 20:35:18 -05:00
Josh Holtrop
5575022ffc add C module to get the Windows display information 2013-11-24 20:34:36 -05:00
Josh Holtrop
15d9612d7e enable multisampling 2013-11-24 14:02:45 -05:00
Josh Holtrop
c010c0bb0f update logo colors 2013-11-24 13:20:35 -05:00
Josh Holtrop
8e6a3ef870 use logo module to draw characters, remove VAOs/VBOs from gss.d 2013-11-24 13:09:54 -05:00
Josh Holtrop
a1ff570721 update modules/glamour to new upstream 2013-11-24 13:08:48 -05:00
Josh Holtrop
543006b3ec obj2d: switch to flat array of indices 2013-11-20 23:54:15 -05:00
Josh Holtrop
6f87666e14 switch modules/glamour to a bugfix branch 2013-11-20 23:14:12 -05:00
Josh Holtrop
a746167957 obj2d: generate flat arrays, use ushort for indices 2013-11-19 22:46:55 -05:00
Josh Holtrop
6985fe462b correct off-by-one error on face/line indices 2013-11-17 18:53:54 -05:00
Josh Holtrop
8cd5add232 testing drawing logo character, but it aint working right 2013-11-17 18:41:31 -05:00
Josh Holtrop
e84a0f17a4 create a second GLSL program for testing drawing the logo 2013-11-17 18:33:19 -05:00
Josh Holtrop
f328282289 initial logo.draw() attempt 2013-11-17 18:28:25 -05:00
Josh Holtrop
a41cd245a9 construct logo VAOs 2013-11-17 18:15:20 -05:00
Josh Holtrop
9a99e5a052 add initial logoobj module 2013-11-17 18:05:06 -05:00
Josh Holtrop
8d32796adb rename generated logo module to logoobj 2013-11-17 16:45:44 -05:00
Josh Holtrop
38aeeba973 obj2d: output vertices and objects 2013-11-17 15:42:39 -05:00
Josh Holtrop
364702d70c gss.d: import logo class 2013-11-13 23:55:48 -05:00
Josh Holtrop
cbea6ea70f start fleshing out obj2d.rb 2013-11-13 23:55:40 -05:00
Josh Holtrop
38a3b1e5f2 update to rscons-0.2.2 2013-11-13 23:53:56 -05:00
Josh Holtrop
52d37bbb46 add Obj2D builder, skeleton obj2d.rb script 2013-11-13 22:50:20 -05:00
Josh Holtrop
89e38af910 ignore top-level "build" directory 2013-11-13 22:46:59 -05:00
Josh Holtrop
37ff6c406a add gentex-logo Blender model and Wavefront OBJ export 2013-11-13 21:01:20 -05:00
Josh Holtrop
5d63a93c4d add Makefile 2013-11-13 20:01:22 -05:00
Josh Holtrop
22dd502d13 change to a full-screen, borderless window 2013-11-12 20:22:34 -05:00
Josh Holtrop
725d17436b add build system and template source file 2013-11-12 20:16:53 -05:00
Josh Holtrop
d7a52ab35c add some D library submodules 2013-11-12 20:08:33 -05:00