3D Vertex Rotation

This forum is currently in read-only mode.
0 favourites
From the Asset Store
3D Car Pack 1
$2.99 USD
3D models + Rendered Low-Poly Cars in isometric, top-down, and side angles.
  • Using a bit of fancy math, I managed to come up with this method for creating wireframe 3D objects using vertices:

    3D Vertex Rotation << Use arrow keys to rotate cylinder.

    It works by giving each vertex a value for the distance to the center of the object, the angle to the center of the object(both angle and distance taken from top view), and then the depth of the vertex(or, more accurately, it's Y position in the model). These are all then taken and run through some fancy maths, along with the X rotation of the camera, and voila! You have a wonderful, rotatable wireframe 3D model.

    If anybody wants they can try and improve the wireframe drawing(currently vertices draw wires to every other vertex), or try and deform sprites to make faces.

    Hope everybody likes it.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • that is slick

  • Nice bit of maths

  • wow...

  • Lookin good! Now turn it into crysis

  • Dude that's sweet! That would be a neat trick to use for a few things I can think of.... like a remake of the old line vector based coin-op star wars game.

    Lookin good! Now turn it into crysis

    ROFLMAO XD

    ~Sol

  • DAMN YOUUUU i was just about to make something like this

    it looks better than n64 graphics

  • Thanks for all of the comments, everybody. I've been working on improving it and making the method more normal, so I might post an update later.

    Lookin good! Now turn it into crysis

    I would if I could man, I would if I could.

  • Dude that's sweet! That would be a neat trick to use for a few things I can think of.... like a remake of the old line vector based coin-op star wars game.

    Dude, that game rocked

    And so does this .cap!

  • Thanks, deadeye. Anyways, I've got it to where you can load 3D models that have been modified slightly. This version loads a 3D model of an X-Wing that my brother made:

    X-Wing 3D Viewer << Make sure you extract this!

    No wire-frame this time since I can't find a way to make lines drawn between the right points. I'm still working that.

    If anybody has a model they'd like to see in it, just send me a .3DS or .OBJ file and I'll convert it for loading.

  • <img src="http://www.b3tards.com/u/2951c544e5d930f23b20/eek_big.gif">

  • Holy smurf!

    This is monumental!

  • Holy smurf!

    This is monumental!

    This. All of it.

    Oh, and this too:

    <img src="http://www.affordablehousinginstitute.org/blogs/us/surprised_baby_2.jpg">

    ~Sol

  • Thats amazing, awesome job Linkman!

  • Thanks, everybody.

    Anyways, I managed to rig up a system of drawing lines to the proper vertices, but it's too slow at the moment for anything other than pre-rendering the lines on a button press(like, 1/10th of a FPS). I'm gonna try and speed it up, and probably post a new .CAP tonight.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)