Well, you haven't looked at the source code, or you haven't studied it in any depth.
The code clearly suggests (without reading the article) that the texture coordinates depend on the vertex coordinates. You just use independent values for the coordinates. I don't really understand why can't you just copy the coordinates and calculations from the source code (I know it's not a good way to learn, but et least you had something that you can experiment with).
Show differencesHistory of post edits
#2szecs
Posted 24 May 2012 - 12:00 AM
Well, you haven't looked at the source code, or you haven't studied it in any depth.
The code clearly suggests (without reading the article) that the texture coordinates depend on the vertex coordinates. You just use independent values for the coordinates. I don't really understand why can't you just copy the coordinates from the source code (I know it's not a good way to learn, but et least you had something that you can experiment with).
The code clearly suggests (without reading the article) that the texture coordinates depend on the vertex coordinates. You just use independent values for the coordinates. I don't really understand why can't you just copy the coordinates from the source code (I know it's not a good way to learn, but et least you had something that you can experiment with).
#1szecs
Posted 23 May 2012 - 11:58 PM
Well, you haven't looked at the source code, or you haven't studied it in any depth.
The code clearly suggests (without reading the article) that the texture coordinates depend on the vertex coordinates. I don't really understand why can't you just copy the coordinates from the source code (I know it's not a good way to learn, but et least you had something that you can experiment with).
The code clearly suggests (without reading the article) that the texture coordinates depend on the vertex coordinates. I don't really understand why can't you just copy the coordinates from the source code (I know it's not a good way to learn, but et least you had something that you can experiment with).