carlfoxmarten: (Default)
[personal profile] carlfoxmarten
First, I now own a half-interest in a second-hand EeePC.
Tiny little thing (7-inch screen, 4GB drive), most of what I've been doing are updates (I finally found Synaptic, a Linux package manager), and trying to do web-browsing on the small screen.

If there'd been one available, I'd have chosen a 9-inch model, but anything is better than nothing.
(and a small, lightweight model like the EeePC is better than a four-pound, widescreen model for portability)


Anyway, so far I've tweaked how the grid stores blocks to make it easier to check when a row is full, swapped out the 118KB cube (1248 faces, 1250 vertices) for a 26-face, 24-vertex, 3.3KB version with texture coordinates in the hope that I can map a texture on it to simulate a more complex cube.

So far, however, all my texture efforts have been in vain.

The image is loading fine, but none of my efforts have been able to pass the texture data over to OpenGL, and most of the documentation I've found is slightly incomplete. The missing part is how to separate loading the image into OpenGL and rendering with it.

The confusing part is that the same function call is used to set up the texture for loading and use it for rendering, so I'm not sure if I'm calling it the right way each time.

Anybody have any suggestions for OpenGL texture tutorial or reference sites? I'm a little stumped...

Profile

carlfoxmarten: (Default)
Carl Foxmarten

August 2023

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 13th, 2025 11:12 pm
Powered by Dreamwidth Studios