Skip to content

Latest commit

 

History

History
158 lines (88 loc) · 5.84 KB

Setup_Windows.md

File metadata and controls

158 lines (88 loc) · 5.84 KB

Guide for window users

A guide for users in a window environment

stage

  1. Setting up the PC in English
  2. Cloning the Repository
  3. visual studio 2022 installation
  4. TortoiseSVN installation
  5. Create a softlight folder and make a sub-folder named build.
  6. cmake configuration
  7. Paste dll file in path "build/softlight/tests/release"
  8. Run SoftLight.sln

1) Setting up the PC in English

First, you have to set the route in English.

2) Cloning the Repository

Cloning the repository should be done recursively, using the following steps:

  1. git clone --recursive https://github.com/hamsham/SoftLight
  2. cd SoftLight
  3. git submodule foreach git checkout master
  4. git submodule foreach git pull origin master

3) Visual Studio 2022 installation

check and install it as shown in the following picture.

image image image image

4) TortoiseSVN installation

At the following site https://tortoisesvn.net/downloads.html, please press the Download TortoiseSVN button to suit your environment. Make sure to select Entire feature will be installed on local hard drive from command line client tools as shown in the following image. image

image

Once the TortoiseSVN installation is completed, you can check that the following executable file has been created.

image

And add environmental variable as shown in the following picture.

image

5) Create a softlight folder and build a folder below it

Create a folder called softlight on the desktop as shown in the following picture, and create a build folder in that folder.

image

6) cmake configuration

Download cmake from the following site https://cmake.org/. When you complete the installation, you will find a folder as shown in the picture below.

image

Enter bin from that folder and run cmake-gui.exe.

image

Write down the clean SoftLight path in git above, and the build path created in step 5) below.

image

Press the generate button and check it as shown in the picture below.

image image

Press the Advanced button and specify the path with svn.exe.

image

Press the Configure button.

image

You can see that the files shown in the picture below have been created in the build file.

image

7) Paste dll file in path "build/softlight/tests/release"

Copy the file of that path and put it in the "build/softlight/tests/release" path. image

8) Run SoftLight.sln

You can see that there is a SoftLight.sln file in the build file.

image

Run it with visual studio 2022.

image

Change it to Release.

image

Press Set as Startup Project as shown in the picture below with the test file you want to run.

image

executable file

  • sl_animation_test
  • sl_fullscreen_quad
  • sl_instancing_test
  • sl_large_scene_test
  • sl_mesh_test
  • sl_mrt_test
  • sl_octree_rendering_test
  • sl_quadtree_rendering_test
  • sl_sdf_image_test
  • sl_shading_test
  • sl_skybox_test
  • sl_text_test
  • sl_volume_rendering_test

Press the Local Windows Debugger button to run it.

image

Press F1 and use W, A, S, and D keys to move up, down, left, and right. Press the F2 key to check a higher level of rendering.

Before rendering(Before pressing F2 key)

image

After rendering(After pressing F2 key)

image