/[gzz]/gzz/gfx/libpaper/Paper.hxx
ViewVC logotype

Diff of /gzz/gfx/libpaper/Paper.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by jvk, Tue Sep 10 10:49:01 2002 UTC revision 1.8 by jvk, Tue Sep 10 14:56:00 2002 UTC
# Line 76  namespace Paper { Line 76  namespace Paper {
76       */       */
77      class TexGen : public LightSetup {      class TexGen : public LightSetup {
78      protected:      protected:
79        float svec[4];        // XXX: Currently the last four values are always initialized to 0,0,0,1
80        float tvec[4];        float tex_mat[16];
       float rvec[4];  
       float qvec[4]; // XXX: Currently always initialized to 0,0,0,1  
81    
82      public:      public:
83        /** Create a new texgen.        /** Create a new texgen.
# Line 111  namespace Paper { Line 109  namespace Paper {
109        virtual void setUp(LightParam *param) ;        virtual void setUp(LightParam *param) ;
110    
111        virtual void setUpVP(int unit, LightParam * param);        virtual void setUpVP(int unit, LightParam * param);
       virtual string getVPCode(int unit);  
112      };      };
113    
114      /** TexGen for transforming light intensity or direction map      /** TexGen for transforming light intensity or direction map
# Line 180  namespace Paper { Line 177  namespace Paper {
177    
178    
179        /** Vertex Program Version of the rendering interface        /** Vertex Program Version of the rendering interface
        * XXX: currently only plain TexGens are implemented  
        * Note: most fields of *param will be ignored  
180         */         */
181        void setUpVP(LightParam *param);        void setUpVP(LightParam *param);
182        void tearDownVP();        void tearDownVP();

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26