Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CppRaytracer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yoel
CppRaytracer
Commits
8408620a
Unverified
Commit
8408620a
authored
2 years ago
by
Postea
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Create README.md
parent
9ad377a3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-0
13 additions, 0 deletions
README.md
with
13 additions
and
0 deletions
README.md
0 → 100644
+
13
−
0
View file @
8408620a
# CppRaytracer
#### Requirements:
-
*Visual Studio Developer Command Prompt*
(https://docs.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022)
-
Make sure you have a compiler for
*C++17*
#### Compile and execute:
-
Start the
*VS Developer Command Prompt*
-
Create a new folder
*\bin*
> mkdir bin
-
Compile the code
> cl.exe /Zi /EHsc /Fe: bin/raytracer.exe RayTracer/*.cpp Raytracer/tools/*.cpp Raytracer/camera/*.cpp Raytracer/material/*.cpp Raytracer/material/texture/*.cpp Raytracer/sampling/*.cpp Raytracer/shape/*.cpp Raytracer/testing/*.cpp /Fo:bin/ /Fd:bin/vs140.fdb /std:c++17 /MP
-
Executable at
*\bin\raytracer.exe*
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