/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthDrivers/engine_mp/ |
H A D | SurfaceNodeFactory.cpp | 142 _texCoords = new osg::Vec3Array(); in addSurfaceMesh() 143 _texCoords->reserve( _numVerts ); in addSurfaceMesh() 144 _surfaceGeom->setTexCoordArray( 0, _texCoords ); in addSurfaceMesh() 160 _texCoords->push_back( osg::Vec3f(nx, ny, masked? 0.0f : 1.0f) ); in addSurfaceMesh() 222 _texCoords->push_back( (*_texCoords)[index] ); in addSkirtDataForIndex() 226 _texCoords->push_back( (*_texCoords)[index] ); in addSkirtDataForIndex() 332 _texCoords && in vertIsMasked() 333 _texCoords->size() > index && in vertIsMasked() 334 (*_texCoords)[index].z() == 0.0f; in vertIsMasked()
|
H A D | TileModelCompiler.cpp | 93 osg::ref_ptr<osg::Vec2Array> _texCoords; member 469 r._texCoords = surfaceTexCoords.get(); in setupTextureAttributes() 472 r._texCoords = new osg::Vec2Array(); in setupTextureAttributes() 476 r._texCoords->reserve( d.numVerticesInSurface ); in setupTextureAttributes() 484 r._texCoords = new osg::Vec2Array(); in setupTextureAttributes() 485 r._texCoords->reserve( d.numVerticesInSurface ); in setupTextureAttributes() 1260 d.renderLayers[i]._texCoords->push_back( tc ); in createSkirtGeometry() 1317 d.renderLayers[i]._texCoords->push_back( tc ); in createSkirtGeometry() 2051 layer._texCoords = r->_texCoords.get(); in installRenderData() 2052 if ( r->_texCoords.valid() ) in installRenderData() [all …]
|
/dports/misc/usd/USD-21.11/pxr/usd/plugin/usdDraco/ |
H A D | importTranslator.cpp | 47 _texCoords(UsdDracoAttributeDescriptor::ForTexCoords(dracoMesh), dracoMesh), in UsdDracoImportTranslator() 136 if (_texCoords.GetDescriptor().GetStatus() == in _CheckDescriptors() 159 _texCoords.PopulateValues(); in _PopulateValuesFromMesh() 227 _texCoords.ResizeIndices(numCorners); in _PopulateIndicesFromMesh() 293 _texCoords.ResizeIndices(numPoints); in _PopulateIndicesFromMesh() 306 _texCoords.SetIndex(vertexIndex, _texCoords.GetMappedIndex(pointIndex)); in _SetIndices() 316 _texCoords.SetToMesh(usdMesh); in _SetAttributesToMesh()
|
H A D | exportTranslator.cpp | 57 _texCoords(UsdDracoAttributeDescriptor::ForTexCoords(usdMesh)), in UsdDracoExportTranslator() 102 if (_texCoords.GetDescriptor().GetStatus() == in _CheckDescriptors() 121 _texCoords.GetFromMesh(_usdMesh, np); in _GetAttributesFromMesh() 221 if (!_CheckPrimvarData(_texCoords)) { in _CheckData() 322 _texCoords.SetToMesh(_dracoMesh); in _SetAttributesToMesh() 350 _texCoords.SetPointMapEntry(pointIdx, positionIdx, cornerIdx); in _SetPointMapsToMesh()
|
H A D | importTranslator.h | 79 UsdDracoImportAttribute<GfVec2f> _texCoords; variable
|
H A D | exportTranslator.h | 93 UsdDracoExportAttribute<GfVec2f> _texCoords; variable
|
/dports/games/flightgear/flightgear-2020.3.11/src/Cockpit/ |
H A D | wxradar.cxx | 215 _texCoords = new osg::Vec2Array; in init() 216 _texCoords->setDataVariance(osg::Object::DYNAMIC); in init() 217 _texCoords->reserve(128 * 4); in init() 218 _geom->setTexCoordArray(0, _texCoords); in init() 379 _texCoords->clear(); in update() 446 _texCoords->push_back(whiteSpot); in update() 570 addQuad(_vertices, _texCoords, m, texBase); in update_weather() 790 addQuad(_vertices, _texCoords, m, texBase); in update_aircraft() 801 addQuad(_vertices, _texCoords, m, texBase); in update_aircraft() 917 addQuad(_vertices, _texCoords, m, texBase); in update_tacan() [all …]
|
H A D | NavDisplay.cxx | 579 _texCoords = new osg::Vec2Array; in init() 580 _texCoords->setDataVariance(osg::Object::DYNAMIC); in init() 581 _texCoords->reserve(128 * 4); in init() 582 _geom->setTexCoordArray(0, _texCoords); in init() 714 _texCoords->clear(); in update() 818 _texCoords->push_back(def->uv0); in addSymbolToScene() 819 _texCoords->push_back(osg::Vec2(def->uv1.x(), def->uv0.y())); in addSymbolToScene() 820 _texCoords->push_back(def->uv1); in addSymbolToScene() 821 _texCoords->push_back(osg::Vec2(def->uv0.x(), def->uv1.y())); in addSymbolToScene() 846 _texCoords->push_back(def->uv1); in addSymbolToScene() [all …]
|
H A D | wxradar.hxx | 146 osg::Vec2Array *_texCoords; member in wxRadarBg
|
H A D | NavDisplay.hxx | 168 osg::Vec2Array *_texCoords; member in NavDisplay
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgUtil/ |
H A D | SceneGraphBuilder.cpp | 223 if (_texCoords.valid()) _texCoords->push_back(_texCoord); in Vertex3f() 239 _texCoords = new osg::Vec4Array; in Begin() 274 for(osg::Vec4Array::iterator itr = _texCoords->begin(); in End() 275 itr != _texCoords->end(); in End() 286 for(osg::Vec4Array::iterator itr = _texCoords->begin(); in End() 287 itr != _texCoords->end(); in End() 298 for(osg::Vec4Array::iterator itr = _texCoords->begin(); in End() 299 itr != _texCoords->end(); in End() 308 _geometry->setTexCoordArray(0, _texCoords.get()); in End()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgUtil/ |
H A D | SceneGraphBuilder.cpp | 223 if (_texCoords.valid()) _texCoords->push_back(_texCoord); in Vertex3f() 239 _texCoords = new osg::Vec4Array; in Begin() 274 for(osg::Vec4Array::iterator itr = _texCoords->begin(); in End() 275 itr != _texCoords->end(); in End() 286 for(osg::Vec4Array::iterator itr = _texCoords->begin(); in End() 287 itr != _texCoords->end(); in End() 298 for(osg::Vec4Array::iterator itr = _texCoords->begin(); in End() 299 itr != _texCoords->end(); in End() 308 _geometry->setTexCoordArray(0, _texCoords.get()); in End()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/ps2/ |
H A D | Gs2dScreen.cpp | 288 _texCoords[0].u = SCALE(1); in Gs2dScreen() 289 _texCoords[0].v = SCALE(1); in Gs2dScreen() 290 _texCoords[1].u = SCALE(_width); in Gs2dScreen() 291 _texCoords[1].v = SCALE(_height); in Gs2dScreen() 491 _texCoords[1].u = SCALE(_width); in newScreenSize() 492 _texCoords[1].v = SCALE(_height); in newScreenSize() 613 _dmaPipe->textureRect(kFullScreen + 0, kFullScreen + 1, _texCoords + 0, _texCoords + 1); in updateScreen() 616 _dmaPipe->textureRect(_blitCoords + 0, _blitCoords + 1, _texCoords + 0, _texCoords + 1); in updateScreen() 833 _dmaPipe->textureRect(kFullScreen + 0, kFullScreen + 1, _texCoords + 0, _texCoords + 1); in playAnim() 836 _dmaPipe->textureRect(_blitCoords + 0, _blitCoords + 1, _texCoords + 0, _texCoords + 1); in playAnim()
|
H A D | Gs2dScreen.h | 96 TexVertex _texCoords[2]; variable
|
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/graphics/opengl/ |
H A D | texture.cpp | 39 _texCoords(), _glFilter(GL_NEAREST), in GLTexture() 113 _texCoords[0] = 0; in setSize() 114 _texCoords[1] = 0; in setSize() 116 _texCoords[2] = texWidth; in setSize() 117 _texCoords[3] = 0; in setSize() 119 _texCoords[4] = 0; in setSize() 120 _texCoords[5] = texHeight; in setSize() 122 _texCoords[6] = texWidth; in setSize() 123 _texCoords[7] = texHeight; in setSize()
|
H A D | texture.h | 125 const GLfloat *getTexCoords() const { return _texCoords; } in getTexCoords() 141 GLfloat _texCoords[4*2]; variable
|
/dports/games/scummvm/scummvm-2.5.1/backends/graphics/opengl/ |
H A D | texture.cpp | 45 _texCoords(), _glFilter(GL_NEAREST), in GLTexture() 126 _texCoords[0] = 0; in setSize() 127 _texCoords[1] = 0; in setSize() 129 _texCoords[2] = texWidth; in setSize() 130 _texCoords[3] = 0; in setSize() 132 _texCoords[4] = 0; in setSize() 133 _texCoords[5] = texHeight; in setSize() 135 _texCoords[6] = texWidth; in setSize() 136 _texCoords[7] = texHeight; in setSize()
|
H A D | texture.h | 127 const GLfloat *getTexCoords() const { return _texCoords; } in getTexCoords() 143 GLfloat _texCoords[4*2]; variable
|
/dports/devel/simgear/simgear-2020.3.11/simgear/canvas/elements/ |
H A D | CanvasImage.cxx | 137 _texCoords = new osg::Vec2Array(4); in Image() 138 _texCoords->setDataVariance(osg::Object::DYNAMIC); in Image() 139 _geom->setTexCoordArray(0, _texCoords, osg::Array::BIND_PER_VERTEX); in Image() 390 _texCoords->resize(num_vertices); in updateImpl() 584 _texCoords->dirty(); in updateImpl() 775 (*_texCoords)[i + 0].set(tl.x(), tl.y()); in setQuadUV() 776 (*_texCoords)[i + 1].set(br.x(), tl.y()); in setQuadUV() 777 (*_texCoords)[i + 2].set(br.x(), br.y()); in setQuadUV() 778 (*_texCoords)[i + 3].set(tl.x(), br.y()); in setQuadUV()
|
H A D | CanvasImage.hxx | 160 osg::ref_ptr<osg::Vec2Array> _texCoords; member in simgear::canvas::Image
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthDriversDisabled/engine_droam/ |
H A D | AMRGeometry.cpp | 217 _texCoords = new osg::Vec2Array(); in initPatterns() 218 _texCoords->setVertexBufferObject( _patternVBO.get() ); in initPatterns() 235 _texCoords->push_back( baryTex ); in initPatterns() 285 state.setTexCoordPointer( 0, _texCoords.get() ); in drawImplementation()
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthDriversDisabled/engine_osgterrain/ |
H A D | SinglePassTerrainTechnique.cpp | 593 osg::ref_ptr<osg::Vec2Array> _texCoords; 838 r._texCoords = locatorToTexCoordTable.find( locator ); 839 if ( !r._texCoords.valid() ) 841 r._texCoords = new osg::Vec2Array(); 842 r._texCoords->reserve( numVerticesInSurface ); 965 … r->_texCoords->push_back( osg::Vec2( color_ndc.x(), color_ndc.y() ) ); 969 r->_texCoords->push_back( osg::Vec2( ndc.x(), ndc.y() ) ); 1718 const osg::Vec2& tc = (*renderLayers[i]._texCoords.get())[orig_i]; 1751 const osg::Vec2& tc = (*renderLayers[i]._texCoords.get())[orig_i]; 1784 const osg::Vec2& tc = (*renderLayers[i]._texCoords.get())[orig_i]; [all …]
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthDriversDisabled/engine_quadtree/ |
H A D | TileModelCompiler.cpp | 77 osg::ref_ptr<osg::Vec2Array> _texCoords; member 425 r._texCoords = surfaceTexCoords.get(); in setupTextureAttributes() 442 r._texCoords = new osg::Vec2Array(); in setupTextureAttributes() 443 r._texCoords->reserve( d.numVerticesInSurface ); in setupTextureAttributes() 496 compositor->assignTexCoordArray( d.surface, r->_layer.getUID(), r->_texCoords.get() ); in assignTextureArrays() 594 … r->_texCoords->push_back( osg::Vec2( color_ndc.x(), color_ndc.y() ) ); in createSurfaceGeometry() 598 r->_texCoords->push_back( osg::Vec2( ndc.x(), ndc.y() ) ); in createSurfaceGeometry() 1065 const osg::Vec2& tc = (*d.renderLayers[i]._texCoords.get())[orig_i]; in createSkirtGeometry() 1111 const osg::Vec2& tc = (*d.renderLayers[i]._texCoords.get())[orig_i]; in createSkirtGeometry() 1157 const osg::Vec2& tc = (*d.renderLayers[i]._texCoords.get())[orig_i]; in createSkirtGeometry() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/ac/ |
H A D | ac3d.cpp | 716 osg::ref_ptr<osg::Vec2Array> _texCoords; member in ac3d::LineBin 728 _texCoords(new osg::Vec2Array) in LineBin() 732 _texCoords->setDataVariance(osg::Object::STATIC); in LineBin() 734 _geometry->setTexCoordArray(0, _texCoords.get()); in LineBin() 775 _texCoords->push_back(_refs[i].texCoord); in endPrimitive()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/ac/ |
H A D | ac3d.cpp | 705 osg::ref_ptr<osg::Vec2Array> _texCoords; member in ac3d::LineBin 717 _texCoords(new osg::Vec2Array) in LineBin() 721 _texCoords->setDataVariance(osg::Object::STATIC); in LineBin() 723 _geometry->setTexCoordArray(0, _texCoords.get()); in LineBin() 764 _texCoords->push_back(_refs[i].texCoord); in endPrimitive()
|