Quote:
Originally Posted by jbb
You are right it is an easy format.
I've rendered "anguish" zone although all the triangles have a single texture so far. Real textures are a project for another day...
Thanks for the help
http://img76.exs.cx/my.php?loc=img76...e=render01.jpg
(Bah, can't seem to add a proper image to this posting...)
|
This is how ya do it:
Click to Enlarge.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
|