{ "info": { "author": "Daniel Pope", "author_email": "mauve@mauveweb.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Multimedia :: Graphics" ], "description": "lightvolume\n===========\n\nThis package provides the module ``lightvolume``, which offers a CFFI binding\nto `trylock/visibility`_. This, in turn, is a C++ implementation of `the\nvisibility algorithm`_ documented in detail (with awesome interactive demos)\non the Red Blob Games website.\n\n\n.. _`trylock/visibility`: https://github.com/trylock/visibility\n.. _`the visibility algorithm`: http://www.redblobgames.com/articles/visibility/\n\n\nAPI\n---\n\nFirst, import ``lightvolume``::\n\n import lightvolume\n\nThen, we can create a number of shadow-casting bodies::\n\n objects = [\n lightvolume.rect(0, 0, 500, 500), # outer bounds - this is needed\n lightvolume.rect(20, 30, 10, 20),\n lightvolume.rect(290, 300, 100, 300),\n ]\n\n\nFinally, we can render the lit area cast by a light in this scene (an OpenGL\ncontext must already have been created and appropriate GL state set)::\n\n light = 90, 200\n lightvolume.draw_light(light, objects)\n\n\nThis module is intended to be used with appropriate shaders to provide\nattenuation, surface interactions such as bump mapping, and so on.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lordmauve/lightvolume", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "lightvolume", "package_url": "https://pypi.org/project/lightvolume/", "platform": "", "project_url": "https://pypi.org/project/lightvolume/", "project_urls": { "Homepage": "https://github.com/lordmauve/lightvolume" }, "release_url": "https://pypi.org/project/lightvolume/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Light volume calculation and rendering with OpenGL", "version": "0.1.3" }, "last_serial": 3270277, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "aa2eead60a53907cb1bd26fc55fa5ff1", "sha256": "b6df229fc78732bddc007c427db989462ece263d0bd0d95f5e20bc2123af59e2" }, "downloads": -1, "filename": "lightvolume-0.1.tar.gz", "has_sig": false, "md5_digest": "aa2eead60a53907cb1bd26fc55fa5ff1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84956, "upload_time": "2017-10-17T20:00:54", "url": "https://files.pythonhosted.org/packages/88/b5/2a7aff9807292a19c8fa6152d79c3a829bb3516d7671170aa2e957132e2b/lightvolume-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "eea6bad499e5e2a1bdba8bd85495a3e7", "sha256": "082cd21707278c50fd4c73eccecf8221ef02d445c827fc5322069824a9cfafd3" }, "downloads": -1, "filename": "lightvolume-0.1.1.tar.gz", "has_sig": false, "md5_digest": "eea6bad499e5e2a1bdba8bd85495a3e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85462, "upload_time": "2017-10-18T18:22:38", "url": "https://files.pythonhosted.org/packages/2b/e6/ce47d07229f7f84b859d05f1ae14844b0b59a5dfb9a5e54226002a9204be/lightvolume-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "148c4cf314c8d4c03ea61be599afa3be", "sha256": "a089cb78a8110052c03d1f70805e827784c96bd732a81abb3b705b6be7104e2d" }, "downloads": -1, "filename": "lightvolume-0.1.2.tar.gz", "has_sig": false, "md5_digest": "148c4cf314c8d4c03ea61be599afa3be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85477, "upload_time": "2017-10-19T21:06:09", "url": "https://files.pythonhosted.org/packages/d5/c7/649f1caa96e6b10a7cd59f63b5e31e0c9b7f5485f86af4bbb761ce344d07/lightvolume-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2176f23b08c90d813e2c7551ae0fed99", "sha256": "f334172839d8218bb44ee74b4a924c7990074d13381a48a97da1635aa455c65b" }, "downloads": -1, "filename": "lightvolume-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2176f23b08c90d813e2c7551ae0fed99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 166904, "upload_time": "2017-10-22T18:39:46", "url": "https://files.pythonhosted.org/packages/c7/67/7e0a2f92ce5bc2294dc4fcb5bad9ff359114be080e5b0b148864e368ef27/lightvolume-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2176f23b08c90d813e2c7551ae0fed99", "sha256": "f334172839d8218bb44ee74b4a924c7990074d13381a48a97da1635aa455c65b" }, "downloads": -1, "filename": "lightvolume-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2176f23b08c90d813e2c7551ae0fed99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 166904, "upload_time": "2017-10-22T18:39:46", "url": "https://files.pythonhosted.org/packages/c7/67/7e0a2f92ce5bc2294dc4fcb5bad9ff359114be080e5b0b148864e368ef27/lightvolume-0.1.3.tar.gz" } ] }