Im loading frames from a .VUE file (Old formats from 3ds4 for dos, as i dont know sdlfk about max).
gettjamem(objnr,i);
printf("========================================================================
“);
sscanf(line,”%s %f %f %f %f %f %f",&tmpline,&cameras[objnr].source_x[i],&cameras[objnr].source_y[i],&cameras[objnr].source_z[i],
&cameras[objnr].target_x[i],&cameras[objnr].target_y[i],&cameras[objnr].target_z[i]);
as I now have the cordinates to the camera, i wish to imlpement these in OpenGL. Do anyone have tip for me? Or do i need to do all the matrix calculations for these, as i did in dos?
camera info is:
Camera (48.235291mm)
Position: X:-94.481041 Y:-85.396332 Z:36.338867
Target: X:-9.084715 Y:-188.962082 Z:154.440155
Bank angle: 0 degrees
Near 0 Far 1000
- Seidel