Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
oxyflame_rendering_tools
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
oxyflame_rendering_tools
Commits
0372670e
Commit
0372670e
authored
4 years ago
by
Ali Can Demiralp
Browse files
Options
Downloads
Patches
Plain Diff
Remove the shells, we're going Windows only again.
parent
186db73e
No related branches found
No related tags found
1 merge request
!1
Develop
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
batch.sh
+0
-13
0 additions, 13 deletions
batch.sh
install.sh
+0
-40
0 additions, 40 deletions
install.sh
readme.md
+3
-8
3 additions, 8 deletions
readme.md
run.sh
+0
-5
0 additions, 5 deletions
run.sh
with
3 additions
and
66 deletions
batch.sh
deleted
100755 → 0
+
0
−
13
View file @
186db73e
#!/bin/bash
#SBATCH --job-name=ray_tracer
#SBATCH --output=ray_tracer.log
#SBATCH --time=00:10:00
#SBATCH --mem=160000M
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=48
#SBATCH --account=rwth0432
module load gcc/10
./offline_ray_tracer/build/offline_ray_tracer ./settings.json
This diff is collapsed.
Click to expand it.
install.sh
deleted
100755 → 0
+
0
−
40
View file @
186db73e
#!/bin/bash
module load gcc/10
mkdir
dependencies
cd
dependencies
# Install CMake.
wget https://github.com/Kitware/CMake/releases/download/v3.19.4/cmake-3.19.4-Linux-x86_64.tar.gz
ZIP
=
cmake-3.19.4-Linux-x86_64.tar.gz
tar
-xzvf
$ZIP
rm
$ZIP
mv
./cmake-3.19.4-Linux-x86_64 ./cmake-3.19.4
# Install Ospray.
wget https://github.com/ospray/ospray/releases/download/v1.8.5/ospray-1.8.5.x86_64.linux.tar.gz
ZIP
=
ospray-1.8.5.x86_64.linux.tar.gz
tar
-xzvf
$ZIP
rm
$ZIP
mv
./ospray-1.8.5.x86_64.linux ./ospray-1.8.5
# Install VTK.
wget https://www.vtk.org/files/release/9.0/VTK-9.0.1.tar.gz
ZIP
=
VTK-9.0.1.tar.gz
tar
-xzvf
$ZIP
rm
$ZIP
cd
VTK-9.0.1
mkdir
build
cd
build
export
ospray_DIR
=
../../ospray-1.8.5/lib/cmake/ospray-1.8.5
../../cmake-3.19.4/bin/cmake ..
-DVTK_MODULE_ENABLE_VTK_RenderingRayTracing
=
YES
-DVTK_OPENGL_HAS_OSMESA
=
ON
-DVTK_USE_X
=
OFF
../../cmake-3.19.4/bin/cmake
--build
.
--config
Release
--parallel
64
# Install application.
cd
../../../offline_ray_tracer
mkdir
build
cd
build
export
VTK_DIR
=
../../dependencies/VTK-9.0.1/build/lib64/cmake/vtk-9.0/
../../dependencies/cmake-3.19.4/bin/cmake ..
../../dependencies/cmake-3.19.4/bin/cmake
--build
.
--clean-first
--config
Release
--parallel
64
cd
../..
\ No newline at end of file
This diff is collapsed.
Click to expand it.
readme.md
+
3
−
8
View file @
0372670e
...
...
@@ -2,14 +2,9 @@
### Dependencies
-
GCC 10+
### Installation
-
Run
`install.sh`
which downloads CMake, Ospray, VTK, and then builds the tools.
### Running
-
Modify
`settings.json`
to locate the datasets and adjust camera path.
-
For interactive mode, run
`run.sh`
.
-
For batch mode, run
`sbatch batch.sh`
.
-
CMake 3.19+
-
Ospray 1.8.5
-
VTK 9.0.1
### Contact
-
If you encounter any problems, contact demiralp@vr.rwth-aachen.de .
\ No newline at end of file
This diff is collapsed.
Click to expand it.
run.sh
deleted
100755 → 0
+
0
−
5
View file @
186db73e
#!/bin/bash
module load gcc/10
./offline_ray_tracer/build/offline_ray_tracer ./settings.json
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment