Skip to content

Commit

Permalink
Red cube model
Browse files Browse the repository at this point in the history
  • Loading branch information
djbozkosz committed May 19, 2016
1 parent fd1f353 commit d04b5d7
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 2 deletions.
Binary file modified bin/LightPropagationVolumes.exe
Binary file not shown.
Binary file modified bin/LightPropagationVolumes_SDL_No_Gui.exe
Binary file not shown.
Binary file added data/maps/red.bmp
Binary file not shown.
Binary file added data/maps/red_ddn.bmp
Binary file not shown.
Binary file added data/maps/red_spec.bmp
Binary file not shown.
Binary file added data/models/cube00.4ds
Binary file not shown.
4 changes: 2 additions & 2 deletions src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void CEngine::onTimeoutInit()
camera.setRotation(glm::vec3(5.0f, -90.0f, 0.0f));

engine.scenes = 3;
engine.lpvModelsCount = 2;
engine.lpvModelsCount = 3;
engine.activeLpvModel.resize(engine.scenes);
engine.camTrackPos.resize(engine.scenes);
engine.camTrackRot.resize(engine.scenes);
Expand Down Expand Up @@ -294,7 +294,7 @@ void CEngine::onTimeoutInit()
SSceneModel(models.addModel(SModel(std::string(NFile::STR_DATA_MODELS)+"sphere00.4ds")), true));

// lpv test models
const char *const lpvModels[] = { "bunny00", "sphere01" };
const char *const lpvModels[] = { "bunny00", "sphere01", "cube00" };

for(uint32 j = 0; j < engine.lpvModelsCount; j++)
{
Expand Down
5 changes: 5 additions & 0 deletions ui/mainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,11 @@
<string>Sphere</string>
</property>
</item>
<item>
<property name="text">
<string>Red Cube</string>
</property>
</item>
</widget>
</item>
</layout>
Expand Down

0 comments on commit d04b5d7

Please sign in to comment.