Giter VIP home page Giter VIP logo

cg's Introduction

cg

cg's People

Contributors

phogbinh avatar

Watchers

James Cloos avatar  avatar

cg's Issues

project follows opengl convention?

20220420 如果以 opengl 的 z-coordinate convention 來看的話,project 裡面預設的 nearClip = 0.001 和 farClip = 100.0 是從 origin 往 camera 去幹的
然後 opengl 的 gluLookAt 的 near 跟 far 是剛好加個負號
另外我把 perspective 以及 orthogonal 的 project_matrix 改成 opengl 的就可以看到東西了
(例如 orthogonal 的 project_matrix 就差一個負號

resolutions?
-把全部改成 opengl 的 api 的 implementation
避免以後發生錯誤的風險
-保留目前狀況
也就是 view_matrix 不用改用 opengl 的
-把 nearClip 以及 farClip 改成老師的 convention
-any other methods?

vertex normal given?

20220511 看來是給每個 vertex 的 normal 而不是一個 face 的 normal
verify 1: 在 LoadModels 下 debug point 檢查 normals 數量是不是跟 vertices 數量一樣
any other methods?

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.