RayTracing Parallel
-----------------
This is a Ray Tracing implementation in C++ using OpenMP and Cuda.
This code implements rays' intersection with spheres and plane.
There is also reflection.
It was implemented and tested on ubuntu 14.04, compiled using
g++ 4.8.2. There is a minimalist makefile that builds three executables:
RayTracing RayTracing_openmp and RayTracing_cuda.
Run
-----------------
The executables will be created in the folder "build". To run
the program, just type ./RayTracing_<version>, passing as argument the
width, height and the fov (field of view) desired -- this last
argumnet is optional (default value is 60º).
Example
-----------------
The following image was generated typing the
following command after build the source:
./RayTracing_openmp 800 600 60
![RayTracing_Parallel](https://raw.githubusercontent.com/rodrimc/RayTracing_Parallel/master/out.png)
Fell free to contribute.
没有合适的资源?快使用搜索试试~ 我知道了~
cuda 极简基于NVIDIA jetson平台Torch安装教程Jetson-Inference使用.zip
共26个文件
h:16个
cpp:3个
png:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 180 浏览量
2023-03-10
10:03:48
上传
评论
收藏 453KB ZIP 举报
温馨提示
cuda 极简基于NVIDIA jetson平台Torch安装教程Jetson-Inference使用.zip
资源推荐
资源详情
资源评论
收起资源包目录
cuda 极简基于NVIDIA jetson平台Torch安装教程Jetson-Inference使用.zip (26个子文件)
1
A
RayTracing_Parallel-master
makefile 2KB
out.png 331KB
main_cuda.cu 2KB
Vector3D.h 3KB
Light.h 680B
Ray.h 1KB
Plane.h 1KB
LICENSE 18KB
util.h 1KB
main.cpp 2KB
RayTracer_parallel.png 97KB
main_openmp.cpp 2KB
.gitignore 246B
Color.h 2KB
util.cpp 6KB
IShape.h 1KB
cuda
c_Sphere.h 1KB
c_Color.h 3KB
c_Plane.h 1KB
c_Vector3D.h 3KB
c_Ray.h 1KB
c_Light.h 747B
c_util.h 11KB
c_IShape.h 1KB
README.md 922B
Sphere.h 1KB
共 26 条
- 1
资源评论
N201871643
- 粉丝: 636
- 资源: 2251
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功