View Single Post
  #13  
Old 09-19-2004, 09:53 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

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.
Reply With Quote