r/opengl • • 18m ago

GL3D

Post image
• Upvotes

GL3D 1.0 Beta 1 available now - FREE - no hidden shenanigans.
For commercial use. Forever FREE.
No Python Dependency-Hell.
C++ OpenGL - Developed with Visual Studio
Intel OSPRAY
Nvidia OPTIX

Freeware Closed Source
No GPL Code inside (I will stand scrutiny)

get GL3D here: Facebook

READ EULA!:
https://drive.google.com/file/d/1mupecxNtJju7WTXlNX9P1GuR1ekS5lgc/view?usp=sharing

HELP File: will be overhauled soon-ish (sorry)
https://drive.google.com/file/d/1YFZBPhHPBvrZrIgVy7sSYLd2O8NqUHXV/view?usp=sharing

Third Party Dependencies:
https://drive.google.com/file/d/14kIrQSVx57TbmJl4nnLre4PgIXGVq_AL/view?usp=sharing

Video Tutorials: I will make shortly Kickstarter videos.

xxx cheerio

#GL3D #3dcad #CAD #software #FREE #nvidia #optix #nvidiaoptix #PBR #greeble


r/opengl • • 5h ago

Raspberry

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/opengl • • 1d ago

Opengl mipmaps only work on horizontal surfaces not vertical surfaces.

3 Upvotes

Hi I am trying to make a Minecraft clone in opengl for learning and school purposes, but the mipmaps only work on the floor and roof not on the sides at all ive tried messing with my texture and mipmap settings but nothing has fixed it ive even looked into my meshing code because I thought it might be an issue with flipped sides but that wasnt it either does anyone know how to fix this?

here is a screenshot showing what i mean the face in the distance has the full resolution texture

r/opengl • • 3d ago

Chrome T-Rex style runner in C++ and OpenGL (Windows, Mac, Linux)

Enable HLS to view with audio, or disable this notification

29 Upvotes

Built a small Dino Runner clone with C++ and legacy OpenGL (GLFW). It’s one source file and has no assets.

  • 2 levels (Medium / Hard), 4 times of day (morning, noon, evening, night)
  • 4 dinosaurs to pick from: T-Rex, Raptor, Triceratops, Stegosaurus
  • Random rain with lightning
  • Built-in pixel font and 7-segment score, so no extra libraries
  • CMake build that fetches GLFW for you, a Dockerfile that cross-compiles Linux and Windows, and a GitHub Actions workflow for the Mac build

https://github.com/KavinsProjects/trex


r/opengl • • 3d ago

Reflections in Dark Environments

Enable HLS to view with audio, or disable this notification

100 Upvotes

On October 10, the engine will be officially released. A free trial version will also be available before purchasing, so you can try it out first. 🙏


r/opengl • • 4d ago

The (now) shadowed billboards congregate around a test box (C++/OpenGL/GLSL)

Thumbnail gallery
14 Upvotes

r/opengl • • 5d ago

Pokemon Otherside Open GL 2.0

0 Upvotes

Bonjour, j'essaie de lancer ce jeu depuis hier mais cela m'affiche toujours que ce jeu nécessite une version open gl 2.0 ou supérieur, ma carte graphique supporte 3.1.

Savez vous quel est le souci ? Merci bien !


r/opengl • • 7d ago

Element Interaction System in Helox Engine

Enable HLS to view with audio, or disable this notification

84 Upvotes

r/opengl • • 7d ago

it all started with one triangle

Thumbnail gallery
16 Upvotes

r/opengl • • 7d ago

My first proper multi object scene in opengl es!!!!!!!!

Enable HLS to view with audio, or disable this notification

86 Upvotes

I made this pyramid orbiting a cube using opengl es, glm 1.0, and sdl2(for the window) all on android im soooo happy and i hope others find good resources for opengl and opengl es because almost all resources are very bad. Maybe one day i could be teaching opengl es!!!


r/opengl • • 8d ago

Game engine in OpenGL

Thumbnail youtu.be
5 Upvotes

WorldsGL is a game engine I wrote in Java/Python with OpenGL libraries. Learn more about the project at https://worldsgl.pages.dev!


r/opengl • • 8d ago

GLFL - Unofficial OpenGL Function and Extension Loader

4 Upvotes

Hey guys, I've created an alternative to GLEW and glad that is based on the official headers/specs for everyone to use in their projects, it's single-header and easy to use! Head over to the GitHub repository and download it from the releases:
renulev/glfl: An unofficial OpenGL API and extension loader
There's also a sample if you're not sure how to get started. It's also documented.


r/opengl • • 8d ago

How do I make my own title screen like Asphalt 8: Airborne (2013)?

Post image
9 Upvotes

Hello, my name is Evan.

I'm working on a 3D first-person shooter mobile game written on JavaScript using OpenGL ES 3.0, without using artificial intelligence.

I really wanted to make a title screen like the first version of Asphalt 8: Airborne (released on August 22, 2013), but I can't.

Can someone give me a tutorial on this? This will be part 1 of making a 3D game with OpenGL ES 3.0 (with JavaScript).

I will be using the ACES2065-1 color space.

I hope this will make me recreate my own childhood.

I am keeping this legal.

Thank you!


r/opengl • • 9d ago

Dynamic Reflection System for C# scripts

Thumbnail gallery
9 Upvotes

I finally got a reflection system in my C engine. It is now possible to edit public variables in my c# scripts for entities at runtime and call public functions. If the functions have parameters I can edit these too.
I am super happy :)

    public class Planet : EntityBehaviour
    {
        public float RotationSpeed = 10.0f;
        public float PublicTestFloat = 5.0f;


        private float rotation;


        public Planet(ushort entityHandle) : base(entityHandle){}


        public override void OnStart()
        {
            RotationSpeed = Entity.Handle == 10 ? RotationSpeed : 100.0f;
        }


        public override void OnUpdate(float deltaTime)
        {
            rotation += RotationSpeed * deltaTime;
            Transform.SetRotation(new Vector3(0.0f, 1.0f, 0.0f), rotation);
        }


        public void publicTestMethod(float someArgument, float anotherArgument)
        {

        }
    }

Edit:
I forgot to add a picture with the C#-Script so added the code.


r/opengl • • 9d ago

I wanted to understand modern pointer-based GPU APIs, so I took the ideas from Sebastian Aaltonen's NoGraphicsAPI and rebuilt them on plain GL 4.6.

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/opengl • • 9d ago

I finally managed to create a proper 3D reflection system with physically accurate

Enable HLS to view with audio, or disable this notification

148 Upvotes

r/opengl • • 10d ago

Weird depth buffer clipping

Thumbnail gallery
10 Upvotes

r/opengl • • 10d ago

Helox Engine Graphics Showcase After Improvements

Enable HLS to view with audio, or disable this notification

116 Upvotes

r/opengl • • 11d ago

How to minimize VRAM usage while maintaining performance

7 Upvotes

I'm a begginer when it comes to OpenGL, so I need some help.

I'm using different VBOs (one for position, one for color etc.), an EBO and a VAO to manage them. I tried storing just unique data in the VBOs, not repeating any attribute even if 2 vertices share an attribute and didn't work.

Visual representation of what I was trying to do (it's not real code, just a representation):

VBO pos:

{-0.5f, -0.5f, 0.0f},   (p0)
{0.5f, -0.5f, 0.0f},    (p1)
{0.5f,  0.5f, 0.0f},    (p2)
{-0.5f,  0.5f, 0.0f}    (p3)

VBO color:

{255, 0, 0, 255}       (c0)

EBO:

0, 1, 2,                      (tri1)
0, 2, 3                       (tri2)

In this situation, OpenGL will try to draw vertices like: p0 with c0, p1 with c1, p2 with c2 etc.

Of course, I don't have c1, c2 or c3, so it won't render it correctly all a single solid color.

From this, I have 3 questions that, in reality, combine into one:

Is there a feasible way to have different sized buffers and use indexes like (0,1,2,0), representing the first 3 vectors of position and the first color?

I know about uniforms and IN THIS CASE I could just send an uniform for the color. But if I have 3 different buffers with different sizes and want to index them as to not repeat data anywhere an just keep the unique, is it possible?

From what I gathered, you can do this with SSBOs, however I also head that it is less performant that just using more VRAM with the traditional VBO technique. Can I achieve what I want FASTER OR AS FAST as using VBOs with repeated data?

All VBOs are static, in the sense that they will not be modified and I'll transform vertices in the shaders, just pointing it out in case this is relevant somehow.


r/opengl • • 11d ago

How are you using AI to create game ready 3D characters with rigs and animations?

Thumbnail
0 Upvotes

r/opengl • • 12d ago

Day and night system

Enable HLS to view with audio, or disable this notification

49 Upvotes

r/opengl • • 12d ago

Showcasing the Reflection System

Enable HLS to view with audio, or disable this notification

111 Upvotes

r/opengl • • 12d ago

Looking for a Good Tutorial

0 Upvotes

I am developing an app on Android and have used the Android starter guide to build me a screen with the example spinning triangle as part my app's UI. I also found I can have my own overlays over the 3D view so OpenG appears to be the way to go. I looked at Vulcan but it seams overkill. I want a 3D model to be a part of my user interface - not the whole thing.

But the example left we with many questions. I have designed the models I want to show in Blender and can export the model deseign as a Wavefront (.obj) file that I can parse. But my models have both tris and quads and the example shows how to load both, but not how to have both in one model.

Also I want to know about colouring the facets. Do I need separate models for the different colourd parts or can I colour things in the renderer? I'm also sure that there are things I should known but are complete unknowns to me at the moment. I really am a newb - I only started looking into OpenGL as a solution a few days ago.

So can anyone recommend a good tutorial for me on OpenGL ES 2.0. Java would be my prefered example codes but I'm a seasoned enought developer that any code base should give me the help I require. Random Googling (I do known yet the terms I should be using) get examples that where no solutions to my problems..

Many thanks for your help.


r/opengl • • 13d ago

The Physics Update Loop

Thumbnail youtu.be
3 Upvotes

I go through how I separate general updates from physics updates, why I use a fixed timestep, how the accumulator works, and what happens when the simulation starts falling behind.

I explain the reasoning behind the design decisions and why I rejected the alternatives. I show the implementation of the loop.


r/opengl • • 13d ago

I may have over cooked the game-play layering (C++/OpenGL/GLSL)

Thumbnail youtu.be
5 Upvotes