Ignore:
Timestamp:
07/06/05 17:52:44 (19 years ago)
Author:
mattausch
Message:

added flags for switching on/off transparents for item buffer and vertex programs for depth pass / item buffer

Location:
trunk/VUT/GtpVisibility/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibility/include/DummyQueryManager.h

    r144 r159  
    2525                            InfoContainer<NodeInfo> *visibleNodes, 
    2626                            InfoContainer<MeshInfo> *visibleGeometry, 
     27                                InfoContainer<GtpVisibility::PatchInfo> *visiblePatches, 
    2728                            bool relativeVisibility = false ); 
    2829     
     
    3435                               InfoContainer<NodeInfo> *visibleNodes, 
    3536                               InfoContainer<MeshInfo> *visibleGeometry, 
     37                                        InfoContainer<GtpVisibility::PatchInfo> *visiblePatches, 
    3638                               bool relativeVisibility = false 
    3739                               ); 
  • trunk/VUT/GtpVisibility/include/QueryManager.h

    r144 r159  
    5151                            InfoContainer<NodeInfo> *visibleNodes, 
    5252                            InfoContainer<MeshInfo> *visibleGeometry, 
     53                                InfoContainer<GtpVisibility::PatchInfo> *visiblePatches, 
    5354                            bool relativeVisibility = false 
    5455                            ) = 0; 
     
    6263                               InfoContainer<NodeInfo> *visibleNodes, 
    6364                               InfoContainer<MeshInfo> *visibleGeometry, 
     65                                   InfoContainer<GtpVisibility::PatchInfo> *visiblePatches, 
    6466                               bool relativeVisibility = false 
    6567                               ) = 0; 
  • trunk/VUT/GtpVisibility/include/VisibilityInfo.h

    r150 r159  
    7777    Mesh *mMesh; 
    7878}; 
    79    
     79 
     80/** Class storing the visibility information of a patch, i.e., parts of meshes having the same material 
     81        properties. 
     82*/ 
     83class PatchInfo: public VisibilityInfo 
     84{ 
     85public: 
     86        PatchInfo(Patch *Patch, const int visiblePixels, const int projectedPixels); 
     87 
     88        Patch *GetPatch() const; 
     89        void SetPatch(Patch *patch); 
     90         
     91protected: 
     92 
     93    /** Pointer to the patch. 
     94        */ 
     95    Patch *mPatch; 
     96}; 
     97 
    8098//TODO: this define shall be replaced by template typedef 
    8199#define InfoContainer std::vector 
  • trunk/VUT/GtpVisibility/include/VisibilityMesh.h

    r130 r159  
    77namespace GtpVisibility { 
    88  typedef Ogre::Entity Mesh; 
     9  typedef Ogre::SubEntity Patch; 
    910} 
    1011 
Note: See TracChangeset for help on using the changeset viewer.