Two problems:
(1) handle the situation when texture pictures have one channel(grey) or extra alpha channel(transparent).
(2) .obj file with lines "f xxx//xxx". The value read in should be zero but the original code will read "/" sign and cause an error.
Two problems: (1) handle the situation when texture pictures have one channel(grey) or extra alpha channel(transparent). (2) .obj file with lines "f xxx//xxx". The value read in should be zero but the original code will read "/" sign and cause an error.