Originally Posted by
Osithlon
Hi cfavreau
Im testing you code and i have some doubts
1-about ildaout.h file, I get some compiling problems if I include this file on my main.cpp. It seems to not be well formated, Im saying this beacause if I include the ilda_test_frame.h I get no compiling errors and I can perfectly read this ilda_test_frame.h and show the ilda test with my projector.
So Im thinking about make some modifications to your generate_h_file(CILDAFile &file) in order to get a ildaout.h file with the same format that ilda_test_frame.h.
2-When I read the ilda_test_frame.h the ilda test is shown but i also get the "blanking lines", really dont know if thats the correct word, I mean that the projector not only draw the ilda_test_frame.h it also draw lines between points, so the image is a mess.
¿do you know how to control not to paint some of the lines between points?
¿maybe we must add some information to the array,int test_frame[TEST_FRAME_SIZE][5]? so when we read the coordinates from it, we must know when to paint or not to the line between two points.
I will appreciate any idea about how to control this when reading coordinates from a TXT.
I have found a solution but is a poor one, first a play the draw point by point and see wich points are the ones that are joined by a line that must be blanked then on the for loop i jus put blanking=1 so that line is no shown. There must be a way while youre reading the .ild file to add another dato to the array that means if blanking is neede or not for that point.
3-If I try to read an .ild file with movement, more than 1 frame, no movement shows on my projection.
its possible that your code its only reading the first frame of the .ild file?
Thanks