rombust
03-10-2010, 04:54 PM
Introducing a new example to ClanLib 2.2 SVN - Examples/BumpMapping
Note. This required a hack to the collada engine to produce cubic projection for the texture coordinates.
At some point, the 3d engine should be refactorized. Where all 3d examples use the same framework (via a 3d library in the examples directory).
Also using the collada loader should be optional.
This will not be easy to get right (actually it's very hard!). ... If someone wants to have a go, good luck :)
http://esoteric.clanlib.org/~rombust/ReleaseImages/bumpmap.png
Note. This required a hack to the collada engine to produce cubic projection for the texture coordinates.
At some point, the 3d engine should be refactorized. Where all 3d examples use the same framework (via a 3d library in the examples directory).
Also using the collada loader should be optional.
This will not be easy to get right (actually it's very hard!). ... If someone wants to have a go, good luck :)
http://esoteric.clanlib.org/~rombust/ReleaseImages/bumpmap.png