Giter Club home page Giter Club logo

3dpy's Introduction

3dPython

As of the very near future, I will probably go ahead and stop uploading publicly because I plan to make this into a real epic serious game or something (in c++ of course).

Overview

Issues:

Timesteps need to be functional in physics (Already added, but test)

Movement of player needs to be removed reworked... (put somewhere more effective, should not be in camera)
put movement into a main update, not in cmera, because:

  Camera only renders based on its position...
  
OR::::::::

  Merge RENDERER and CAMERA so that camera will render onto window
  
  Create separate object for player, and dont store as a vague object in objects.json
  
  Move camera from in player (Player will move camera)
  
  Put drawing window stuff ONLY in gl.py (including future camera and window_RENDERER)

3d engine baseline written in Python. Can draw triangles and triangles only (all other shapes are garbage).

Physics in works

I say baseline because I plan for a possible C++ implementation

Open the main.py

w/a/s/d : directional movement

space/shift : ascend/descend

mouse : look around

f : focus/unfocus

esc / top-right X : exit

image0

image1

To Do:

Textures? (will be laggy)

depth buffer?

Dynamic physics. (jumping, functional collision)

Fix perspective near screen border.

Fix spontaneous freezes (I have found out that this is caused by numbers divided by a small number, like x/.00001, which results in a very big number).

Recreate in C++ for Ndless or whatever

Implement LUT for faster maths.

More colors

Divide by 0 errors randomly occur again

Patched issues

Verts no longer clip when out of view.

Fixed perspective -- now looks as good as minecraft perspective

No more divide by 0 errors.

3dpy's People

Contributors

ricosolana avatar

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.