GithubHelp home page GithubHelp logo

webgl_ray_tracing's Introduction

北航2023秋计算机图形学

本仓库上传了北航计算机学院本科《计算机图形学》大作业可选项目之一——使用原生WebGL实现简易光线追踪。此外还上传了期末课程报告,最后的期末综评是95分。

仅供参考,不要抄袭,任课教师会严查每一份作业。

运行说明

因为需要加载纹理图片, 务必使用VS Code的Live Server插件打开网页. 直接打开html文件会出现加载文件跨域报错的问题。

目录结构

以下是文件的目录结构:

├─RayTracing
│  │  fragmentShader.glsl
│  │  image.png
│  │  index.html
│  │  render.js
│  │  style.css
│  │  vertexShader.glsl
│  │
│  └─lib
│          webgl-utils.js

其中fragmentShader.glsl是片元着色器代码; vertexShader.glsl是顶点着色器代码; image.png是带有学号和姓名的纹理图片; index.html是网页html文件, 里面集成了着色器代码; render.js是网页js文件; style.css是网页css文件; lib文件夹里使用了webgl-utils.js库, 用于简化重复性代码.

webgl_ray_tracing's People

Contributors

douyabula avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.