Home
last modified time | relevance | path

Searched refs:currentMaterial (Results 1 – 25 of 25) sorted by relevance

/dports/x11-wm/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8/src/cubemodel/
H A DloadModel.c267 currentMaterial->Ns[0] = 100; in loadMaterials()
268 currentMaterial->Ni[0] = 1; in loadMaterials()
269 currentMaterial->illum = 2; in loadMaterials()
273 currentMaterial->Ka[i] = 0.2; in loadMaterials()
274 currentMaterial->Kd[i] = 0.8; in loadMaterials()
275 currentMaterial->Ks[i] = 1; in loadMaterials()
277 currentMaterial->Ka[3] = 1; in loadMaterials()
278 currentMaterial->Kd[3] = 1; in loadMaterials()
279 currentMaterial->Ks[3] = 1; in loadMaterials()
281 currentMaterial->map_Ka = -1; in loadMaterials()
[all …]
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/materialeditor/
H A DMaterialDocManager.cpp40 currentMaterial = NULL; in MaterialDocManager()
103 if(currentMaterial) { in SetSelectedMaterial()
111 if(currentMaterial) { in SetSelectedMaterial()
118 if(currentMaterial) { in SetSelectedMaterial()
122 delete currentMaterial; in SetSelectedMaterial()
123 currentMaterial = NULL; in SetSelectedMaterial()
129 currentMaterial = *tempDoc; in SetSelectedMaterial()
352 if(currentMaterial) { in ReloadFile()
353 currentMaterial->SetRenderMaterial(currentMaterial->renderMaterial); in ReloadFile()
385 if(currentMaterial && material && !currentMaterial->name.Icmp(material->GetName())) { in CreateMaterialDoc()
[all …]
H A DStageView.cpp64 currentMaterial = NULL; in IMPLEMENT_DYNCREATE()
81 currentMaterial = pMaterial; in MV_OnMaterialSelectionChange()
95 if(pMaterial == currentMaterial) { in MV_OnMaterialSaved()
160 int stageType = currentMaterial->GetAttributeInt(to-1, "stagetype"); in MV_OnMaterialStageMove()
188 list.SetItemText(stage+1, 0, currentMaterial->GetAttribute(stage, attribName)); in MV_OnMaterialAttributeChanged()
278 if(currentMaterial) { in RefreshStageList()
285 int stageCount = currentMaterial->GetStageCount(); in RefreshStageList()
287 const char* name = currentMaterial->GetAttribute(i, "name"); in RefreshStageList()
291 if(currentMaterial->IsStageEnabled(i)) { in RefreshStageList()
337 int stageType = currentMaterial->GetAttributeInt(pNMLV->iItem-1, "stagetype"); in OnLvnItemchanged()
[all …]
H A DMaterialDocManager.h54 MaterialDoc* GetCurrentMaterialDoc() { return currentMaterial; }; in GetCurrentMaterialDoc()
150 MaterialDoc* currentMaterial; variable
H A DMaterialPropTreeView.h66 MaterialDoc* currentMaterial;
H A DStageView.h119 MaterialDoc* currentMaterial; variable
H A DMaterialPreviewView.h141 idStr currentMaterial; variable
H A DMaterialPreviewView.cpp112 currentMaterial = pMaterial->renderMaterial->GetName(); in MV_OnMaterialSelectionChange()
113 renderedView.setMedia( currentMaterial ); in MV_OnMaterialSelectionChange()
/dports/devel/vcglib/vcglib-2020.09/wrap/io_trimesh/
H A Dimport_obj.h974 Material currentMaterial; in LoadMaterials() local
977 currentMaterial.index = (unsigned int)(-1); in LoadMaterials()
978 currentMaterial.Ka = Point3f(0.2, 0.2, 0.2); in LoadMaterials()
979 currentMaterial.Kd = Point3f(1, 1, 1); in LoadMaterials()
980 currentMaterial.Ks = Point3f(1, 1, 1); in LoadMaterials()
981 currentMaterial.Tr = 1; in LoadMaterials()
982 currentMaterial.Ns = 0; in LoadMaterials()
983 currentMaterial.illum = 2; in LoadMaterials()
1000 materials.push_back(currentMaterial); in LoadMaterials()
1001 currentMaterial = Material(); in LoadMaterials()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/Plugins/Object.Wavefront/Parsers/
H A DWavefrontObjParser.cs57 string currentMaterial = string.Empty; in ReadObject()
299 if (currentMaterial != string.Empty) in ReadObject()
303 if (Builder.Materials[m] == TempMaterials[currentMaterial]) in ReadObject()
315 if (TempMaterials.ContainsKey(currentMaterial)) in ReadObject()
317 Builder.Materials[materialIndex] = TempMaterials[currentMaterial]; in ReadObject()
325 …Builder.Faces.Add(currentMaterial == string.Empty ? new MeshFace(Vertices, 0) : new MeshFace(Verti… in ReadObject()
354 currentMaterial = Arguments[1].ToLowerInvariant(); in ReadObject()
355 if (!TempMaterials.ContainsKey(currentMaterial)) in ReadObject()
357 currentMaterial = string.Empty; in ReadObject()
/dports/graphics/wdune/wdune-1.926/vcglib/wrap/io_trimesh/
H A Dimport_obj.h948 Material currentMaterial; in LoadMaterials() local
949 currentMaterial.index = (unsigned int)(-1); in LoadMaterials()
967 currentMaterial = Material(); in LoadMaterials()
975 currentMaterial.materialName=tokens[1]; in LoadMaterials()
985 currentMaterial.Ka = Point3f(r, g, b); in LoadMaterials()
995 currentMaterial.Kd = Point3f(r, g, b); in LoadMaterials()
1005 currentMaterial.Ks = Point3f(r, g, b); in LoadMaterials()
1026 currentMaterial.illum = illumination; in LoadMaterials()
1034 currentMaterial.map_Kd=textureName; in LoadMaterials()
1045 currentMaterial.index = (int)j; in LoadMaterials()
[all …]
/dports/print/scribus-devel/scribus-1.5.7/scribus/third_party/prc/
H A DexportPRC.cpp51currentMaterial = PRCmaterial ( amb, dif, emi, spe, Diffuse[3], material->getShininess ( osg::Mate… in getCurrentMaterial()
77currentMaterial = PRCmaterial ( amb, dif, emi, spe, Diffuse[3], material->getShininess ( osg::Mate… in getCurrentMaterial()
170 out->addSurface(1, 1, 2, 2, points, knotsU, knotsV, currentMaterial, NULL ); in analysePrimSet()
217 out->addSurface(1, 1, 2, 2, points, knotsU, knotsV, currentMaterial, NULL ); in analysePrimSet()
266 out->addSurface(1, 1, 2, 2, points, knotsU, knotsV, currentMaterial, NULL ); in analysePrimSet()
289 out->addSurface(1, 1, 2, 2, points, knotsU, knotsV, currentMaterial, NULL ); in analysePrimSet()
H A DexportPRC.h61 PRCmaterial currentMaterial; variable
/dports/games/dhewm3/dhewm3-1.5.1/neo/renderer/
H A DModel_ase.cpp61 aseMaterial_t *currentMaterial; member
191 idStr::Copynz( ase.currentMaterial->name, qpath, sizeof( ase.currentMaterial->name ) ); in ASE_KeyMAP_DIFFUSE()
250 ase.currentMaterial = (aseMaterial_t *)Mem_Alloc( sizeof( aseMaterial_t ) ); in ASE_KeyMATERIAL_LIST()
251 memset( ase.currentMaterial, 0, sizeof( aseMaterial_t ) ); in ASE_KeyMATERIAL_LIST()
252 ase.currentMaterial->uTiling = 1; in ASE_KeyMATERIAL_LIST()
253 ase.currentMaterial->vTiling = 1; in ASE_KeyMATERIAL_LIST()
254 ase.model->materials.Append(ase.currentMaterial); in ASE_KeyMATERIAL_LIST()
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/
H A Dbgrascene3d.pas971 currentMaterial: IBGRAMaterial3D;
990 currentMaterial := GetMaterialByName(materialName);
991 if currentMaterial = nil then
993 currentMaterial := CreateMaterial;
994 currentMaterial.Name := materialName;
997 if currentMaterial <> nil then
1004 currentMaterial.Texture := FetchTexture(trim(s),texZoom);
1006 currentMaterial.TextureZoom := texZoom;
1013 currentMaterial.SimpleAlpha := 255
1015 currentMaterial.SimpleAlpha := 0
[all …]
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/
H A Dbgrascene3d.pas971 currentMaterial: IBGRAMaterial3D;
990 currentMaterial := GetMaterialByName(materialName);
991 if currentMaterial = nil then
993 currentMaterial := CreateMaterial;
994 currentMaterial.Name := materialName;
997 if currentMaterial <> nil then
1004 currentMaterial.Texture := FetchTexture(trim(s),texZoom);
1006 currentMaterial.TextureZoom := texZoom;
1013 currentMaterial.SimpleAlpha := 255
1015 currentMaterial.SimpleAlpha := 0
[all …]
/dports/games/bzflag-server/bzflag-2.4.22/tools/modeltool/
H A DwavefrontOBJ.cxx215 std::string currentMaterial = ""; in readOBJ() local
289 currentMaterial = lineParts[1]; in readOBJ()
290 underscoreBeforeNumbers(currentMaterial); in readOBJ()
295 face.material = currentMaterial; in readOBJ()
/dports/games/bzflag/bzflag-2.4.22/tools/modeltool/
H A DwavefrontOBJ.cxx215 std::string currentMaterial = ""; in readOBJ() local
289 currentMaterial = lineParts[1]; in readOBJ()
290 underscoreBeforeNumbers(currentMaterial); in readOBJ()
295 face.material = currentMaterial; in readOBJ()
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/j3d/
H A DOBJLoader.java1004 private String currentMaterial; field in OBJLoader
1112 this.currentMaterial = "default"; in parseObjectStream()
1371 this.currentMaterial)); in parseObjectLine()
1442 this.currentSmooth, this.currentMaterial)); in parseObjectLine()
1479 this.currentMaterial = tokenizer.sval; in parseObjectLine()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Utilities/simmToOpenSim/
H A Dfree.c625 if (mi->currentMaterial.normal_list) in free_motion_object_instance()
626 glDeleteLists(mi->currentMaterial.normal_list, 1); in free_motion_object_instance()
628 if (mi->currentMaterial.highlighted_list) in free_motion_object_instance()
629 glDeleteLists(mi->currentMaterial.highlighted_list, 1); in free_motion_object_instance()
H A Dmotion.c996 mi->currentMaterial.name = NULL; in store_motion_object_instance()
997 copy_material(&model->dis.mat.materials[mo->material], &mi->currentMaterial); in store_motion_object_instance()
2306 …al(&model->dis.mat.materials[model->motion_objects[motion_object].material], &mi->currentMaterial); in add_foot_print()
2377 …al(&model->dis.mat.materials[model->motion_objects[motion_object].material], &mi->currentMaterial); in add_force_plate()
H A Dmodelplot.h900 MaterialStruct currentMaterial; /* the motion object's current material */ variable
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/
H A DPlayerView.h294 const idMaterial* currentMaterial; variable
H A DPlayerView.cpp1470 currentMaterial = declManager->FindMaterial( "textures/smf/bloom2/currentMaterial" ); in Initialize()
/dports/java/java3d/java3d-1.5.2/j3d-core/src/classes/share/javax/media/j3d/
H A DCanvas3D.java665 MaterialRetained currentMaterial = new MaterialRetained(); field in Canvas3D
4013 currentMaterial = new MaterialRetained(); in reset()