/dports/games/bzflag-server/bzflag-2.4.22/src/bzfs/ |
H A D | CustomTextureMatrix.cxx | 28 texmat = new TextureMatrix; in CustomTextureMatrix() 35 delete texmat; in ~CustomTextureMatrix() 47 texmat->setStaticShift (u, v); in read() 54 texmat->setStaticScale (u, v); in read() 61 texmat->setStaticSpin (angle); in read() 68 texmat->setStaticCenter (u, v); in read() 82 texmat->setDynamicSpin (freq); in read() 110 texmat->setName(name); in writeToManager() 116 texmat->finalize(); in writeToManager() 117 TEXMATRIXMGR.addMatrix (texmat); in writeToManager() [all …]
|
H A D | ParseMaterial.cxx | 216 std::string texmat; in parseMaterials() local 217 if (!(input >> texmat)) in parseMaterials() 222 int textureMatrix = TEXMATRIXMGR.findMatrix(texmat); in parseMaterials() 223 if ((textureMatrix == -1) && (texmat != "-1")) in parseMaterials() 224 std::cout << "couldn't find textureMatrix: " << texmat << std::endl; in parseMaterials()
|
H A D | WorldInfo.cxx | 160 TextureMatrix* texmat = new TextureMatrix; in makeWaterMaterial() local 161 texmat->setName("WaterMaterial"); in makeWaterMaterial() 162 texmat->setDynamicShift(0.05f, 0.0f); in makeWaterMaterial() 163 texmat->finalize(); in makeWaterMaterial() 164 int texmatIndex = TEXMATRIXMGR.addMatrix(texmat); in makeWaterMaterial()
|
/dports/games/bzflag/bzflag-2.4.22/src/bzfs/ |
H A D | CustomTextureMatrix.cxx | 28 texmat = new TextureMatrix; in CustomTextureMatrix() 35 delete texmat; in ~CustomTextureMatrix() 47 texmat->setStaticShift (u, v); in read() 54 texmat->setStaticScale (u, v); in read() 61 texmat->setStaticSpin (angle); in read() 68 texmat->setStaticCenter (u, v); in read() 82 texmat->setDynamicSpin (freq); in read() 110 texmat->setName(name); in writeToManager() 116 texmat->finalize(); in writeToManager() 117 TEXMATRIXMGR.addMatrix (texmat); in writeToManager() [all …]
|
H A D | ParseMaterial.cxx | 216 std::string texmat; in parseMaterials() local 217 if (!(input >> texmat)) in parseMaterials() 222 int textureMatrix = TEXMATRIXMGR.findMatrix(texmat); in parseMaterials() 223 if ((textureMatrix == -1) && (texmat != "-1")) in parseMaterials() 224 std::cout << "couldn't find textureMatrix: " << texmat << std::endl; in parseMaterials()
|
H A D | WorldInfo.cxx | 160 TextureMatrix* texmat = new TextureMatrix; in makeWaterMaterial() local 161 texmat->setName("WaterMaterial"); in makeWaterMaterial() 162 texmat->setDynamicShift(0.05f, 0.0f); in makeWaterMaterial() 163 texmat->finalize(); in makeWaterMaterial() 164 int texmatIndex = TEXMATRIXMGR.addMatrix(texmat); in makeWaterMaterial()
|
/dports/games/bzflag-server/bzflag-2.4.22/src/game/ |
H A D | TextureMatrix.cxx | 60 TextureMatrix* texmat = *it; in update() local 61 texmat->update(gameTime); in update() 68 matrices.push_back (texmat); in addMatrix() 75 if (texmat.size() <= 0) in findMatrix() 77 else if ((texmat[0] >= '0') && (texmat[0] <= '9')) in findMatrix() 113 buf = texmat->pack(buf); in pack() 127 buf = texmat->unpack(buf); in unpack() 128 addMatrix(texmat); in unpack() 314 if (texmat.size() <= 0) in setName() 319 else if ((texmat[0] >= '0') && (texmat[0] <= '9')) in setName() [all …]
|
/dports/games/bzflag/bzflag-2.4.22/src/game/ |
H A D | TextureMatrix.cxx | 60 TextureMatrix* texmat = *it; in update() local 61 texmat->update(gameTime); in update() 68 matrices.push_back (texmat); in addMatrix() 75 if (texmat.size() <= 0) in findMatrix() 77 else if ((texmat[0] >= '0') && (texmat[0] <= '9')) in findMatrix() 113 buf = texmat->pack(buf); in pack() 127 buf = texmat->unpack(buf); in unpack() 128 addMatrix(texmat); in unpack() 314 if (texmat.size() <= 0) in setName() 319 else if ((texmat[0] >= '0') && (texmat[0] <= '9')) in setName() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgWrappers/deprecated-dotosg/osg/ |
H A D | TexMat.cpp | 29 TexMat& texmat = static_cast<TexMat&>(obj); in TexMat_readLocalData() local 39 Matrix& matrix = texmat.getMatrix(); in TexMat_readLocalData() 60 texmat.setScaleByTextureRectangleSize(true); in TexMat_readLocalData() 66 texmat.setScaleByTextureRectangleSize(false); in TexMat_readLocalData() 78 const TexMat& texmat = static_cast<const TexMat&>(obj); in TexMat_writeLocalData() local 79 const Matrix& matrix = texmat.getMatrix(); in TexMat_writeLocalData() 85 if (texmat.getScaleByTextureRectangleSize()) in TexMat_writeLocalData()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgWrappers/deprecated-dotosg/osg/ |
H A D | TexMat.cpp | 29 TexMat& texmat = static_cast<TexMat&>(obj); in TexGenNode_readLocalData() 39 Matrix& matrix = texmat.getMatrix(); in TexGenNode_readLocalData() 60 texmat.setScaleByTextureRectangleSize(true); in TexGenNode_readLocalData() 66 texmat.setScaleByTextureRectangleSize(false); in TexGenNode_readLocalData() 78 const TexMat& texmat = static_cast<const TexMat&>(obj); 79 const Matrix& matrix = texmat.getMatrix(); 85 if (texmat.getScaleByTextureRectangleSize())
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgtexturerectangle/ |
H A D | osgtexturerectangle.cpp | 60 TexturePanCallback(osg::TexMat* texmat, in TexturePanCallback() argument 62 _texmat(texmat), in TexturePanCallback() 154 osg::TexMat* texmat = new osg::TexMat; in createRectangle() local 155 texmat->setScaleByTextureRectangleSize(true); in createRectangle() 160 state->setTextureAttributeAndModes(0, texmat, osg::StateAttribute::ON); in createRectangle() 168 geode->setUpdateCallback(new TexturePanCallback(texmat)); in createRectangle()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgtexturerectangle/ |
H A D | osgtexturerectangle.cpp | 60 TexturePanCallback(osg::TexMat* texmat, in TexturePanCallback() argument 62 _texmat(texmat), in TexturePanCallback() 154 osg::TexMat* texmat = new osg::TexMat; in createRectangle() local 155 texmat->setScaleByTextureRectangleSize(true); in createRectangle() 160 state->setTextureAttributeAndModes(0, texmat, osg::StateAttribute::ON); in createRectangle() 168 geode->setUpdateCallback(new TexturePanCallback(texmat)); in createRectangle()
|
/dports/games/megaglest-data/megaglest-data-3.13.0/data/core/shaders/ |
H A D | bump.vp | 14 PARAM texmat[4] = { state.matrix.texture[0] }; 53 DP4 oTexCoords.x, texmat[0], iTexCoords; 54 DP4 oTexCoords.y, texmat[1], iTexCoords; 55 DP4 oTexCoords.z, texmat[2], iTexCoords; 56 DP4 oTexCoords.w, texmat[3], iTexCoords;
|
H A D | bumpparallax.vp | 14 PARAM texmat[4] = { state.matrix.texture[0] }; 54 DP4 oTexCoords.x, texmat[0], iTexCoords; 55 DP4 oTexCoords.y, texmat[1], iTexCoords; 56 DP4 oTexCoords.z, texmat[2], iTexCoords; 57 DP4 oTexCoords.w, texmat[3], iTexCoords;
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/include/osg/ |
H A D | TexMat | 33 TexMat(const TexMat& texmat,const CopyOp& copyop=CopyOp::SHALLOW_COPY): 34 StateAttribute(texmat,copyop), 35 _matrix(texmat._matrix), 36 _scaleByTextureRectangleSize(texmat._scaleByTextureRectangleSize) {}
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/include/osg/ |
H A D | TexMat | 33 TexMat(const TexMat& texmat,const CopyOp& copyop=CopyOp::SHALLOW_COPY): 34 StateAttribute(texmat,copyop), 35 _matrix(texmat._matrix), 36 _scaleByTextureRectangleSize(texmat._scaleByTextureRectangleSize) {}
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/pfb/ |
H A D | ConvertFromPerformer.cpp | 1316 pfMatrix* texmat = (pfMatrix*)geostate->getAttr(PFSTATE_TEXMAT); in visitGeoState() local 1317 if (texmat) in visitGeoState() 1319 osg::Matrix osgMatrix((*texmat)[0][0],(*texmat)[0][1],(*texmat)[0][2],(*texmat)[0][3], in visitGeoState() 1320 (*texmat)[1][0],(*texmat)[1][1],(*texmat)[1][2],(*texmat)[1][3], in visitGeoState() 1321 (*texmat)[2][0],(*texmat)[2][1],(*texmat)[2][2],(*texmat)[2][3], in visitGeoState() 1322 (*texmat)[3][0],(*texmat)[3][1],(*texmat)[3][2],(*texmat)[3][3]); in visitGeoState()
|
/dports/games/bzflag-server/bzflag-2.4.22/src/ogl/ |
H A D | OpenGLUtils.cxx | 81 const TextureMatrix* texmat = TEXMATRIXMGR.getMatrix(texMatId); in bzMat2gstate() local 82 if (texmat != NULL) in bzMat2gstate() 84 const GLfloat* matrix = texmat->getMatrix(); in bzMat2gstate()
|
/dports/games/bzflag/bzflag-2.4.22/src/ogl/ |
H A D | OpenGLUtils.cxx | 81 const TextureMatrix* texmat = TEXMATRIXMGR.getMatrix(texMatId); in bzMat2gstate() local 82 if (texmat != NULL) in bzMat2gstate() 84 const GLfloat* matrix = texmat->getMatrix(); in bzMat2gstate()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgprerendercubemap/ |
H A D | osgprerendercubemap.cpp | 191 TexMatCullCallback(osg::TexMat* texmat): in TexMatCullCallback() argument 192 _texmat(texmat) in TexMatCullCallback() 278 osg::TexMat* texmat = new osg::TexMat; in createShadowedScene() local 279 stateset->setTextureAttributeAndModes(unit,texmat,osg::StateAttribute::ON); in createShadowedScene() 281 reflectorNode->setCullCallback(new TexMatCullCallback(texmat)); in createShadowedScene()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgprerendercubemap/ |
H A D | osgprerendercubemap.cpp | 191 TexMatCullCallback(osg::TexMat* texmat): in TexMatCullCallback() argument 192 _texmat(texmat) in TexMatCullCallback() 278 osg::TexMat* texmat = new osg::TexMat; in createShadowedScene() local 279 stateset->setTextureAttributeAndModes(unit,texmat,osg::StateAttribute::ON); in createShadowedScene() 281 reflectorNode->setCullCallback(new TexMatCullCallback(texmat)); in createShadowedScene()
|
/dports/games/netradiant/netradiant-20150621-src/radiant/ |
H A D | brush_primit.cpp | 593 texmat[0][0] *= s; in TexMat_Scale() 594 texmat[0][1] *= s; in TexMat_Scale() 595 texmat[0][2] *= s; in TexMat_Scale() 596 texmat[1][0] *= t; in TexMat_Scale() 597 texmat[1][1] *= t; in TexMat_Scale() 598 texmat[1][2] *= t; in TexMat_Scale() 602 texmat[0][0] = other[0][0]; in TexMat_Assign() 603 texmat[0][1] = other[0][1]; in TexMat_Assign() 604 texmat[0][2] = other[0][2]; in TexMat_Assign() 605 texmat[1][0] = other[1][0]; in TexMat_Assign() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/ |
H A D | brush_primit.cpp | 725 texmat[0][0] *= s; in TexMat_Scale() 726 texmat[0][1] *= s; in TexMat_Scale() 727 texmat[0][2] *= s; in TexMat_Scale() 728 texmat[1][0] *= t; in TexMat_Scale() 729 texmat[1][1] *= t; in TexMat_Scale() 730 texmat[1][2] *= t; in TexMat_Scale() 735 texmat[0][0] = other[0][0]; in TexMat_Assign() 736 texmat[0][1] = other[0][1]; in TexMat_Assign() 737 texmat[0][2] = other[0][2]; in TexMat_Assign() 738 texmat[1][0] = other[1][0]; in TexMat_Assign() [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/scene/2d/ |
H A D | polygon_2d.cpp | 144 Matrix32 texmat(tex_rot, tex_ofs); in _notification() local 145 texmat.scale(tex_scale); in _notification() 156 uvs[i] = texmat.xform(uvr[i]) / tex_size; in _notification() 161 uvs[i] = texmat.xform(points[i]) / tex_size; in _notification()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/2d/ |
H A D | polygon_2d.cpp | 144 Matrix32 texmat(tex_rot, tex_ofs); in _notification() local 145 texmat.scale(tex_scale); in _notification() 156 uvs[i] = texmat.xform(uvr[i]) / tex_size; in _notification() 161 uvs[i] = texmat.xform(points[i]) / tex_size; in _notification()
|