Hey guys, I have a question about cimg. I am trying to use a set of coordinates in an ascii file to draw a 3d landscape and I can't figure out how to use the file. The problem is it isn't an image file, just coordinates, so I think I need to use the fstream to store those coordinates in a 2d array but then I have no idea how to impliment that 2d array to generate the 3d landscape. Any suggestions?
Google says that Cimg is an image-processing toolkit. Is this what you are planning to use to create the 3D landscape? You need to be clearer about what functions you are trying to use and what parameters they take vs what you have to work with.
Yes I am using cimg. The problem I am having is that I have no idea what functions to use or where to start with my 2d array of coordinates. I'm pretty much as lost as lost gets.
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
- Brian W. Kernighan
Bookmarks