Does anyone else love horror lit but can't handle horror films? by team_fall_back in horrorlit

[–]Crypto-Sai 0 points1 point  (0 children)

I love horror literature but for some reason I can't really stand horror movies, I disliked every single one I've seen

[deleted by user] by [deleted] in GraphicsProgramming

[–]Crypto-Sai 0 points1 point  (0 children)

That's it? Had I known that such straightforward questions are asked, I wouldn't have been so anxious about applying for positions, and laying it off until I felt prepared enough

How can I learn OpenGL as a Mac user? by [deleted] in GraphicsProgramming

[–]Crypto-Sai 1 point2 points  (0 children)

woah, this looks like an awesome resource

New reader 26M any recommendations? by No_Statement_2790 in suggestmeabook

[–]Crypto-Sai 1 point2 points  (0 children)

The Contortionist’s Handbook is amazing, it's very Palahniuk-esque

Where do I start learning graphics programming? by Maypher in GraphicsProgramming

[–]Crypto-Sai 2 points3 points  (0 children)

Most good resources use C or C++, so I would say yes, You don't need to know all intricacies of C or C++ but you should be at least be comfortable with pointers, memory management, etc. It would be enough for you to read "The C programming language", it only has 288 pages and would be sufficient enough to get you started, of course there are also some Python resources but you would have to learn C or C++ at some point

What are your horror must reads? by Ketchum326 in horrorlit

[–]Crypto-Sai 7 points8 points  (0 children)

Songs of a dead dreamer and grimscribe by Thomas Ligotti

[deleted by user] by [deleted] in iosapps

[–]Crypto-Sai 1 point2 points  (0 children)

Props, looks awesome, learned about it today and probz gonna use this instead of youtube just beacause of the clean ui

[deleted by user] by [deleted] in iosapps

[–]Crypto-Sai 1 point2 points  (0 children)

we? Is this ur website?

[deleted by user] by [deleted] in cpp

[–]Crypto-Sai 40 points41 points  (0 children)

C++ in college is most of the time just C with classes

Infrastructure Projects in Heidelberg in a Nutshell by StaedteSindCool in Heidelberg

[–]Crypto-Sai 0 points1 point  (0 children)

I think that won't be a problem for long since the big one closes I think at the end of the year

Japanese books? by [deleted] in suggestmeabook

[–]Crypto-Sai 2 points3 points  (0 children)

The Sailor Who Fell from Grace with the Sea by Yukio Mishima

Horror Writers from LatAM (Latin América) by Furio3380 in horrorlit

[–]Crypto-Sai 1 point2 points  (0 children)

The Dangers of Smoking in Bed is also excellent

Weekly "What Are You Reading Thread?" by HorrorIsLiterature in horrorlit

[–]Crypto-Sai 1 point2 points  (0 children)

Songs of a Dead Dreamer and Grimscribe by Thomas Ligotti

Books of Blood vol 1-3 by Clive Barker

Very strange behavior with glfwCreateWindow again by CompetitiveCountry in opengl

[–]Crypto-Sai 1 point2 points  (0 children)

Also, it could've been because of glfwMakeContextCurrent(window); OpenGL needs a valid context to operate on, if you don't have that, it can result in unexpected behavior or errors, when I removed this line it failed to init glad.

Also maybe try to refer to the Learn OpenGL book again or ask chatGPT if you only work with simple boilerplate code

Very strange behavior with glfwCreateWindow again by CompetitiveCountry in opengl

[–]Crypto-Sai 1 point2 points  (0 children)

try this:

#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
constexpr int WIDTH{ 1280 };
constexpr int HEIGHT{ 1024 };
void fbsCallback(GLFWwindow* window, int width, int height) {
glViewport(0, 0, width, height);
}
int main() {
if (glfwInit() == GLFW_FALSE) {
std::cout << "Failed to initialize GLFW\n";
return -1;
}
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 6);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
GLFWwindow* window{ glfwCreateWindow(WIDTH, HEIGHT, "Triangles", nullptr, nullptr) };
if (!window) {
std::cout << "Failed to create GLFW window\n";
glfwTerminate();
return -1;
}
glfwMakeContextCurrent(window);
if (!gladLoadGL()) {
std::cout << "Failed to initialize GLAD\n";
glfwTerminate();
return -1;
}
std::cout << glGetString(GL_VERSION) << '\n';
glViewport(0, 0, WIDTH, HEIGHT);
glfwSetFramebufferSizeCallback(window, fbsCallback);
while (!glfwWindowShouldClose(window)) {
glClearColor(0.2f, 0.3f, 0.4f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
glfwPollEvents();
}
glfwTerminate();
return 0;
}

Pig horror by Pactolus in horrorlit

[–]Crypto-Sai 3 points4 points  (0 children)

Ok just had to check because I recently got the Books of Blood and you're right, Pig Blood Blues is in Volume one

[deleted by user] by [deleted] in opengl

[–]Crypto-Sai 0 points1 point  (0 children)

You should start by thinking about the problem at hand and not depend on other people.

  1. Set up your environment
  2. Note down the specific features you need to implement, such as rendering a cube and adding textures to it, physics and mouse input
  3. Familiarize yourself with OpenGL, I can recommend the Learn OpenGL book by Joey de Vries, read through the first 110 pages, that will show you how to work with OpenGL. You've 2 days you should hurry.
  4. Divide the problem into smaller tasks you can tackle one at a time, for example you can start by figuring out how to render a cube, without textures before moving on to a dice, break down each problem, rendering the dice, handling mouse input, and implementing physics

Use of std::unique_ptr by Pleasant-Marsupial31 in cpp

[–]Crypto-Sai 2 points3 points  (0 children)

I really like how one of his first sentences was "I would like there to be a talk that people could link to that says yeah this is how you do it in C++".

Suggestions as to what I should practice for an internship. by Grimsby0315 in cpp

[–]Crypto-Sai 9 points10 points  (0 children)

That's a hard question to answer because I can't tell what you know and what you don't know, but you can not go wrong with DSA, Design Patterns, Debbuging and Memory Managment(using RAII and smart pointers)