Giter Site home page Giter Site logo

opengldotnet's People

Contributors

taylaninan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

opengldotnet's Issues

Add a license file

The repository is missing a license, I would advise adding one.
I'm currently rewriting this library, I hope you don't mind. My reimplementation is public and free to use by anyone. My reimplementation really doesn't share any resemblance to the original, so I may just add MIT licensing to my fork. But before I do, I wanted to give you a chance to add your own license. ^^

GLConfig.GL_VERSION_X_X Enhancement

The current boolean fields are writable from consumer code. I would recommend protecting them with Properties like such:

// Auto-property, with support for setting the backing field privately from outside the static constructor, as you do
public static bool GL_VERSION_1_0 { get; private set; }

//Manual readonly property with private backing field, if you require support for older versions of C#
private static bool glVersion10;
public static bool GL_VERSION_1_0 { get { return glVersion10; } }

GGWP author, such a cool library that that doesn't working!

Just simple code

image

Unhandled Exception: System.AccessViolationException: Attempted to read or write
 protected memory. This is often an indication that other memory is corrupt.
   at OpenGLDotNet.GLUT.glutInit(Int32* argcp, Byte** argv)
   at OpenGLDotNet.GLUT.Init(Int32[] argcp, String[] argv)
   at GL0x01.Program.Main() in C:\OpenGL\Projects\...\...\Program.cs:line 10

But it fix by removing null and create array with some string, but your example show community calling with null param. This is a very good example.

Well, here we are lucky, why lucky? Yes, because the library was able to load! If you use a pre-built debility library from the releases folder there will be an exception that the library cannot load!

What did people do Nuget for? What did people do Releases tab in github? When it is possible to throw everything into the Releases folder in the project and throw it into the repository.

You beat records in quality and attitude to those people who use your library!

Let me know where you got these libraries from:

DevIL.dll
freeglut.dll
glut32.dll
glut32.old.dll
ILU.dll
ILUT.dll

I have not seen these libraries in Nuget dependencies. I have not seen these libraries in project resources. And again you broke the record in relation to the community! You just threw them into the debug folder!

What is the glu32.old library? Why keep old libraries if it is not clear where they are used?
What kind of library freeglut.dll? And why use it if there is glu32? glu32 not working or what?

After compiling the demo in the Releases folder does not work, it just crashes! I can't believe how you did it at all!

If the library is positioned as comfortably, why not make the simple overloaded GLUT.Init method without arguments? That will call GLUT.Init (new [] {0}, null).

How could this even be mentioned on the official opengl website as super comfortable opengl binding? If it just does not work.

I certainly understand that I can be blunt, but not so much that I could not call a simple method and get an exception!

I hope for the understanding of the author and the fact that he will fix his shoals with this library.

At a least, it will be placed on nuget, in github releases, the ready lib will be put, and all other libraries will be indicated in the file third-party or indicate where they will be taken from.

Given that the library is mentioned in the official documentation, it would be nice to make it humanely

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.