OpenTKTutorialContent | Project files from OpenTK tutorials from my blog | Blog library
kandi X-RAY | OpenTKTutorialContent Summary
kandi X-RAY | OpenTKTutorialContent Summary
Project files from OpenTK tutorials from my blog.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of OpenTKTutorialContent
OpenTKTutorialContent Key Features
OpenTKTutorialContent Examples and Code Snippets
Community Discussions
Trending Discussions on OpenTKTutorialContent
QUESTION
I have been able to get the window to render, Im pretty sure my shader is working, and I can fetch the Image from my assets, however when I actually render the view I just get my blue background and no sprite shows up.
Basic design is as follows:
Views inherit the abstract class WindowBase, which has most of the heavy lifting in it and declares a Shader (I only have one right now in Assets). My only view right now is just Main.cs
I can then Declare ObjectBase instances in a View. Objects have Animations composed of Sprites which are linked to Textures generated by the Texture Service via OpenGL.
There's also an input service that doesnt do much yet, though I do have it bound to Escape Key to close the window right now. But I doubt that part of the program is linked to this problem.
Update: Piece by piece, I slowly converted the original to mine and found it broke as soon as I swapped to my Shader system, so the issue lies within there. I'll post my code vs their's here:
I'm guessing at this point I must've typo'd somewhere. Or one of my loops just isn't compatible. Perhaps the way I'm handling my streamreader in the Assets Class?
...ANSWER
Answered 2017-Apr-10 at 02:03Solved it: My problem was on line 114, I had the following code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install OpenTKTutorialContent
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page