Original Post
Hey - I'm hoping this is a really basic question - but I'm trying to implement texture mapping into my ray tracer. I know how to get my UV co-ords and all that jazz, but I haven't a clue how to read the rgb values into my program. It really is that basic. I'm hoping theres a simple fscanf kind of function around but can anyone give me any answers or directions into where to look? I'm using C programming. Cheers, HH