Git Product home page Git Product logo

pyray's Issues

Travis failing

Looks like travis deprecated some bits, so all the tests are failing.

Configurable output types

First off, I just want to say this project is really cool, and it's great to see a pure Python 3d rendering library like this. Great work! :)

I've started experimenting with it in the browser using ASGI and websockets, https://github.com/erm/starray. This example modifies the draw_oscillating_sphere method slightly to write the output to a bytes buffer and stream it to the browser, rather than writing a series of image files to the disk.

Would this project be open to configurable output settings or some other solution to bypass saving images for cases like this?

render_scene_4d_axis Not Defined

I received this error when working on the examples, particularly with the best_plane_direction function:

Traceback (most recent call last): File "animatedPlane.py", line 4, in <module> best_plane_direction(im_ind=i) File "C:\Users\hrans\AppData\Local\Programs\Python\Python37\lib\site-packages\pyray\shapes\plane.py", line 77, in best_plane_direction render_scene_4d_axis(draw, r1, 4, scale = scale, shift = shift) NameError: name 'render_scene_4d_axis' is not defined

It appears as though a function call could be calling a non-imported function from a lib.

q

First of all, thank you for your contribution. I would like to ask how to render a pov file to generate the corresponding image?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.