Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/b/l/Blender-Exporter-HEAD/org.xml3d.exporter.blender/src/2.49/xml3d_exporter.py   Blender-Exporter(Download)
            if light.falloffType == Blender.Lamp.Falloffs.CONSTANT:
                attens = [1.0, 0.0, 0.0]
            elif light.falloffType == Blender.Lamp.Falloffs.INVLINEAR:
                attens = [1.0, 1.0 / light.dist, 0.0]
            elif light.falloffType == Blender.Lamp.Falloffs.INVSQUARE: