I have good and bad news.
The good news are that I am rendering something, loaded using the obj loader.
The bad news is that it is not what it is supposed to be.
Here is a cube:
The good news are that I am rendering something, loaded using the obj loader.
The bad news is that it is not what it is supposed to be.
Here is a cube:
And here is the same cube from a different perspective:
Now, if that weren't supposed to be a cube, it would be regarded as "cool!"
Then I tried with a quad and I rendered only the points:
So, as you can see, it has 3 points correctly positioned and one (very faint in the diagonal) that is not where it is supposed to. I checked the files and loading the obj and everything looks fine. I will keep working on this until my class.
Edit:
I have a cube but the normals are wrong. So, I think this is a bad case of normal-vertex indexing.
Plan for the week after spring break
- Try to get the obj in in order to use a simpler base geometry to test my code on. If this is taking me too long, I'll just continue using the "street" scene.
- Work on specular
- If things go smoothly I'll do more things, but I somehow doubt it.
No comments:
Post a Comment