/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 114 uvs.reserve(countof(CUBE_INDICES)); in GenerateCubeGeometry() 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 157 uvs in GenerateSphereGeometry() 200 vector<Math::Vec2>& uvs = geometry.uvs; GenerateConeCap() local 239 vector<Math::Vec2>& uvs = geometry.uvs; GenerateConeGeometry() local 311 vector<Math::Vec2>& uvs = geometry.uvs; GenerateTorusGeometry() local 367 CalculateTangentImpl(const array_view<const IndexType>& indices, const array_view<const Math::Vec3>& positions, const array_view<const Math::Vec3>& normals, const array_view<const Math::Vec2>& uvs, array_view<Math::Vec4>& outTangents) CalculateTangentImpl() argument 426 CalculateTangents(const array_view<const uint32_t>& indices, const array_view<const Math::Vec3>& positions, const array_view<const Math::Vec3>& normals, const array_view<const Math::Vec2>& uvs, array_view<Math::Vec4> outTangents) CalculateTangents() argument 433 CalculateTangents(const array_view<const uint16_t>& indices, const array_view<const Math::Vec3>& positions, const array_view<const Math::Vec3>& normals, const array_view<const Math::Vec2>& uvs, array_view<Math::Vec4> outTangents) CalculateTangents() argument 440 CalculateTangents(const array_view<const uint8_t>& indices, const array_view<const Math::Vec3>& positions, const array_view<const Math::Vec3>& normals, const array_view<const Math::Vec2>& uvs, array_view<Math::Vec4> outTangents) CalculateTangents() argument 531 vector<Math::Vec2> uvs; GenerateSphereMesh() local 567 vector<Math::Vec2> uvs; GenerateConeMesh() local 603 vector<Math::Vec2> uvs; GenerateTorusMesh() local 639 vector<Math::Vec2> uvs; GenerateCubeMesh() local [all...] |
H A D | mesh_util.h | 73 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs, 78 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs, 83 const BASE_NS::array_view<const BASE_NS::Math::Vec2>& uvs,
|
H A D | mesh_builder.cpp | 926 const IMeshBuilder::DataBuffer& normals, const IMeshBuilder::DataBuffer& uvs, uint32_t vertexCount) in GenerateDefaultTangents() 936 auto uvsView = array_view(reinterpret_cast<const Math::Vec2*>(uvs.buffer.data()), vertexCount); in GenerateDefaultTangents() 1663 // Reserve space for the to be generated normals and uvs in GenerateMissingAttributes() 924 GenerateDefaultTangents(IMeshBuilder::DataBuffer& tangents, vector<uint8_t>& generatedTangents, const IMeshBuilder::DataBuffer& indices, const IMeshBuilder::DataBuffer& positions, const IMeshBuilder::DataBuffer& normals, const IMeshBuilder::DataBuffer& uvs, uint32_t vertexCount) GenerateDefaultTangents() argument
|
/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
|
/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
|
/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
|
/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()
|