Commit Graph

14 Commits

Author SHA1 Message Date
c18da5afae TinyGL: Added gluDisk. Fixed args in gluCylinder and gluSphere (#223)
TinyGL:
- Fixed setting of `GL_FRONT_AND_BACK` mode;
- Fixed setting of `GL_SPOT_DIRECTION` angle;
- Optimization of drawing triangles and lines;
- Input parameters are adjusted to the OpenGL standard
  in `gluCylinder` and `gluSphere` functions;
- Added `gluDisk` function (the gluDisk function draws
  a disk-shaped quadric figure);
- Optimize function `calc_buf`.

Flag:
- Added lighting.

info3ds, info3ds_u, test_glu0, test_glu1, test_glu2,
textures0, textures1, textures2:
- Updated programs using `gluCylinder` and `gluSphere`.

Reviewed-on: #223
Reviewed-by: Ivan B <dunkaist@noreply.localhost>
Reviewed-by: Max Logaev <maxlogaev@proton.me>
Co-authored-by: IgorA <aie85playm@gmail.com>
Co-committed-by: IgorA <aie85playm@gmail.com>
2025-05-04 20:00:04 +02:00
IgorA
d3fd66f14b possible smooth buffer resizing,
fix and clean code,
fix and update examples

git-svn-id: svn://kolibrios.org@8069 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-19 19:57:00 +00:00
IgorA
84cfd5cf57 fix library and update example 'textures1'
git-svn-id: svn://kolibrios.org@6145 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-05 20:49:30 +00:00
IgorA
48b0ebd898 code optimize, fix 's' coordinate in 'ZB_fillTriangleMapping'
git-svn-id: svn://kolibrios.org@6141 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-05 11:57:16 +00:00
IgorA
b4dae617cd library speed optimize, fix gears
git-svn-id: svn://kolibrios.org@6126 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-01 23:20:41 +00:00
IgorA
23302af49d fix in textures, add example
git-svn-id: svn://kolibrios.org@6113 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-30 20:09:01 +00:00
IgorA
c64bf3d60e prepare texture functions (need to be finalized)
git-svn-id: svn://kolibrios.org@6108 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-28 19:22:54 +00:00
IgorA
eb687aadb4 small fix in 't_edit'
git-svn-id: svn://kolibrios.org@5939 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-01 12:51:32 +00:00
IgorA
9780bc0c05 fix interpolated pixels colors
git-svn-id: svn://kolibrios.org@5922 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-11-19 23:28:22 +00:00
IgorA
0feb6fbe0b fixes in 'clip.asm'
git-svn-id: svn://kolibrios.org@5208 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-01 16:52:18 +00:00
IgorA
32530313f2 fix in 'ztriangle.inc'
git-svn-id: svn://kolibrios.org@5189 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-24 23:05:55 +00:00
IgorA
01ca66aad4 fixes in draw triangle functions
git-svn-id: svn://kolibrios.org@5187 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-22 19:14:55 +00:00
IgorA
c3161395bd fix in some vertex functions
git-svn-id: svn://kolibrios.org@5175 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-07 15:23:03 +00:00
IgorA
62b33c4994 Fork for library tinygl, assembly version.
Can draw lines, and do some matrix operations.

git-svn-id: svn://kolibrios.org@5153 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-10-31 21:28:24 +00:00