在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:avik-pal/RayTracer.jl开源软件地址:https://github.com/avik-pal/RayTracer.jl开源编程语言:Julia 100.0%开源软件介绍:RayTracer.jl
A Ray Tracer written completely in Julia. This allows us to leverage the AD capablities provided by Zygote to differentiate through the Ray Tracer. INSTALLATIONThis package is registered. So open up a Julia 1.3+ repl and enter the pkg mode. julia> ]
(v1.3) pkg> add RayTracer To use the master branch (not recommended) do. julia> ]
(v1.3) pkg> add RayTracer#master TUTORIALSUSAGE EXAMPLESFollow the instructions below to run individual examples or use
First we need to get the versions of the packages used when these examples were written. $ cd examples
$ julia --color=yes -e "using Pkg; Pkg.instantiate()" Now we can run any of the file we need by
Running Individual Examples
$ mkdir meshes
$ cd meshes
$ wget https://raw.githubusercontent.com/avik-pal/RayTracer.jl/master/test/meshes/sign_yield.obj
$ wget https://raw.githubusercontent.com/avik-pal/RayTracer.jl/master/test/meshes/sign_yield.mtl
$ cd ..
$ mkdir textures
$ cd textures
$ wget https://raw.githubusercontent.com/avik-pal/RayTracer.jl/master/test/textures/wood_osb.jpg
$ wget https://raw.githubusercontent.com/avik-pal/RayTracer.jl/master/test/textures/sign_yield.png
$ cd .. This example requires a few arguments to be passes from command line. Chack them using
Additional ExamplesDuckietown.jl uses RayTracer.jl for generating renders of a self-driving car environment. For more complex examples of RayTracer, checkout that project. SUPPORTING AND CITING:This software was developed as part of academic research. If you would like to help support it, please star the repository. If you use this software as part of your research, teaching, or other activities, we would be grateful if you could cite the following:
CURRENT ROADMAPThese are not listed in any particular order
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论