You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to play a bit with the OpenGlControlBase to draw some simple stuff (just a triangle), but I can't seem to get it to work.
I'm using danipens AvaloniaOpenGl tutorials as starting point (I know they're a bit outdated, using Ava 11 preview versions, but I doubt that much has changed since then)
The OpenGL page in ControlCatalog works fine for me.
My test code is here
I'm suspecting its some kind if setup parameter that I'm missing but I just can't find it. My end goal is just drawing a texture, I assume that shouldn't be too complicated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to play a bit with the OpenGlControlBase to draw some simple stuff (just a triangle), but I can't seem to get it to work.
I'm using danipens AvaloniaOpenGl tutorials as starting point (I know they're a bit outdated, using Ava 11 preview versions, but I doubt that much has changed since then)
The OpenGL page in ControlCatalog works fine for me.
My test code is here
I'm suspecting its some kind if setup parameter that I'm missing but I just can't find it. My end goal is just drawing a texture, I assume that shouldn't be too complicated.
Beta Was this translation helpful? Give feedback.
All reactions