Finally got 3d Texturing working in OpenGL under FreeBASIC. Loads up 8 256x256 bitmaps, smashes them together into a 256x256x8 buffer, and uses that to create a 3d texture.
In this demo the texture coordinates are roughly equal to the world coordinates (the z-world coordinates are doubled for emphasis) and the R-values are clamped to [0,1], while S and T values are allowed to wrap. This is done so that extreme z-values don’t end up blending the ice and the lava textures.
Since the GPU will aut
30 views
0
0
12 months ago 00:18:38 5
Nintendo sues FOSS emulator, Nvidia thinks coding is dead, Plasma 6 is out: Linux & Open Source News
1 year ago 00:05:16 2
Tutorial Modeling Simple Podium Blender 3.0
1 year ago 00:18:28 1
Programming a multiplayer game from scratch in ONE WEEK
1 year ago 00:02:47 1
Antares Engine showreel (OpenGL | C++)
2 years ago 00:14:54 1
CNC Simulator. Lathe Machine
11 years ago 00:01:50 14
irr_chung a free 3D game in freebasic and irrlicht openGL