Changes between Version 44 and Version 45 of tutorial


Ignore:
Timestamp:
Jul 1, 2013, 12:02:53 PM (6 years ago)
Author:
leon
Comment:

Final source

Legend:

Unmodified
Added
Removed
Modified
  • tutorial

    v44 v45  
    732732}
    733733}}}
    734   called in `main()` right after `read_wavefront("motorBike.obj");`. Now mistery occurs with garbled part of motorbike. Where the problem is? Possible suggestions: pointer problems, normal calculation,  OpenGL bug, shader, data, ... Hint: Observe number of triangles versus number of vertices.
     734[[Image(motorbike-final.png)]]
     735  called in `main()` right after `read_wavefront("motorBike.obj");`. Now mistery occurs with garbled part of motorbike. Where the problem is? Possible suggestions: pointer problems, normal calculation,  OpenGL bug, shader, data, ... Hint: Observe number of triangles versus number of vertices. Use debugger, Valgrind and VisIt to locate the problem. Quick fix is given as final [attachment:motorbike.c] source.