Adrien Bourmault
acd24a07a4
include/base.h: solve bug with gtk4 constant redefinition
2024-04-18 16:43:18 +02:00
Adrien Bourmault
79cae53525
src/graphics, src/parsing: drawing model initial state
2024-01-12 17:23:06 +01:00
Adrien Bourmault
5f2abbda15
WIP: src/graphics, src/parsing: get multiplicity
2024-01-12 11:17:40 +01:00
Adrien Bourmault
3bb99b5a26
src/graphics: corrected aspect ratio and optimized matrices
2024-01-11 23:43:39 +01:00
Adrien Bourmault
0da55ac88b
Use parsed model to define dimension and space size of GLArea
2024-01-11 22:27:52 +01:00
Adrien Bourmault
d50ce9afe1
WIP: simple opening of XML file
2024-01-11 18:10:16 +01:00
Adrien Bourmault
ff35840a26
src/graphics, src/ui: reworked GLArea generation and setup
2024-01-10 11:51:53 +01:00
Adrien Bourmault
9bb7cefc2f
WIP: no image but no more segfault
2023-12-20 18:01:27 +01:00
Adrien Bourmault
02880d3dde
WIP: GLArea managed by graphical stack, but nothing is displayed
2023-12-20 14:13:04 +01:00
Adrien Bourmault
319b84b099
WIP: GLAreas stacks are now managed
2023-12-20 13:34:44 +01:00
Adrien Bourmault
9325a7cb6f
WIP: total rewrite graphic stack allocation
2023-12-19 21:46:51 +01:00
Jean Sirmai
89ffa7fb82
O K P R I N T I N G + O K D R A W I N G ( + C O M M E N T S )
2023-12-12 18:37:32 +01:00
Jean Sirmai
d538e1a0ef
Ok console; Ok graphisme (sauf inversion N/S) pour de petits nombres aléatoires
2023-12-12 18:36:31 +01:00
Jean Sirmai
5c224b20cf
create_arrow() creating in arrows_ptr and drawing
2023-12-12 16:55:09 +01:00
Jean Sirmai
5c8ed2ce06
REF: OK POUR DES PETITES VALEURS (RANDOM) - VERTEX & LIGNES GROUPÉES
2023-12-12 16:54:48 +01:00
Jean Sirmai
246e73111f
OK (space & arrows) pour de petits nombres. Nettoyage en cours.
2023-12-12 16:54:41 +01:00
Jean Sirmai
551c5a5df2
Forme quasi stable
2023-12-12 16:54:12 +01:00
Jean Sirmai
6698c51c6d
Fixed segfault/abort/double free with realloc in *_arrow()
2023-12-12 16:54:05 +01:00
Jean Sirmai
0ebd025bd8
create_arrow(): fonctionnel mais quelques bugs
2023-12-12 16:51:59 +01:00
Jean Sirmai
2732ec3289
src/graphics/*: Reworked modularity, buffer allocation and reallocation of lines buffer
...
Acked-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2023-12-12 16:50:57 +01:00
Jean Sirmai
5549f334b8
First 3D representation
...
Space units are 3D, arrows are 3D, space can be 3D/2D/1D.
Every dimension length can be defined independently.
At this time, arrows are drawn after a statically-defined array.
Signed-off-by: Jean Sirmai <jean@a-lec.org>
Acked-by: neox <neox@a-lec.org>
2023-12-12 16:50:27 +01:00
Jean Sirmai
a6927dbaa5
WIP: pref_3D_xor_2D_space and pref_mark_unit_space_zero seem OK (check)
2023-06-23 16:55:58 +02:00
Jean Sirmai
28c45295c6
WIP: Restructuration graphics/graphics in progress. Is OK.
2023-06-23 12:52:44 +02:00
Jean Sirmai
4d5aa2c993
WIP: Bon. C'est blindé d'erreurs mais ça le fait en 3D + 1 p'tite flèche. A nettoyer ++
2023-06-15 21:29:15 +02:00
Jean Sirmai
e9d45b3e88
WIP: un p'tit coup d'espace 3D (sans les flèches)
2023-06-15 20:48:40 +02:00
Jean Sirmai
a0cce217b2
WIP: Réorganisation de graphics.c création de space_2D.c et arrow_2D.c
2023-06-15 19:50:49 +02:00
Jean Sirmai
1c5f45d505
Is OK. Avant restructuration. (découpage de graphics.c en "control_graphics.c" + space_2D.c + _3D.c + etc)
2023-06-15 11:40:55 +02:00
Jean Sirmai
efe117076f
Première représentation 3D d'un modèle 1D
2023-06-09 15:03:28 +02:00
Jean Sirmai
2a9ed561fb
Added include/parsing.h
2023-04-18 11:16:52 +02:00
Adrien Bourmault
abea32cd88
WIP: gl_area params allocated
2023-02-26 14:57:50 +01:00
Adrien Bourmault
b2e25470ed
WIP: solved segfault but need to improve gl_area_array
2023-02-25 21:23:37 +01:00
Adrien Bourmault
0396f8039b
WIP: NOT WORKING: read_file()
2023-02-23 21:54:22 +01:00
Adrien Bourmault
d761711ede
WIP: allocation dynamique des paramètres de GLArea
2023-02-23 19:51:02 +01:00
Adrien Bourmault
ef901d4a48
Cleanup & refactor
2023-01-26 01:56:54 +01:00
Adrien Bourmault
8aae05fefc
Cleanup and added events
2023-01-26 01:38:51 +01:00
Adrien Bourmault
64fa82a741
GLArea dans la place
2023-01-26 01:07:07 +01:00
Adrien Bourmault
0a494a6b21
Notifications fonctionnelles
2023-01-25 23:14:55 +01:00
Adrien Bourmault
a70d4fcf21
WIP: notification
2023-01-25 20:20:25 +01:00
Adrien Bourmault
91026f87be
Changed function naming style
2023-01-25 19:27:51 +01:00
Adrien Bourmault
4d65a51e09
Obtained open/close with changing mode
2023-01-25 18:48:01 +01:00
Adrien Bourmault
555478c783
WIP: new actions
2023-01-25 15:25:04 +01:00
Adrien Bourmault
1b17dcf5b1
Réorganisation des répertoires
2023-01-25 12:24:52 +01:00
Adrien Bourmault
4766fbc9bb
WIP: obtained a window
2023-01-24 21:06:32 +01:00
Adrien Bourmault
4b6383bf0c
WIP: obtained a window
2023-01-24 21:06:05 +01:00
Adrien Bourmault
dce3310970
WIP: C transition, beginning from gemgl
2023-01-23 18:52:57 +01:00