|
|
ec36942f7d
|
Support merging attrib descriptions
|
2020-10-23 17:14:54 +03:00 |
|
|
|
e5c869f27b
|
Add color lighting & darkening functions
|
2020-10-23 17:14:54 +03:00 |
|
|
|
4d9b8dde29
|
Add lerp for generic_color
|
2020-10-23 17:14:54 +03:00 |
|
|
|
ea13bba49a
|
Add generic_color::as_color_Xf
|
2020-10-23 17:14:54 +03:00 |
|
|
|
440fa3777e
|
Refactor attribute specification: move to a separate file + standalone function for use in vertices
|
2020-10-23 17:14:54 +03:00 |
|
|
|
08c62d6e3f
|
Add macro-based pimpl & use it everywhere
|
2020-10-23 17:14:54 +03:00 |
|
|
|
42561ccadb
|
Add distance(point,segment)
|
2020-10-21 22:26:41 +03:00 |
|
|
|
4de7d345a3
|
Fix orthographic transform inverse
|
2020-10-21 22:26:27 +03:00 |
|
|
|
1b3c412102
|
Fix orthographic transform applied to vectors & points
|
2020-10-21 22:26:12 +03:00 |
|
|
|
c1d9095327
|
Change geom::length behavior: always (max-min), even if empty
|
2020-10-21 22:23:57 +03:00 |
|
|
|
77125540e6
|
Implement texture rendering in gfx::painter
|
2020-10-16 07:44:13 +03:00 |
|
|
|
fb9dceea5e
|
Support texture depth attachments & depth-stencil attachments
|
2020-10-16 07:43:52 +03:00 |
|
|
|
c6caf491ab
|
Null framebuffer is returned by reference
|
2020-10-16 07:41:46 +03:00 |
|
|
|
c9ee47a79b
|
Add depth & depth-stencil pixel formats
|
2020-10-16 07:40:41 +03:00 |
|
|
|
2898e2a2c3
|
Fix getting texture pixels into pixmap
|
2020-10-16 07:38:52 +03:00 |
|
|
|
10e00d7c92
|
Add some meshing utilities
|
2020-10-16 07:37:44 +03:00 |
|
|
|
639f8650d4
|
Support constructing a matrix by rows/columns
|
2020-10-16 07:37:22 +03:00 |
|
|
|
6eacee38f0
|
Add constructors to camera classes
|
2020-10-16 07:36:36 +03:00 |
|
|
|
9b8026d5ba
|
Make matrix_camera template on base projection camera
|
2020-10-14 22:15:52 +03:00 |
|
|
|
c562137218
|
Add lerp(inverval, t)
|
2020-10-14 22:15:15 +03:00 |
|
|
|
420695a42b
|
Add slerp implementation for vectors
|
2020-10-08 10:56:55 +03:00 |
|
|
|
dc0f08e5c3
|
Add generic ort(vector) implementation
|
2020-10-08 10:48:03 +03:00 |
|
|
|
bd861a13c7
|
Add interval<T> argument deduction rule
|
2020-10-08 10:47:40 +03:00 |
|
|
|
bb744fa9c9
|
Don't show app window until run
|
2020-10-08 10:46:44 +03:00 |
|
|
|
d807d5c74b
|
Refactor mesh setup & properly disable old attribs on re-setup
|
2020-10-04 17:35:21 +03:00 |
|
|
|
e9af93b747
|
Refactor meshes: single unified mesh class
|
2020-10-04 17:22:38 +03:00 |
|
|
|
726b8486c7
|
Add explicit bool cast for OpenGL objects
|
2020-10-04 17:22:16 +03:00 |
|
|
|
8040d5e1d2
|
Fix painter text rendering
|
2020-10-04 17:20:31 +03:00 |
|
|
|
b0ecc6c056
|
Add OpenGL array class
|
2020-10-04 12:23:01 +03:00 |
|
|
|
6709792abf
|
Move pixel_traits to a separate header
|
2020-10-04 12:22:45 +03:00 |
|
|
|
b1afa3dbc1
|
Uniformize GL objects' interface & add texture extern templates
|
2020-10-04 11:44:16 +03:00 |
|
|
|
db0f7915cf
|
Refactor textures: add generic template, remove copypaste
|
2020-10-04 11:20:53 +03:00 |
|
|
|
daeba8674a
|
Support vector, point & interval uniforms of unknown floating-point/integral types
|
2020-10-04 11:18:01 +03:00 |
|
|
|
3472bf056b
|
Add geom::cast for intervals and boxes
|
2020-10-04 11:15:23 +03:00 |
|
|
|
d8069308ee
|
Support all texture types for framebuffer color target
|
2020-10-03 20:42:16 +03:00 |
|
|
|
5e344c408f
|
Add 2D array textures
|
2020-10-03 20:41:52 +03:00 |
|
|
|
f18fbfdcdb
|
Fix scale transformation matrix
|
2020-10-03 18:44:18 +03:00 |
|
|
|
2771564b94
|
Add instanced_indexed_mesh class
|
2020-10-03 15:36:26 +03:00 |
|
|
|
fed4da3213
|
Support setting vsync in app::app
|
2020-10-03 13:10:09 +03:00 |
|
|
|
90165b9b59
|
Support calling pcg generators with sequence of coordinates (as opposed to geom::vector)
|
2020-10-03 13:06:17 +03:00 |
|
|
|
b47a95a158
|
Store window size in base app
|
2020-10-02 19:19:19 +03:00 |
|
|
|
eb1f5d49ff
|
Add a free-flying camera
|
2020-10-02 19:18:55 +03:00 |
|
|
|
23de4a520e
|
Support rendering part of a mesh
|
2020-10-02 19:18:35 +03:00 |
|
|
|
3c215d6abb
|
Rename indexed_mesh::count -> indexed_mesh::index_count
|
2020-10-02 19:13:54 +03:00 |
|
|
|
d4a7611ee5
|
Refactor mesh vertex size check
|
2020-10-02 19:13:17 +03:00 |
|
|
|
9e79bd1c40
|
Add color_3f & color_4f type aliases
|
2020-10-02 19:12:11 +03:00 |
|
|
|
8348feac9e
|
Rename box_point_distribution -> uniform_box_point_distribution
|
2020-10-02 19:11:47 +03:00 |
|
|
|
18d8ddfb34
|
Initialize pcg::generator state with zeros by default
|
2020-10-01 23:09:42 +03:00 |
|
|
|
d421fc8c65
|
Add easing function, move gradient to a separate header
|
2020-10-01 09:44:47 +03:00 |
|
|
|
1e4fb66a89
|
Move generic lerp to math.hpp
|
2020-10-01 09:44:47 +03:00 |
|