My stupid book on computer graphics is basically talking about crap again.
So you know what I say? "Sod off you little plick!", Kruno says.
Anyway I'm going through a little code snippet which makes sense, or so I thought it did but here's the trick.
The book has made a few stupid naming conventions which I class to be errors.
If you don't name something properly it's an error.
Anyway so I'm going through the stupid code snippet and I'm interpreting the entire bloody thing into my own words while I type.
The thing is, I glanced at the snippet of code previously and I understood what was going on and what it achieved however I'm getting a better understanding of it by going through it line by line and interpreting things into my own words and changing things I don't like into my own mathematical functions.
Anyway I think this is what people call active learning.
You aren't just reading, you are examining and restructuring based on your own understanding.
For some reason it works.
Here is what I understood so far:
To calculate a lightsource to a plane per pixel, you have to actually get difference from the pixel position to the lightsource.
I was previously doing it per vertex.
EDIT:
OMG YOU SHOULD SEE THE MISTAKES THE BOOK MAKES!
I spotted 3 so far.
So you know what I say? "Sod off you little plick!", Kruno says.
Anyway I'm going through a little code snippet which makes sense, or so I thought it did but here's the trick.
The book has made a few stupid naming conventions which I class to be errors.
If you don't name something properly it's an error.
Anyway so I'm going through the stupid code snippet and I'm interpreting the entire bloody thing into my own words while I type.
The thing is, I glanced at the snippet of code previously and I understood what was going on and what it achieved however I'm getting a better understanding of it by going through it line by line and interpreting things into my own words and changing things I don't like into my own mathematical functions.
Anyway I think this is what people call active learning.
You aren't just reading, you are examining and restructuring based on your own understanding.
For some reason it works.
Here is what I understood so far:
To calculate a lightsource to a plane per pixel, you have to actually get difference from the pixel position to the lightsource.
I was previously doing it per vertex.
EDIT:
OMG YOU SHOULD SEE THE MISTAKES THE BOOK MAKES!
I spotted 3 so far.