Since 4/2/2012 5:46:09 AM, abruce has written 9 articles and participated in 18 conversations. abruce signature: abruce
abruce's articles:
Items(9) /1
Stopping weirdness when 2 polys are very close2105 (3/5/2005 6:32:05 PM) comp.graphics.api.opengl When I have two polygons on the same plane or very close to each other I get very strange results, especially when the objects moves/rotates. What is the best way to stop this behaviour? I cannot change the... Allan
Cylindrical Texture Co-ordinates1281 (3/4/2005 5:26:45 PM) comp.graphics.api.opengl I am applying a texture to a cylinder and it is looking good, but not quite correct. It seems as if I have shrunk the image and it is repeating around the cylinder. I apply my texture co-ords around the cyl... Allan
More manual texture co-ords - cylindrical1189 (2/23/2005 10:18:54 AM) comp.graphics.api.opengl I have managed to manually specify texture co-ordinates for a planar projection texture map - it turned out to be a lot easier than I thought. I now have to implement cylindrical texture maps. I am loading ... Allan
Manually specifying tex coords3103 (2/21/2005 9:23:06 PM) comp.graphics.api.opengl I am trying to manually specify texture co-ordinates for my textures. My texture is to be applied planar on the x-z plane, i.e. my texture should be placed like a decal on my object so if my object is approx... Allan
Variable list in pre-processor define437 (2/21/2005 12:23:24 PM) comp.lang.c Is there a way to make a pre-processor define with a variable number of arguements? I want to have something like this: #define DBG_WRITE(char *A, ...) { va_list vl; char dbgTmpStr[1024]; va_star... Allan
VBOs vs Display Lists - lets test it out!52434 (2/13/2005 1:28:42 PM) comp.graphics.api.opengl Ok, I have modified the tutorial code found at nehe.gamedev.net for VBOs and added Display Lists drawing for comparison. The new code is available here: http://allanmb.redirectme.net/binaries/VBOs_vs_DL.zip ... Allan
Free IFF loader0145 (1/20/2005 8:38:43 PM) comp.graphics.api.opengl Hi there, Does anybody know of a freely available piece of code to load IFF files and give to me the data so I can directly use gluBuild2DMipMaps()/glTexImage2D()? I had a look at the format and do not wis... Allan
texture co-ordinates0117 (1/15/2005 12:00:33 PM) comp.graphics.api.opengl I am writing a program that will import Lightwave lwo2 objects. So far so good, I am succesfully parsing the file and can see the objects fine with the coloured materials. I have also parsed the texture dat... Allan
Double sided polys, how to do lighting?3281 (12/20/2004 11:30:06 AM) comp.graphics.api.opengl If I am using double sided polygons, how do I make sure both sides are affected by lighting? I am specifying normals for the vertices (for the front), does OpenGL merely reverse the normals for the back-side... Allan
array riddle in c4028 (1/20/2005 1:43:29 AM) comp.lang.c Given an array of size n and populated with consecutive integers from 1 to n i.e. [1, 2...n-1, n] in random order. Two integers are removed, meaning zero is placed in their places. Give O (n) efficient algorit... ironsel2000(708)
How do I export multiple classes from one library?136 (2/2/2005 2:32:14 PM) comp.lang.c++ Hi all, I have several utility classes that will be in a Linux shared library. For some reason, the linker is not finding the classes other than the main one. How can I make sure *all* the classes can be fou... j_mckitrick(424)
Variable list in pre-processor define437 (2/21/2005 12:23:24 PM) comp.lang.c Is there a way to make a pre-processor define with a variable number of arguements? I want to have something like this: #define DBG_WRITE(char *A, ...) { va_list vl; char dbgTmpStr[1024]; va_star... abruce(27)
Is AMD64 an untouchable @ DELL ?630 (2/27/2005 3:06:25 AM) comp.lang.c++ Hi, I don't understand why DELL is unwilling to sell AMD64 products. Steve Felice, VP @ DELl says their is no customers demand for AMD64. Suck to be Steve. From various Linux flavors to BSD, the OS rocks on AM... codefixer(41)
ij = ic: 0;439 (3/10/2005 10:54:04 AM) comp.lang.c I was reading some C code and came across this: ij = ic: 0; ij and ic are of type int. I assume that ij and ic are being assigned the value 0 but I don't recall ever seeing this before. Anyone know if this ... chris.saunders(12)
Wrong-but-not-incorrect code4344 (3/17/2005 10:05:52 PM) comp.lang.c Seen in a chunk of code I was looking at recently (not mine!): -------- char* imgfilename[100]; sprintf((char*)imgfilename, "mask%d.dib", params.profile); ReadImage((char*)imgfilename); -------- (ReadImage is... dj3vande(656)
void pointers1518 (3/21/2005 4:43:14 PM) comp.lang.c++ Hi guyz, i hav a structure like this: struct Column { char *fieldName; int fieldType; void *value; bool nullFlag; }; Column r; how do i initialize the field void * value? if i do something li... bigben666(11)