add grenade_throw model

main
shmily744 2023-04-20 01:04:39 +08:00
parent b0f893faed
commit d837e37713
30 changed files with 6445 additions and 2 deletions

View File

@ -0,0 +1,11 @@
Model Information:
* title: Grenade Throw
* source: https://sketchfab.com/3d-models/grenade-throw-52d6ac86d0d54a1bbf2f00035d570459
* author: JeremyFin (https://sketchfab.com/JeremyFin)
Model License:
* license type: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
* requirements: Author must be credited. Commercial use is allowed.
If you use this 3D model in your project be sure to copy paste this credit wherever you share it:
This work is based on "Grenade Throw" (https://sketchfab.com/3d-models/grenade-throw-52d6ac86d0d54a1bbf2f00035d570459) by JeremyFin (https://sketchfab.com/JeremyFin) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 KiB

View File

Before

Width:  |  Height:  |  Size: 976 KiB

After

Width:  |  Height:  |  Size: 976 KiB

View File

Before

Width:  |  Height:  |  Size: 816 KiB

After

Width:  |  Height:  |  Size: 816 KiB

View File

Before

Width:  |  Height:  |  Size: 282 KiB

After

Width:  |  Height:  |  Size: 282 KiB

View File

Before

Width:  |  Height:  |  Size: 405 KiB

After

Width:  |  Height:  |  Size: 405 KiB

View File

Before

Width:  |  Height:  |  Size: 440 KiB

After

Width:  |  Height:  |  Size: 440 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 499 KiB

After

Width:  |  Height:  |  Size: 499 KiB

View File

Before

Width:  |  Height:  |  Size: 425 KiB

After

Width:  |  Height:  |  Size: 425 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 269 KiB

View File

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 120 KiB

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 530 KiB

After

Width:  |  Height:  |  Size: 530 KiB

View File

Before

Width:  |  Height:  |  Size: 514 KiB

After

Width:  |  Height:  |  Size: 514 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 442 KiB

After

Width:  |  Height:  |  Size: 442 KiB

View File

Before

Width:  |  Height:  |  Size: 441 KiB

After

Width:  |  Height:  |  Size: 441 KiB

View File

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View File

Before

Width:  |  Height:  |  Size: 425 KiB

After

Width:  |  Height:  |  Size: 425 KiB

View File

Before

Width:  |  Height:  |  Size: 474 KiB

After

Width:  |  Height:  |  Size: 474 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -20,15 +20,20 @@ DemoWorld::DemoWorld()
actor3->setPosition({ -1,0,-1 }); actor3->setPosition({ -1,0,-1 });
auto sponza = std::make_shared<Actor>("Models\\Sponza\\Sponza.gltf"); auto sponza = std::make_shared<Actor>("Models\\Sponza\\Sponza.gltf");
sponza->setScale(glm::vec3(2)); sponza->setScale(glm::vec3(2));
auto shoot = std::make_shared<Actor>("Models\\shootgun\\scene.gltf"); auto shoot = std::make_shared<Actor>("Models\\shoot_gun\\scene.gltf");
shoot->setPosition({ 5,0,-1 }); shoot->setPosition({ 5,0,-1 });
shoot->setScale(glm::vec3{ 50 }); shoot->setScale(glm::vec3{ 45 });
auto grenade_throw = std::make_shared<Actor>("Models\\grenade_throw\\scene.gltf");
grenade_throw->setPosition({ -5,0,-1 });
grenade_throw->setScale(glm::vec3{ 45 });
addActor(actor); addActor(actor);
addActor(actor2); addActor(actor2);
addActor(actor3); addActor(actor3);
addActor(sponza); addActor(sponza);
addActor(shoot); addActor(shoot);
addActor(grenade_throw);
float boardMass = 10; float boardMass = 10;