thanks for the tip. ill look into the mplayer source and see if i can speed my code up some more. unfortunately, vertex and pixel shaders wont do me much good on my geforce2 (and id like the...
Type: Posts; User: Spiral Man
thanks for the tip. ill look into the mplayer source and see if i can speed my code up some more. unfortunately, vertex and pixel shaders wont do me much good on my geforce2 (and id like the...
another option would be to create a dummy texture with power of 2 dimensions, memset it to 0, and then put the actual texture using glTexSubImage (which doesnt need power of 2 dimensions). this uses...
well, im using a bt878 based card (a hauppauge pci card), so its not pushing any more data over the agp bus that if i was uploading a texture each frame.
however, i figured out how to get mmap...
sorry if this is a little off topic, but i havent been to these forums in a while.
i am trying to get data from a video4linux supported tv card to a OpenGL texture map in linux. so far, i have it...
the has to do with how tranformations are concantonated. the order that you tranform things matters. so, if you want something to rotate around its own origin, you have to rotate first, then...
hmm, im drawing triangle strips in a vertex array in a display list, and it works just fine. in fact, the nvidia drivers even appear to be doing some view frustrum culling for me, so ive gotten a...
umm, ive drawn vertex arrays in display lists just fine, so it can be done.
try setting the vertex pointer in the display list...
you wrote glNewList(); is this just a typo? there should be a...
textures have to be a power of 2. perhaps the driver is padding the textures to 512 by 512?
also, 512x512 is HUGE for a texture, espesiall 48 of them, unless you have an amazing video card, i...
hmm, i havent actually drawn the entire array in one call, but ive split it up into several calls (i dont always want to draw the entire array). perhaps you can check if gl generates an error...
yes, open gl is rather low level. in general, the lower level, the more powerful (that depends on what you consider "powerful" i take it to mean i have more controll over it, and its faster, and...
an "index" as openGL calls it is a vertex. so, for instance, you have 4 vertexes in the array, thats 12 actuall elements in the array, but if you want to draw the first vertex, you refer to it as 0,...
having a bunch of windows for one aplication sucks. its the one thing i cant stand about the gimp. it clutters the taskbar, and makes it imposible to have the image window fullscreen (every time...
no, openGL and glut will not support classes, because they are not object oriented (so more people can use them).
besides, what you are trying to do doesnt make any sense. why would you pass a...
no problem
you forgot to mention the most important bit of information, what video card you have. if its an nvidia card, go to their website and install their drivers. if it isnt, make sure you are loading...
im not sure, but i think those are the only two ways you can draw with GL in gtk. xlib is probably not a good idea for a modeler, because you there are no premade widgets like buttons, etc. you can...
ahh... looks like you arent linking to pthread. add -lpthread before the gl libs.
add, -lXll to the gcc call...
the openGL "red book" is probably the best way to start. it uses GLUT in its examples, which is a cross platform windowing library specifically designed for use with GL. its actuall title is...
thats not true, you can read in old blender files, even between major revisions (like 2.14, 2.20, etc). the one thing you cant do is load in a file that has the old "IKA's" with a version of blender...
when you actually end up drawing the triangles, they draw faster, and you get better frame rates, if you use triangle strips. the optimal thing to do would be to load the triangles in from the file,...
multitexturing means you can apply more than one texture to each primitive.
its often use to have lightmaps. one texture is what people comonly think of the texture as, and the other texture is...
just to clarify, yes, i did mean increase the bit depth of the depth buffer...
a) increase the depth of your depth buffer if you can.
b) draw the water slightly higher, so it is further from terrain polygons that are roughly parallel to it.
c) increase the angle of the...
well, like i said, triangle strips are better, but triangles are easier (but i dont know if they are more common). some 3d files may store things as triangle strips, but i dont know which ones, if...