Code Monkey home page Code Monkey logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Interesting...it appears you've hit a difficult to encode value, which I 
thought should be impossible based on the existing bounds params, but I'm 
definitely able to reproduce this. Taking a look now.

Original comment by wonchun on 9 Apr 2012 at 9:48

from webgl-loader.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Ah, there are some normals with very large values, like:

vn -65.964500 26.871040 -325.114197

And the quantization code assumes that normal components are in [-1, 1]. On one 
hand, it is probably a good idea to be able to preserve the actual inputs. On 
the other hand, the easy thing is to just automatically normalize vn inputs. 
I'm leaning to the latter. Any thoughts?

Original comment by wonchun on 9 Apr 2012 at 10:20

  • Changed state: Started

from webgl-loader.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Normalization is probably the way to go. Is the magnitude of the normal vector 
ever actually used in ANY 3D render? I will ask about this from my source as 
well.

Original comment by [email protected] on 9 Apr 2012 at 10:39

from webgl-loader.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
It might matter if you want to interpolate normals before normalizations. You 
can use the magnitude of the normal to act as a weight. I agree it is not 
obvious. I'm about to land the feature, and when I go through and hook up 
flags, then I'll have it default to normalize, but have it be switchable.

Original comment by wonchun on 9 Apr 2012 at 11:29

from webgl-loader.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
This issue was closed by revision r83.

Original comment by wonchun on 9 Apr 2012 at 11:34

  • Changed state: Fixed

from webgl-loader.

Related Issues (20)

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.