100k Particle system using Python OpenGL

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I wouldn't think so. You can think of OpenGL as a language-agnostic API but explicit memory layout of structures (packed arrays of vertexes, triangle lists, etc.) are required by the API.

jsd
Автор

Ok.. sorry., It seems I was the one that should check out my own code before replying. That is OpenGL Shading language, GLSL.
This part draws the spheres. It is easy to modify the code, take out this part, and have it all show up as points instead.

Dr.O
Автор

Short answer, No.
Check out the code, no C there.

Dr.O
Автор

I guess my question is do I need to know C to effectively code OpenGL in Python?

dreamtheater_
Автор

Isn't it "cheating" is some of the code embedded in the Python is written in C?

dreamtheater_
Автор

Well. OpenGL isn't written in Python, neither is numpy. But both those are generic libraries, so no, I would consider this "cheating".

Dr.O
welcome to shbcf.ru