alanwnl / iphonewavefrontloader

Automatically exported from code.google.com/p/iphonewavefrontloader
0 stars 0 forks source link

Cube Texture Filename Incorrect #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open GLViewController.m
2. scroll to line 103: note path for resource is texturedcube, which refers
to an OBJ resource that is not included with the project
3. Build and run the project.

What is the expected output? 
Arotating cube should appear to the left of the earth

What do you see instead?
empty space

What version of the product are you using? 
Downloaded May 13

On what operating system?
OS x 10.5

Please provide any additional information below.
Fix this by specifying "uvcube2" instead. That is, change line 103 from
   path = [[NSBundle mainBundle] pathForResource:@"texturedcube"
ofType:@"obj"];

To
   path = [[NSBundle mainBundle] pathForResource:@"uvcube2" ofType:@"obj"];

Original issue reported on code.google.com by rnis...@gmail.com on 15 May 2009 at 4:09