[Sandy] [sandy commit] r650 - trunk/sandy/as3/trunk/src/sandy/materials/attributes

Thomas Pfeiffer kiroukou at gmail.com
Thu May 15 23:56:10 PDT 2008


You should not need VERTEX_NORMAL_WORLD since you can multiply the light
position by the inverted model matrix of that object.
Then, just use the existing vertex normals, should be fine.


Thomas

2008/5/16 Makc <makc.the.great at gmail.com>:

> I could not get rid of SandyFlags.VERTEX_NORMAL_WORLD in
> CylinderEnvMap, seems like one would need to add equivalent
> calculations there if the flag is removed.
>
> SandyFlags.POLYGON_NORMAL_WORLD on the other hand is now not used anywhere.
>
>
> On Fri, May 16, 2008 at 8:44 AM,  <codesite-noreply at google.com> wrote:
> > Author: makc.the.great
> > Date: Thu May 15 22:44:02 2008
> > New Revision: 650
> >
> > Modified:
> >
> trunk/sandy/as3/trunk/src/sandy/materials/attributes/ALightAttributes.as
> >
> trunk/sandy/as3/trunk/src/sandy/materials/attributes/GouraudAttributes.as
> >   trunk/sandy/as3/trunk/src/sandy/materials/attributes/LightAttributes.as
> >   trunk/sandy/as3/trunk/src/sandy/materials/attributes/PhongAttributes.as
> >
> > Log:
> > light changes clean-up.
> >
>
> _______________________________________________
> Sandy mailing list
> Sandy at osflash.org
> http://osflash.org/mailman/listinfo/sandy_osflash.org
>


More information about the Sandy mailing list