a8126605e8
added opencv camera linux and android demo; added carousel, connection, and model classes; added format parameter to texture.generate; added android opencv lib build instructions
cocktailfrank2023-05-02 18:43:32 -04:00
f793073348
full example for building opencv libraries; upgrade box demo SDL version
cocktailfrank2023-04-25 23:17:13 -04:00
ecce532abf
fix description of emscripten output for box demo makefile
cocktailfrank2023-04-10 18:06:07 -04:00
297fdef6e8
main readme additions about building on raspberry pi
cocktailfrank2023-04-10 16:27:07 -04:00
6777f26d87
remove angle brackets from heading
frank2023-02-11 19:32:07 -05:00
f47c080d72
box demo android support, android file to string for reading files inside APK
frank2022-11-08 17:16:05 -05:00
ec993b7337
support background images on android icon
frank2022-10-18 16:10:20 -04:00
ad9aab4a46
android helper scripts and icon assets and fill screen android demo
frank2022-10-17 21:57:56 -04:00
e11fecbc12
added fill screen demo for testing basic initialization and drawing
frank2022-10-07 18:56:20 -04:00
0d00314f5a
added ability to set some GL properties with config, added some more GL properties to log
frank2022-10-07 18:29:25 -04:00
d0bf52a03d
instructions for building an android example
frank2022-10-04 18:33:16 -04:00
1ff7f802cb
updated instructions for building with OpenCV + barcode extension through Emscripten
frank2022-09-26 20:57:51 -04:00
346a059ee2
log statements from texture load changed from info to debug level
frank2022-09-22 17:21:53 -04:00
24f6d3ed3d
argument checking for texture load function input
frank2022-09-19 22:14:31 -04:00
60acb11d41
parameter documentation for texture loading
frank2022-09-13 01:01:20 -04:00
b1fb77b1c8
set gl context profile attribute to ES
frank2022-09-07 20:57:00 -04:00
f63cb2bfb2
example program for using a c++ program to stream a webcam in browser
frank2022-09-06 20:52:34 -04:00
52ef535eac
remove unsupported gl functions from emscripten builds, restore removing gl context settings from emscripten builds
frank2022-09-06 20:44:23 -04:00
0bf2e12935
added more documentation for GLObject::generate
frank2022-08-10 13:30:44 -04:00
dc2141c2c4
Merge branch 'pudding' into cuckoo
frank2022-08-09 18:28:29 -04:00
21e1e7e707
set GL attributes before creating a window
frank2022-08-06 18:43:12 -04:00
9fd3ee282e
change default keys for screenshot and video
frank2022-07-26 17:28:56 -04:00
6956688430
add title to README
frank2022-07-23 19:30:39 -04:00
ee06bb6732
use markdown for README
frank2022-07-23 19:27:49 -04:00
d1cb24a785
angle difference and ratio methods
frank2022-07-23 18:55:27 -04:00
7e31b5a1c0
fix trigonometry functions so angles correspond with GL coordinates, add function to calculate angle between two vectors
frank2022-06-19 23:28:01 -04:00
3444afc2c1
changed get_configuration to configuration; added option to return the larger ratio to box aspect; changed default window size to 16:9; changed get_window to window; added SDL_RENDERER_PRESENTVSYNC; removed clear renderer to black on emscripten builds to prevent mouse bug;
frank2022-06-16 16:45:41 -04:00
ee119ecc7e
add engine name to log file name
frank2022-05-06 23:39:32 -04:00
86ca3eabec
convert ndc box to pixel coordinates box in display
frank2021-11-19 14:13:37 -05:00
660865b2f2
read individual vertices and components of vertices in attributes
frank2021-11-16 23:20:56 -05:00
54cf01246b
Display object can return ndc coordinates from a pixel coordinate box
frank2021-11-13 14:49:56 -05:00
03d179eed4
attributes can be accessed as a typed vector; box set gl mode function; mouse events are suppressed in addition to key events when input is suppressed
frank2021-11-09 23:30:27 -05:00
863db5467b
mod only works on int
frank2021-11-04 01:16:09 -04:00
dd736f341f
started utilities file
frank2021-11-01 17:33:27 -04:00
2c0517b9e2
change uint to int for attributes bind index
frank2021-10-29 22:09:01 -04:00
950a95502b
attributes print format
frank2021-10-29 01:07:48 -04:00
70bc054c7f
updated documentation of attribute index
frank2021-10-26 14:05:43 -04:00
9e5ecc3ace
bind and enable/disable attributes
frank2021-10-26 12:48:02 -04:00
df8bf267f0
added const qualifier to box stamp method
Frank DeMarco2020-09-06 03:02:02 -04:00
35a5acbd53
optionally exclude delay time from checking if animation is playing
Frank DeMarco2020-09-05 19:40:59 -04:00
0e6e506c68
added children to sprites; sprite can set canvas it will draw on; fixed memory leak in precise collision detection on scaled sprites
Frank DeMarco2020-09-04 23:10:39 -04:00
877d63cf4e
fix sprite wipe and precision collision for scaled sprites; box move and return copy function
Frank DeMarco2020-09-02 23:32:01 -04:00
3a571adaa3
segment comparison operators; get sdl surface from pixels
Frank DeMarco2020-09-01 17:00:17 -04:00
9058f93ad9
reverse wipe; more precision converting floats in box to sdl_rect
Frank DeMarco2020-08-31 16:36:56 -04:00
66f6d6ef81
specify render driver in config; print all renderer options
Frank DeMarco2020-08-28 22:17:01 -04:00
536a5ec5f5
separate move weighted from move in sprite class
Frank DeMarco2020-08-27 20:41:21 -04:00
edc836908d
box inherits sdl_rect; color comparison operators; pixels operator() returns pointer of void, 8bit, 16bit, or 32bit; remap texture uses pixel class
Frank DeMarco2020-08-26 16:43:43 -04:00
8346f43f21
- Pixel class generalizes pixel access, reads, writes, and applies pixel value modifications to textures of any SDL_TEXTUREACCESS_* and any pixel format - Color inherits SDL_Color directly instead of emulating it - added cast operator for converting Box to SDL_Rect
Frank DeMarco2020-08-22 20:06:06 -04:00
14afcef0ce
fix root lookup; add vec2 to json types; render test image when window is created
Frank DeMarco2020-08-21 02:21:34 -04:00
bab8c778ca
color class, sprite hue shift, generate halo and portal effect animation frames, ignore repeat keys, hue shifted texture
Frank DeMarco2020-08-19 03:29:46 -04:00
ae644b7138
collide box/box, box/line, box/point; sprite/sprite and sprite/box precise alpha collision
Frank DeMarco2020-08-09 16:32:32 -04:00
2b9dd44ff7
- fix bug in box right drag - print int vector - duplicate texture resized
Frank DeMarco2020-08-07 01:38:19 -04:00
f5d03b9be6
- extended version of sdl gfx primitives - drag left and right edge box - complete segment member functions - extension functions: get segments, get relative step, populate pixel array
Frank DeMarco2020-08-06 18:54:50 -04:00
1861b80aa4
line intersection formula from GraphicsGems; started Segment class
Frank DeMarco2020-08-02 00:52:50 -04:00
bc2a4a39ad
- sprite additions: multiple locations, auto wrapping, scale mod - remap colors on a texture - two pixel scaling algorithms: custom scale2x based on http://www.scale2x.it/algorithm.html and superxbr
Frank DeMarco2020-07-25 17:55:27 -04:00