Coder Social home page Coder Social logo

stationary's People

Contributors

jmarlin avatar

Watchers

 avatar James Cloos avatar

stationary's Issues

Get original P.E.Op.S code to compile on modern linux

My original plan was to simply compile all of the core P.E.Op.S sources into object files and then link them to a main.c that just calls the GPUStartup or some such thing as my first step towards getting things going, but it looks like this thing was written to run on OG GTK, which nothing really supports anymore, so I'm going to need to either update those parts to work with modern GTK2 or GTK3 or -- and this would probably be a better idea -- just discard the components that use GTK entirely (because we won't be needing the config and about dialogs &c.)

Dump z-buffering code and use z-ordering instead

  • Create a doubly-linked list of 2d polygons
  • Replace current S_draw_triangle code with a function which inserts triangles into the linked list -- the parent draw triangle function should, during its calculations, find the highest z-value in the triangle currently being rendered, then pass that value into the insertTriangleIntoList() function along with the projected poly points. the insertTriangleIntoList() function will then insert the new entry into the list between the next lowest and next highest z-value of the existing entries
  • Replace updateDisplay() calls with a function that goes through the linked list of polys in order and runs S_draw_triangle on each (drawing the scene in descending z-order) -- and THEN calls updateDisplay when the scene has been rendered.

Implement opening and drawing a BSP environment

BSPs will solve, for the environments we're exploring, the issue of triangle draw order, so we should start there.

I guess we're basically just going to be writing the quake engine, here

Should finish issues #3 and #4 first, though, and will need the tool from #6 in order to have baked BSPs to use

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.