Searched refs:uvs (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_util.cpp | 101 vector<Math::Vec2>& uvs; member 109 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateCubeGeometry() local 132 uvs.emplace_back( in GenerateCubeGeometry() 134 uvs.emplace_back( in GenerateCubeGeometry() 136 uvs.emplace_back( in GenerateCubeGeometry() 149 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateSphereGeometry() local 200 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateConeCap() local 239 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateConeGeometry() local 311 vector<Math::Vec2>& uvs = geometry.uvs; in GenerateTorusGeometry() local 531 vector<Math::Vec2> uvs; in GenerateSphereMesh() local [all …]
|
H A D | mesh_util.h | 73 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs, in CORE3D_BEGIN_NAMESPACE() 78 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs, in CORE3D_BEGIN_NAMESPACE() 83 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs, in CORE3D_BEGIN_NAMESPACE()
|
H A D | mesh_builder.cpp | 926 …const IMeshBuilder::DataBuffer& normals, const IMeshBuilder::DataBuffer& uvs, uint32_t vertexCount) in GenerateDefaultTangents() argument 936 auto uvsView = array_view(reinterpret_cast<const Math::Vec2*>(uvs.buffer.data()), vertexCount); in GenerateDefaultTangents()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/ |
H A D | CubeShape.js | 76 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.depthSegments * this.repeatY); 99 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.depthSegments * this.repeatY); 122 … this.uvs.push(j / this.depthSegments * this.repeatX, i / this.heightSegments * this.repeatY); 145 … this.uvs.push(j / this.depthSegments * this.repeatX, i / this.heightSegments * this.repeatY); 168 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.heightSegments * this.repeatY); 191 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.heightSegments * this.repeatY); 208 this.uvs = []; 239 this.uvsBufferData = new Float32Array(this.uvs);
|
H A D | PlaneShape.js | 72 this.uvs = []; 84 … this.uvs.push(j / this.widthSegments * this.repeatX, i / this.heightSegments * this.repeatY); 112 this.uvsBufferData = new Float32Array(this.uvs);
|
H A D | Shape.js | 91 uvs = [];
|
H A D | SphereGraph.js | 43 const uvs = [];
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/ |
H A D | shadow_demo.js | 170 let uvs = new Float32Array([ 187 o.uvsBuffer = initArrayBuffer(gl, uvs, 2, gl.FLOAT); 260 let uvs = triangleUVS; 266 o.uvsBuffer = initArrayBuffer(gl, uvs, 2, gl.FLOAT); // uvsBuffer
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/ |
H A D | shadow2_demo.js | 172 let uvs = new Float32Array([ 189 o.uvsBuffer = initArrayBuffer(gl, uvs, 2, gl.FLOAT); 262 let uvs = triangleUVS; 268 o.uvsBuffer = initArrayBuffer(gl, uvs, 2, gl.FLOAT); // uvsBuffer
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | mesh_arrays.h | 25 BASE_NS::vector<BASE_NS::Math::Vec2> uvs; // optional, will be generated if empty member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.cpp | 2470 … FillData<BASE_NS::Math::Vec3>(geometry->normals), FillData<BASE_NS::Math::Vec2>(geometry->uvs), in CreateMeshFromArrays()
|