推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Livid
402.83D
564.89D
V2EX  ›  Python

一个用 Python 实现的光线追踪渲染

  •  3
     
  •   Livid ·
    PRO
    · Apr 3, 2019 · 8912 views
    This topic created in 2771 days ago, the information mentioned may be changed or developed.
    https://excamera.com/sphinx/article-ray.html

    https://github.com/jamesbowman/raytrace/blob/master/rt3.py

    关于光线追踪渲染的原理,Disney 的这个解说动画讲得很清楚:

    14 replies  •  2019-07-12 06:59:07 +08:00
    blacklinux
    blacklinux
    Apr 3, 2019
    1
    wow 这个有点意思啊
    KevinBu
    KevinBu
    Apr 3, 2019
    2
    还需要翻墙🤔
    jmc891205
    jmc891205
    Apr 3, 2019 via iPhone
    3
    python 实现?性能怎么样?
    xiaket
    xiaket
    Apr 3, 2019
    4
    numpy, 还是 C 的
    but0n
    but0n
    Apr 3, 2019
    5
    这里有一个很有趣的教程
    用 RayMarching 实现的 RayMarching tutorial:
    https://www.shadertoy.com/view/4dSfRc
    ptrees
    ptrees
    Apr 4, 2019
    6
    哎感觉研究这些东西才是真的有意思...
    Livid
    Livid
    MOD
    OP
    PRO
    Apr 4, 2019❤️1
    7
    @ptrees 是啊。有时候我也觉得自己可能之前把技能树点错了。希望能多有一些时间去研究一些更纯粹的技术问题。
    sosilver
    sosilver
    Apr 4, 2019 via Android
    8
    @ptrees 可以看看 Peter Shirley 的 ray tracing in one weekend
    allen0125
    allen0125
    Apr 4, 2019
    9
    想买显卡,扩充下技能了。
    tony601818
    tony601818
    Apr 4, 2019
    10
    @jmc891205
    原文:But this version is slightly smaller and renders the same image in about 115 milliseconds.

    原文里都在讲优化的方法。
    xXDyO
    xXDyO
    Apr 4, 2019
    11
    妈耶 想学习学习
    iskyzh
    iskyzh
    Apr 5, 2019
    12
    @sosilver 之前照着那本书用 Rust 实现了一个 https://github.com/skyzh/raytracer.rs
    JohnBown
    JohnBown
    Apr 21, 2019
    13
    用 Python 写光线追踪,你是有多么想不开。
    dafengchui
    dafengchui
    Jul 12, 2019
    14
    @Livid 谢谢这个视频,启发很深刻. 因为最近朋友开发的应用,基本失败,正在给他整理思路,用 python,基本框架流程列出来了,某个关键功能需要算法,晚几天会在这里发外包需求,希望可以遇到有算法好的 V 友.

    Github 上最近也看了很多视觉识别的 repo,正在吸纳整理中,都会在需求中体现.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5012 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 100ms · UTC 08:56 · PVG 16:56 · LAX 00:56 · JFK 03:56
    ♥ Do have faith in what you're doing.