/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/ |
H A D | BrushBuilder.cpp | 38 return createCuboid(BBox3(size / 2.0), textureName); in createCube() 41 Brush* BrushBuilder::createCuboid(const Vec3& size, const String& textureName) const { in createCuboid() 42 return createCuboid(BBox3(-size / 2.0, size / 2.0), textureName); in createCuboid() 51 textureName); in createCuboid() 56 textureName); in createCuboid() 61 textureName); in createCuboid() 66 textureName); in createCuboid() 71 textureName); in createCuboid() 76 textureName); in createCuboid() 82 return createBrush(Polyhedron3(points), textureName); in createBrush() [all …]
|
H A D | BrushBuilder.h | 38 Brush* createCube(FloatType size, const String& textureName) const; 39 Brush* createCuboid(const Vec3& size, const String& textureName) const; 40 Brush* createCuboid(const BBox3& bounds, const String& textureName) const; 41 Brush* createBrush(const Vec3::List& points, const String& textureName) const; 42 Brush* createBrush(const Polyhedron3& polyhedron, const String& textureName) const;
|
H A D | BrushContentTypeEvaluator.cpp | 55 const String& textureName = face->textureName(); in doEvaluate() local 56 const size_t pos = textureName.find_last_of('/'); in doEvaluate() 58 return m_matcher.matches(textureName); in doEvaluate() 59 return m_matcher.matches(textureName.substr(pos + 1)); in doEvaluate()
|
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/IO/ |
H A D | MapStreamSerializer.cpp | 35 …const String& textureName = face->textureName().empty() ? Model::BrushFace::NoTextureName : face->… in doWriteBrushFace() local 51 textureName << " " << in doWriteBrushFace() 75 …const String& textureName = face->textureName().empty() ? Model::BrushFace::NoTextureName : face->… in doWriteBrushFace() local 98 textureName << " " << in doWriteBrushFace() 122 …const String& textureName = face->textureName().empty() ? Model::BrushFace::NoTextureName : face->… in doWriteBrushFace() local 143 textureName << " " << in doWriteBrushFace()
|
H A D | MapFileSerializer.cpp | 54 …const String& textureName = face->textureName().empty() ? Model::BrushFace::NoTextureName : face->… in doWriteBrushFace() local 68 textureName.c_str(), in doWriteBrushFace() 88 textureName.c_str(), in doWriteBrushFace() 123 …const String& textureName = face->textureName().empty() ? Model::BrushFace::NoTextureName : face->… in doWriteBrushFace() local 136 textureName.c_str(), in doWriteBrushFace() 172 …const String& textureName = face->textureName().empty() ? Model::BrushFace::NoTextureName : face->… in doWriteBrushFace() local 188 textureName.c_str(), in doWriteBrushFace()
|
/dports/x11-toolkits/plib/plib-1.8.5/src/ssg/ |
H A D | ssgSaveVRML1.cxx | 51 char *textureName, bool saveDiffuse, in SaveVRML1MaterialNode() argument 74 if ( ( (textureName == NULL)&& in SaveVRML1MaterialNode() 80 ( (textureName != NULL)&&(ss_ptr != NULL)&& in SaveVRML1MaterialNode() 82 (!strcmp(textureName, ss_ptr->getTextureFilename())) ) ) in SaveVRML1MaterialNode() 129 if ( ( (textureName == NULL)&& in SaveVRML1MaterialNode() 135 ( (textureName != NULL)&&(ss_ptr != NULL)&& in SaveVRML1MaterialNode() 137 (!strcmp(textureName, ss_ptr->getTextureFilename())) ) ) in SaveVRML1MaterialNode() 156 if ( ( (textureName == NULL)&& in SaveVRML1MaterialNode() 162 ( (textureName != NULL)&&(ss_ptr != NULL)&& in SaveVRML1MaterialNode() 183 if ( ( (textureName == NULL)&& in SaveVRML1MaterialNode() [all …]
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/ |
H A D | opencl_dynamic_data.cpp | 155 QString textureName; in BuildMaterialsData() local 157 textureName = material.colorTexture.GetFileName(); in BuildMaterialsData() 159 textureIndexes.contains(textureName) ? textureIndexes[textureName] : -1; in BuildMaterialsData() 163 textureIndexes.contains(textureName) ? textureIndexes[textureName] : -1; in BuildMaterialsData() 167 textureIndexes.contains(textureName) ? textureIndexes[textureName] : -1; in BuildMaterialsData() 171 textureIndexes.contains(textureName) ? textureIndexes[textureName] : -1; in BuildMaterialsData() 175 textureIndexes.contains(textureName) ? textureIndexes[textureName] : -1; in BuildMaterialsData() 179 textureIndexes.contains(textureName) ? textureIndexes[textureName] : -1; in BuildMaterialsData() 183 textureIndexes.contains(textureName) ? textureIndexes[textureName] : -1; in BuildMaterialsData() 187 textureIndexes.contains(textureName) ? textureIndexes[textureName] : -1; in BuildMaterialsData() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/io_epoch/ |
H A D | v3dImportDialog.cpp | 86 QString ThumbImgName=EpochModel::ThumbName(er->modelList[i].textureName); in setEpochReconstruction() 91 QTableWidgetItem *texNameHeaderItem = new QTableWidgetItem(er->modelList[i].textureName,i); in setEpochReconstruction() 97 QPixmap(er->modelList[i].textureName).scaledToHeight(64).save(ThumbImgName,"jpg"); in setEpochReconstruction() 100 … QString("Unable to create '%1' from '%2'").arg(ThumbImgName),er->modelList[i].textureName); in setEpochReconstruction() 103 imageLabel->setPixmap(QPixmap(EpochModel::ThumbName(er->modelList[i].textureName))); in setEpochReconstruction() 127 …eation",QString("Unable to create '%1' from '%2'").arg(ThumbCntName,er->modelList[i].textureName)); in setEpochReconstruction() 152 QPixmap tmp(er->modelList[row].textureName); in on_imageTableWidget_itemSelectionChanged() 177 QPixmap(er->modelList[row].textureName).scaled(previewLabel->size(),Qt::KeepAspectRatio) ); in on_imageTableWidget_itemClicked() 186 qDebug("DoubleClicked on image %s",qPrintable(er->modelList[row].textureName)); in on_imageTableWidget_itemDoubleClicked() 187 QImage ttt(er->modelList[row].textureName); in on_imageTableWidget_itemDoubleClicked() [all …]
|
/dports/graphics/libprojectm/projectm-3.1.12/src/museum/projectM-iTunes-VizKit/source/ |
H A D | VisualTextureContainer.cpp | 65 textureName = 0; in VisualTextureContainer() 90 if ((this->aTextureIsSet) && (this->textureName != other.textureName)) { in operator =() 248 this->textureName = theVisualGraphics->getNextFreeTextureName(); in initWithARGBPixelData() 250 VisualTextureContainer::textureRefCountMap[this->textureName] = 1; in initWithARGBPixelData() 291 this->textureName = theVisualGraphics->getNextFreeTextureName(); in initWithStyledString() 293 VisualTextureContainer::textureRefCountMap[this->textureName] = 1; in initWithStyledString() 387 this->textureName = theVisualGraphics->getNextFreeTextureName(); in initWithFramebuffer() 585 this->textureName = other.textureName; in copy() 594 return this->textureName; in getTextureName() 638 theVisualGraphics->deleteTextures(1, &(this->textureName)); in releaseTextureData() [all …]
|
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/material/ |
H A D | MaterialSystem.cpp | 67 …erialSystem::generateMaterialForFace (int contentFlags, int surfaceFlags, std::string& textureName, in generateMaterialForFace() argument 70 if (textureName.find("dirt") != std::string::npos || textureName.find("rock") != std::string::npos in generateMaterialForFace() 71 || textureName.find("grass") != std::string::npos) { in generateMaterialForFace() 79 …if ((contentFlags & CONTENTS_WATER) || textureName.find("glass") != std::string::npos || textureNa… in generateMaterialForFace() 87 …if (textureName.find("wood") != std::string::npos || textureName.find("desert") != std::string::np… in generateMaterialForFace() 94 if (textureName.find("metal") != std::string::npos) { in generateMaterialForFace() 101 if (textureName.find("wall") != std::string::npos) { in generateMaterialForFace()
|
/dports/games/netradiant/netradiant-20150621-src/contrib/bobtoolz/ |
H A D | DShape.cpp | 286 pB->AddFace( v1, v2, v3, textureName, detail ); in GetBoundingCube_Ext() 289 pB->AddFace( v1, v3, v6, textureName, detail ); in GetBoundingCube_Ext() 292 pB->AddFace( v1, v7, v2, textureName, detail ); in GetBoundingCube_Ext() 296 pB->AddFace( v5, v6, v3, textureName, detail ); in GetBoundingCube_Ext() 299 pB->AddFace( v5, v2, v7, textureName, detail ); in GetBoundingCube_Ext() 340 pB->AddFace( v1, v2, v3, textureName, false ); in GetBoundingCube() 343 pB->AddFace( v1, v3, v6, textureName, false ); in GetBoundingCube() 346 pB->AddFace( v1, v7, v2, textureName, false ); in GetBoundingCube() 350 pB->AddFace( v5, v6, v3, textureName, false ); in GetBoundingCube() 353 pB->AddFace( v5, v2, v7, textureName, false ); in GetBoundingCube() [all …]
|
/dports/games/blockattack/blockattack-game-2.7.0/source/code/sago/ |
H A D | SagoDataHolder.cpp | 104 SDL_Texture* SagoDataHolder::getTexturePtr(const std::string& textureName) const { in getTexturePtr() 108 SDL_Texture* ret = data->textures[textureName]; in getTexturePtr() 112 std::string path = "textures/"+textureName+".png"; in getTexturePtr() 136 data->textures[textureName] = ret; in getTexturePtr() 248 TextureHandler::TextureHandler(const SagoDataHolder* holder, const std::string& textureName) { in TextureHandler() argument 251 this->textureName = textureName; in TextureHandler() 258 this->data = this->holder->getTexturePtr(textureName); in get() 295 TextureHandler SagoDataHolder::getTextureHandler(const std::string& textureName) const { in getTextureHandler() 296 return TextureHandler(this, textureName); in getTextureHandler()
|
H A D | SagoDataHolder.hpp | 42 TextureHandler(const SagoDataHolder* holder, const std::string& textureName); 45 std::string textureName; member in sago::TextureHandler 91 SDL_Texture* getTexturePtr(const std::string& textureName) const; 93 TextureHandler getTextureHandler(const std::string& textureName) const;
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/edit_arc3D/ |
H A D | v3dImportDialog.cpp | 131 QString ThumbImgName=Arc3DModel::ThumbName(er->modelList[i].textureName); in setArc3DReconstruction() 136 QTableWidgetItem *texNameHeaderItem = new QTableWidgetItem(er->modelList[i].textureName,i); in setArc3DReconstruction() 142 QPixmap(er->modelList[i].textureName).scaledToHeight(64).save(ThumbImgName,"jpg"); in setArc3DReconstruction() 145 … QString("Unable to create '%1' from '%2'").arg(ThumbImgName),er->modelList[i].textureName); in setArc3DReconstruction() 148 imageLabel->setPixmap(QPixmap(Arc3DModel::ThumbName(er->modelList[i].textureName))); in setArc3DReconstruction() 172 …eation",QString("Unable to create '%1' from '%2'").arg(ThumbCntName,er->modelList[i].textureName)); in setArc3DReconstruction() 196 QPixmap tmp(er->modelList[row].textureName); in on_imageTableWidget_itemSelectionChanged() 221 QPixmap(er->modelList[row].textureName).scaled(ui.previewLabel->size(),Qt::KeepAspectRatio) ); in on_imageTableWidget_itemClicked() 230 qDebug("DoubleClicked on image %s",qPrintable(er->modelList[row].textureName)); in on_imageTableWidget_itemDoubleClicked() 231 QImage ttt(er->modelList[row].textureName); in on_imageTableWidget_itemDoubleClicked() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/contrib/bobtoolz/ |
H A D | DShape.cpp | 299 pB->AddFace(v1, v2, v3, textureName, detail); in GetBoundingCube_Ext() 301 pB->AddFace(v1, v3, v6, textureName, detail); in GetBoundingCube_Ext() 303 pB->AddFace(v1, v7, v2, textureName, detail); in GetBoundingCube_Ext() 306 pB->AddFace(v5, v6, v3, textureName, detail); in GetBoundingCube_Ext() 308 pB->AddFace(v5, v2, v7, textureName, detail); in GetBoundingCube_Ext() 346 pB->AddFace(v1, v2, v3, textureName, FALSE); in GetBoundingCube() 348 pB->AddFace(v1, v3, v6, textureName, FALSE); in GetBoundingCube() 350 pB->AddFace(v1, v7, v2, textureName, FALSE); in GetBoundingCube() 353 pB->AddFace(v5, v6, v3, textureName, FALSE); in GetBoundingCube() 355 pB->AddFace(v5, v2, v7, textureName, FALSE); in GetBoundingCube() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/guilib/ |
H A D | TextureManager.cpp | 133 CTextureMap::CTextureMap(const std::string& textureName, int width, int height, int loops) in CTextureMap() argument 135 , m_textureName(textureName) in CTextureMap() 257 if (path) *path = textureName; in HasTexture() 259 if (textureName.empty()) in HasTexture() 262 if (!CanLoad(textureName)) in HasTexture() 266 std::string bundledName = CTextureBundle::Normalize(textureName); in HasTexture() 270 if (pMap->GetName() == textureName) in HasTexture() 286 std::string fullPath = GetTexturePath(textureName); in HasTexture() 628 if (CURL::IsFullPath(textureName)) in GetTexturePath() 629 return textureName; in GetTexturePath() [all …]
|
/dports/misc/usd/USD-21.11/pxr/imaging/hgiGL/ |
H A D | framebufferCache.cpp | 124 const uint32_t textureName = glTexture->GetTextureId(); in _CreateFramebuffer() local 125 if (!TF_VERIFY(glIsTexture(textureName), "Attachment not a texture")) { in _CreateFramebuffer() 132 textureName, in _CreateFramebuffer() 150 const uint32_t textureName = glTexture->GetTextureId(); in _CreateFramebuffer() local 152 if (TF_VERIFY(glIsTexture(textureName), "Attachment not a texture")) { in _CreateFramebuffer() 160 textureName, in _CreateFramebuffer()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/ShaderSystemTexturedFog/include/ |
H A D | ShaderSystemTexturedFog.h | 146 String textureName; in sliderMoved() local 150 case 0: textureName = "early_morning.jpg"; break; in sliderMoved() 151 case 1: textureName = "cloudy_noon.jpg"; break; in sliderMoved() 152 case 2: textureName = "stormy.jpg"; break; in sliderMoved() 153 default: textureName = "evening.jpg"; break; in sliderMoved() 155 mSRSTextureFogFactory->setBackgroundTextureName(textureName); in sliderMoved()
|
/dports/graphics/ogre3d/ogre-1.11.6/Samples/ShaderSystemTexturedFog/include/ |
H A D | ShaderSystemTexturedFog.h | 143 String textureName; in sliderMoved() local 147 case 0: textureName = "early_morning.jpg"; break; in sliderMoved() 148 case 1: textureName = "cloudy_noon.jpg"; break; in sliderMoved() 149 case 2: textureName = "stormy.jpg"; break; in sliderMoved() 150 default: textureName = "evening.jpg"; break; in sliderMoved() 152 mSRSTextureFogFactory->setBackgroundTextureName(textureName); in sliderMoved()
|
/dports/graphics/goom/goom2k4-0/mac/StandAlone/ |
H A D | Goom.m | 85 glBindTexture(GL_TEXTURE_RECTANGLE_EXT, textureName); 113 glBindTexture(GL_TEXTURE_2D, textureName); 227 glDeleteTextures(1, &textureName); 231 glGenTextures( 1, &textureName ); 232 glBindTexture(GL_TEXTURE_RECTANGLE_EXT, textureName); 252 glDeleteTextures(1, &textureName); 256 glGenTextures( 1, &textureName ); 257 glBindTexture(GL_TEXTURE_2D, textureName);
|
/dports/games/openmw/openmw-openmw-0.47.0/components/widgets/ |
H A D | imagebutton.cpp | 83 std::string textureName = mImageNormal; in updateImage() local 85 textureName = mImagePushed; in updateImage() 87 textureName = mImageHighlighted; in updateImage() 92 MyGUI::ITexture* texture = MyGUI::RenderManager::getInstance().getTexture(textureName); in updateImage() 101 setImageTexture(textureName); in updateImage()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/ShaderSystem/include/ |
H A D | ShaderExReflectionMap.h | 96 … setReflectionMapTextureName (const String& textureName) { mReflectionMapTextureName = textur… in setReflectionMapTextureName() argument 107 void setMaskMapTextureName (const String& textureName) { mMaskMapTextureName = textureName; } in setMaskMapTextureName() argument
|
/dports/graphics/ogre3d/ogre-1.11.6/Samples/ShaderSystem/include/ |
H A D | ShaderExReflectionMap.h | 96 … setReflectionMapTextureName (const String& textureName) { mReflectionMapTextureName = textur… in setReflectionMapTextureName() argument 107 … setMaskMapTextureName (const String& textureName) { mMaskMapTextureName = textureNa… in setMaskMapTextureName() argument
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/RTShaderSystem/src/ |
H A D | OgreShaderExTextureAtlasSampler.cpp | 425 String textureName = strings[1]; in addTexutreAtlasDefinition() local 427 TextureAtlasMap::iterator it = tmpMap.find(textureName); in addTexutreAtlasDefinition() 428 if (tmpMap.find(textureName) == tmpMap.end()) in addTexutreAtlasDefinition() 430 …it = tmpMap.insert(TextureAtlasMap::value_type(textureName, TextureAtlasTablePtr(new TextureAtlasT… in addTexutreAtlasDefinition() 477 void TextureAtlasSamplerFactory::setTextureAtlasTable(const String& textureName, const TextureAtlas… in setTextureAtlasTable() argument 480 removeTextureAtlasTable(textureName); in setTextureAtlasTable() 481 else mAtlases.insert(TextureAtlasMap::value_type(textureName, atlasData)); in setTextureAtlasTable() 485 void TextureAtlasSamplerFactory::removeTextureAtlasTable(const String& textureName) in removeTextureAtlasTable() argument 487 mAtlases.erase(textureName); in removeTextureAtlasTable() 497 …ureAtlasTablePtr& TextureAtlasSamplerFactory::getTextureAtlasTable(const String& textureName) const in getTextureAtlasTable() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/Components/RTShaderSystem/src/ |
H A D | OgreShaderExTextureAtlasSampler.cpp | 409 String textureName = strings[1]; in addTexutreAtlasDefinition() local 411 TextureAtlasMap::iterator it = tmpMap.find(textureName); in addTexutreAtlasDefinition() 412 if (tmpMap.find(textureName) == tmpMap.end()) in addTexutreAtlasDefinition() 414 …it = tmpMap.insert(TextureAtlasMap::value_type(textureName, TextureAtlasTablePtr(new TextureAtlasT… in addTexutreAtlasDefinition() 461 void TextureAtlasSamplerFactory::setTextureAtlasTable(const String& textureName, const TextureAtlas… in setTextureAtlasTable() argument 464 removeTextureAtlasTable(textureName); in setTextureAtlasTable() 465 else mAtlases.insert(TextureAtlasMap::value_type(textureName, atlasData)); in setTextureAtlasTable() 469 void TextureAtlasSamplerFactory::removeTextureAtlasTable(const String& textureName) in removeTextureAtlasTable() argument 471 mAtlases.erase(textureName); in removeTextureAtlasTable() 481 …ureAtlasTablePtr& TextureAtlasSamplerFactory::getTextureAtlasTable(const String& textureName) const in getTextureAtlasTable() [all …]
|