Comments (3)
Nice work! I've added a link in the sidebar and a reference to it in the context creation chapter.
from open.gl.
Awesome! One more comment:
You'll just have to install SOIL separately.
I actually bundle stb which includes stb_image. SOIL wraps stb_image, and it looked unmaintained when I last checked it out. I don't know how much of the extra bits of SOIL you are using (e.g. cubemaps). It may be possible to just get by with stb, and then not have to link with SOIL's libfile.
SOIL
unsigned char* image = SOIL_load_image("img.png", &width, &height, 0, SOIL_LOAD_RGB);
STB (see Glitter/Samples/mesh.cpp#L139 for a full example)
unsigned char* image = stbi_load("img.png", &width, &height, &channels, 0);
from open.gl.
Fair enough, I'll see if I can change the main tutorial to use STB.
from open.gl.
Related Issues (20)
- Ad obscures text when at small screen width HOT 2
- glDrawElements clarification HOT 2
- Stencil buffer with SDL2 HOT 2
- Suggestion: Debuggers HOT 1
- Please use appropriate C++11 functionality.
- Open.GL – Cross-Site Scripting (XSS) HOT 1
- Context settings for SFML HOT 1
- Bug/typo in Geometry Shaders Exercise 1 preventing geometry shader compilation
- [Suggestion] Format GLSL code so that the shader macro you added is used properly HOT 2
- Can you also layout tutorials for Qt with OpenGL ? HOT 1
- Book missing the transformations section HOT 1
- Syntax highlighting in ebook
- Typo in ebook HOT 1
- Matrix stuff doesn't work after glm v0.9.9.0 removed default initialization HOT 4
- Open.gl: Ad messes with sidebar HOT 5
- Use another CDN for Highlight.js HOT 4
- can you increase font size and padding for PDF/EPUB books?
- Ambiguity in the description HOT 1
- Code overflowing on ePub and PDF version
- How to fetch the number of vertices for each primitive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open.gl.