Using OpenGL with PyQt6

  Рет қаралды 5,977

GetIntoGameDev

GetIntoGameDev

Күн бұрын

Пікірлер: 8
@alexandrepv
@alexandrepv 6 ай бұрын
Amazing intro! Could you show us how one could have multiple Opengl Surfaces and GUI (like a button or two)? Also, is this updated only when the GUI is redrawn?
@DiueYm
@DiueYm Жыл бұрын
It seems that the OpenGL version setting didn't have any effect. I still get a context with version 2.1 on my Mac😂
@GetIntoGameDev
@GetIntoGameDev Жыл бұрын
Yeah, I've been having mixed results with PyQt's OpenGL stuff on Mac too...
@DiueYm
@DiueYm Жыл бұрын
Well, I have figure out that the surface format should be set before the creation of the window. In the init function of the inherited window class, I create a new QSurfaceFormat object, set the version value and call self.setFormat function with this new format object, it works😁
@oliviercoutant9895
@oliviercoutant9895 Ай бұрын
@@DiueYm Could you send me the piece of code with your corrections?
@jonforhan9196
@jonforhan9196 Жыл бұрын
How are you never binding the vbo only vao.. twice?
@GetIntoGameDev
@GetIntoGameDev Жыл бұрын
Yeah I dunno, confused me too.
@ppdesu4142
@ppdesu4142 Жыл бұрын
great line 70 should be "self.vbo" instead "self.vao"😁
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 121 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 32 МЛН
Кто-то еще помнит про эту консоль?
0:51
ПРОСТО ЛЕШКА
Рет қаралды 3,1 МЛН
😱ЧТО? В Айфоне ПРО нет 120 герц? 🤯
0:44
Не шарю!
Рет қаралды 564 М.
Самый дорогой iPHONE 16 PRO MAX #shorts
0:58
Арсений Петров
Рет қаралды 3,3 МЛН