pyray | A 3d rendering library written completely in python | Game Engine library

 by   ryu577 Python Version: Current License: MIT

kandi X-RAY | pyray Summary

kandi X-RAY | pyray Summary

pyray is a Python library typically used in Gaming, Game Engine applications. pyray has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install pyray' or download it from GitHub, PyPI.

I'm creating this repository in January 2018 and it is crazy that the best open source option for rendering 3d scenes remains POV ray. Now, POV ray is a great program, but why can't we have that functionality (rendering 2d, 3d and higher dimensional objects and scenes) in Python, a language that is perhaps the most widely used already and only growing in popularity? This code is a first step towards that goal - have the ability to do everything POV ray does - rendering complex 3d objects and scenes, animations and much more in plain, vanilla Python. I imagine this would find applications in creating videos, video games, physical simulations or just pretty pictures. While there certainly is a very long way to go before this can be a reality, it won't happen without taking a first step. And of course, I could use help :). Above all else, I want to emphasize simplicity in this library and minimize the dependence on external libraries so more people can hit the ground running with it.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pyray has a low active ecosystem.
              It has 620 star(s) with 98 fork(s). There are 45 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 3 have been closed. On average issues are closed in 53 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pyray is current.

            kandi-Quality Quality

              pyray has 0 bugs and 0 code smells.

            kandi-Security Security

              pyray has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pyray code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pyray is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pyray releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pyray and discovered the below as its top functions. This is intended to give you an instant insight into pyray implemented functionality, and help decide if they suit your requirements.
            • Rotate axes
            • Render a 4D scene
            • Decorate axes
            • Draws a grid on the x - axis
            • Create a binary classification image
            • Convert from drip to RGB
            • Gives the rotation of a point
            • Generate a planar rotation matrix
            • Tells the diagonal of a 2d image
            • Draw the paraboloids v2
            • Generate an image
            • Compute the plane planes
            • Creates a scene
            • R Generates a tetartoidoid plane
            • Project circle on surface
            • Generate two meshes
            • Draws the best plane direction
            • Takes a 3d image in a 3D space
            • Draws a cube with cutting planes
            • Draws a paraboloid image
            • Render solid planes
            • Draw a plane w
            • Get the planes of the mesh
            • Generate a symmetrized plane
            • Generate a tst4 faces
            • Generate a list of paraboloids
            Get all kandi verified functions for this library.

            pyray Key Features

            No Key Features are available at this moment for pyray.

            pyray Examples and Code Snippets

            No Code Snippets are available at this moment for pyray.

            Community Discussions

            Trending Discussions on pyray

            QUESTION

            Adding Sprites To Pygame Raycasting Engine
            Asked 2017-Nov-28 at 15:50

            I am currently using the pygame raycasting engine, pyray (https://github.com/oscr/PyRay/blob/master/pyray.py), and there are some questions I would like to ask:

            1) How do you add a sprite which isn't an a cell, like the enemies in Wolfenstein 3D?

            2) How do you make the walls images, instead of blocks of colour?

            ...

            ANSWER

            Answered 2017-Nov-28 at 15:50
            1. Textures

              first see Ray Casting with different height size

              what you need is to change the scan line rendering of your engine to use textures. The C++ code in above link is just for starters (look for // render scan line in the code) and will do for the walls but ceiling and floor will have distortions present. To remedy that you need to apply perspective correct texture mapping.

              This is how it look like (after I implement it to the former code I linked)

            Source https://stackoverflow.com/questions/47363925

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pyray

            To install the library, run (pyray was taken on pypi):.

            Support

            We welcome any kind of contribution, bug report, suggestion, new module, etc. Anything is welcome.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ryu577/pyray.git

          • CLI

            gh repo clone ryu577/pyray

          • sshUrl

            git@github.com:ryu577/pyray.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Game Engine Libraries

            godot

            by godotengine

            phaser

            by photonstorm

            libgdx

            by libgdx

            aseprite

            by aseprite

            Babylon.js

            by BabylonJS

            Try Top Libraries by ryu577

            survival

            by ryu577Python

            GroebnerBasis

            by ryu577C#

            base

            by ryu577Python

            graphing

            by ryu577Python

            stochproc

            by ryu577Python