计算机图形学:光线追踪和编程 3D 渲染 [英] Computer Graphics: Raytracing and Programming 3D Renders

查看:31
本文介绍了计算机图形学:光线追踪和编程 3D 渲染的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到许多顶尖大学都开设了课程,让学生学习与计算机图形学相关的计算机图形学专业.遗憾的是,这不是我的大学提供的东西,我真的很想在未来几年的某个时候进入.

I've noticed that a number of top universities are offering courses where students are taught subjects relating to Computer Graphics for their CS majors. Sadly this is something not offered by my university and something I would really like to get into sometime in the next couple of years.

我从一些大学发现的一些项目很棒,但我最感兴趣的是两件事:

A couple of the projects I've found from some universities are great, although I'm mostly interested in two things:

  • 光线追踪:
    • 我想在未来两年内编写一个光线追踪器.我需要知道什么?我还不是一个出色的程序员(Java、C 和 Prolog 是我今天的主要语言)但我每天都在慢慢学习.此外,我的数学背景并不是那么好,因此任何有关阅读书籍的指示或有关编写此类程序的建议都会很棒.我倾向于很快地把这些东西捡起来,所以请随意向我扔参考资料.
    • 我看过几个项目,学生们在这些项目中开发了模型并在游戏中使用它们.我用光栅图像制作了几个 2D 游戏,但从未使用过 3D 模型.在对这些模型进行编程方面,我需要学习什么?如果有帮助的话,我以前对 3D Studio Max 和 Cinema4D 没问题(虽然每门课程似乎都使用 Maya),但大约四年没有接触过它.

    很抱歉发布如此含糊的问题,老实说,愚蠢的问题.这只是我想做一段时间的事情,并且作为一个大项目适合我在自己的时间开发.

    Sorry for posting such vague and, let's be honest, stupid questions. It's just something I've wanted to do for a while and something that'd be good as a large project for me to develop in my own time.

    推荐答案

    本书 计算机图形学:原理与实践"(在计算机图形学界称为Foley-VanDam")是大多数计算机图形学课程的基础,它涵盖了实现射线的主题- 非常详细的示踪剂.它已经过时了,但它仍然是最好的,afaik,并且基本原理保持不变.

    The book "Computer Graphics: Principles and Practice" (known in the Computer Graphics circles as the "Foley-VanDam") is the basic for most computer graphics courses, and it covers the topic of implementing a ray-tracer in much detail. It is quite dated, but it's still the best, afaik, and the basic principles remain the same.

    我还推荐 Eric Lengyel 的 3D 数学游戏编程和计算机图形.它不是那么彻底,但它是对 3D 编程所需的数学基础知识的精彩回顾,每章末尾都有非常有用的总结,并且以平易近人的方式编写,不太可怕.

    I also second the recommendation for Eric Lengyel's Mathematics for 3D Game Programming and Computer Graphics. It's not as thorough, but it's a wonderful review of the math basics you need for 3D programming, it has very useful summaries at the end of each chapter, and it's written in an approachable, not too scary way.

    此外,您可能需要一些 OpenGL 或 DirectX 基础知识.开始使用 3D API,然后学习基础数学比相反(在我看来)更容易,但这两种选择都是可能的.只需在 SO 上寻找 OpenGL,您就会找到一些不错的参考资料.

    In addition, you'll probably want some OpenGL or DirectX basics. It's easier to start working with a 3D API, then learn the underlying maths than the opposite (in my opinion), but both options are possible. Just look for OpenGL on SO and you should find a couple of good references as well.

    这篇关于计算机图形学:光线追踪和编程 3D 渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆