Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix [1610840] Positional light doesn't work correctly on emulator | Mathias Agopian | 2009-06-03 | 3 | -78/+39 |
| | | | | | | | | This bug was introduced when lighting computations was changed from eye-space to object-space. The light position need to be transformed back to object-space each time the modelview matrix changes which requires us to compute the inverse of the modelview matrix. This computation was done with the assumption that normals where transformed (which was the case when the computation was made in eye-space), however, normals only require the inverse of the upper 3x3 matrix while transforming positions requires the inverse of the whole matrix. This caused the interesting behavior that lights were more-or-less transformed properly, but not translated at all, which caused improper lighting with directional lights in particular. There was also another smaller bug affecting directional lights: when vertices are read, only the active component are read, the other ones are ignored, later, the transformation operations are set up to ignore the unset values, howver, in the case of lighting, we use the vertex in object space (that is, before it is transformed), and therefore were using uninitalized values; in particular w. | ||||
* | fix a bug in GL lighting where the specular component could be ommited when ↵ | Mathias Agopian | 2009-06-02 | 1 | -0/+5 |
| | | | | | | vertex material was disabled. the specular enable flag wasn't computed in that case. | ||||
* | only export the GL entry-points, hide everything else. | Mathias Agopian | 2009-05-08 | 1 | -0/+2 |
| | | | | | | | | Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h | ||||
* | integrate some OpenGL ES changes back from master_gl in preparation of ↵ | Mathias Agopian | 2009-04-23 | 1 | -25/+43 |
| | | | | opening GLES to the NDK. | ||||
* | Automated import from //branches/donutburger/...@142484,142484 | Jack Palevich | 2009-03-24 | 1 | -6/+18 |
| | |||||
* | auto import from //depot/cupcake/@135843 | The Android Open Source Project | 2009-03-03 | 32 | -0/+11463 |
| | |||||
* | auto import from //depot/cupcake/@135843 | The Android Open Source Project | 2009-03-03 | 32 | -11461/+0 |
| | |||||
* | auto import from //depot/cupcake/@132589 | The Android Open Source Project | 2009-03-03 | 1 | -4/+2 |
| | |||||
* | auto import from //depot/cupcake/@137055 | The Android Open Source Project | 2009-03-02 | 1 | -2/+4 |
| | |||||
* | auto import from //branches/cupcake/...@130745 | The Android Open Source Project | 2009-02-10 | 3 | -46/+11 |
| | |||||
* | auto import from //branches/cupcake/...@126645 | The Android Open Source Project | 2009-01-15 | 1 | -0/+5 |
| | |||||
* | Code drop from //branches/cupcake/...@124589 | The Android Open Source Project | 2008-12-17 | 7 | -120/+192 |
| | |||||
* | Initial Contribution | The Android Open Source Project | 2008-10-21 | 32 | -0/+11419 |