Skip to content

Commit e0718d0

Browse files
committed
Replace Good Froge with deccer cubes for better reference when flying around
1 parent 25cb412 commit e0718d0

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/Cpp/1-getting-started/1-3-6-Camera/CameraApplication.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ bool CameraApplication::Load()
186186

187187
_pipeline->SetViewport(0.0f, 0.0f, GetWindowWidth(), GetWindowHeight());
188188

189-
if (!_textureFactory->CreateShaderResourceViewFromFile(L"Assets/Textures/T_Good_Froge.dds", _textureSrv))
189+
if (!_textureFactory->CreateShaderResourceViewFromFile(L"Assets/Textures/T_Atlas.dds", _textureSrv))
190190
{
191191
return false;
192192
}
@@ -207,7 +207,7 @@ bool CameraApplication::Load()
207207
_pipeline->BindSampler(0, _linearSamplerState.Get());
208208

209209
if (!_modelFactory->LoadModel(
210-
"Assets/Models/SM_Good_Froge.fbx",
210+
"Assets/Models/SM_Deccer_Cubes_Merged_Texture_Atlas.fbx",
211211
_modelVertices,
212212
&_modelVertexCount,
213213
_modelIndices,

src/Cpp/1-getting-started/1-3-6-Camera/ModelFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ bool ModelFactory::LoadModel(
5353
std::vector<VertexPositionColorUv> vertices;
5454
for (int32_t i = 0; i < (mesh->mNumVertices); i++)
5555
{
56-
const Position& position = Position{ mesh->mVertices[i].x / 100.0f, mesh->mVertices[i].y / 100.0f, mesh->mVertices[i].z / 100.0f };
56+
const Position& position = Position{ mesh->mVertices[i].x / 10.0f, mesh->mVertices[i].y / 10.0f, mesh->mVertices[i].z / 10.0f };
5757
const Color& color = mesh->HasVertexColors(0)
5858
? Color{ mesh->mColors[0][i].r, mesh->mColors[0][i].g, mesh->mColors[0][i].b }
5959
: defaultColor;

0 commit comments

Comments
 (0)