{"id":13683256,"url":"https://github.com/Soft8Soft/pyosl","last_synced_at":"2025-04-30T12:34:13.534Z","repository":{"id":128629945,"uuid":"290165455","full_name":"Soft8Soft/pyosl","owner":"Soft8Soft","description":"OSL to GLSL converter","archived":false,"fork":false,"pushed_at":"2020-08-25T09:01:52.000Z","size":61,"stargazers_count":37,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-02T13:35:13.678Z","etag":null,"topics":["converter","glsl","grammar","lexer","opengl","openshadinglanguage","osl","parser","ply","shader","shading-language","translator","verge3d","yacc"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Soft8Soft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-08-25T08:57:52.000Z","updated_at":"2024-06-18T23:58:45.000Z","dependencies_parsed_at":"2023-03-13T11:29:03.774Z","dependency_job_id":null,"html_url":"https://github.com/Soft8Soft/pyosl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soft8Soft%2Fpyosl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soft8Soft%2Fpyosl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soft8Soft%2Fpyosl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soft8Soft%2Fpyosl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Soft8Soft","download_url":"https://codeload.github.com/Soft8Soft/pyosl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224212098,"owners_count":17274358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["converter","glsl","grammar","lexer","opengl","openshadinglanguage","osl","parser","ply","shader","shading-language","translator","verge3d","yacc"],"created_at":"2024-08-02T13:02:05.502Z","updated_at":"2024-11-12T03:30:46.705Z","avatar_url":"https://github.com/Soft8Soft.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# OSL to GLSL converter\n\nOSL to GLSL converter written in Python.\n\nThis library is an open-sourced component of [Verge3D](https://www.soft8soft.com/verge3d/) toolkit.\n\n## Usage\n\npyosl includes a command line utility called osl2glsl.py. The command\n\n```\n  python osl2glsl.py your_shader.osl\n```\n\nwill print converted GLSL shader to stdout. Use the:\n\n```\n  python osl2glsl.py your_shader.osl \u003e your_shader.glsl\n```\n\ncommand to write GLSL shader to the file named `your_shader.glsl`.\n\n## OSL standard library functions\n\nConverter will try to use the built-in GLSL functions where possible. In all other cases it will rename OSL functions as follows:\n\n* noise -\u003e oslNoise\n* transform -\u003e oslTransform\n\nIt's up to you to write implementations of such oslNAME methods.\n\n## Support\nGot questions/found bugs? Ask on the [Verge3D Forums](https://www.soft8soft.com/forums/).\n\n## License\nThis tool is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSoft8Soft%2Fpyosl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSoft8Soft%2Fpyosl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSoft8Soft%2Fpyosl/lists"}