18 years, 6 months ago
Highlights
I see, so pitch = bytes per pixel (e.g. 3 for RGB) * width + a number of padded bytes, isn't it? :)I did recalculate the padded width. Dunno it was supported in the SDL_surface…
18 years, 6 months ago
18 years, 7 months ago
Hi guys, SDL_image library provided IMG_load function that help load images. I loaded a bitmap 256x256 and compare with another load of 257x257. I saw the 257x257 bitmap does no…
18 years, 6 months ago
Hi, I'm confused about the following: Could you please point out the difference between the view transformation derived from UVN (eye point, look-at point, up vector) matrix and…
18 years, 7 months ago
Hi guys, just wonder what is the mechanism of this glDrawPixels? As I know, glDrawPixels rendered directly to the framebuffer. Currently I used it to draw a 2D background in ort…
18 years, 7 months ago
Latest Activity
See all in DiscussionsI see, so pitch = bytes per pixel (e.g. 3 for RGB) * width + a number of padded bytes, …
18 years, 6 months ago
Hi guys, SDL_image library provided IMG_load function that help load images. I loaded a bitmap 256x256 and compare with another …
18 years, 6 months ago
/* transform matrix */ Vector3f n = view - eye; //look Vector3f u = n.Cross(up); //right //Vector3f v = n.Cross(u); …
18 years, 7 months ago