3D Point Cloud with Sprites

1

Attached Files

The following files have been attached to this tutorial:

.capx

3dpointcloud.capx

Download now 182.18 KB

Stats

2,867 visits, 4,058 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 27 Jan, 2014. Last updated 19 Feb, 2019

b[http://soletme.free.fr/PointCloud/]DEMO

CAPX: It is attached to this tutorial, you can find it in the left column. I tried to make it as clear as possible with comments.

Concept

I have seen many people on the forum asking for some 3d solutions in Construct 2. So here is a proof of concept I made in javascript a few years ago, now implemented in Construct.

I exported 3d meshes in text format and used Construct 2 to project them in 2d, using sprites to represent each vertex. I simulate depth with scale and opacity.

Of course this is not real polygonal 3d, but more like in the early days, where you'd just scale sprites up and down to simulate their proximity to the camera.

Possible Use

While implementing a whole game using this technique would be possible it would not be easy. Instead of rendering meshes with many vertices, each vertex could be handled independently as a single object. You could then do a 3d space shooter or something like that.

Another usage is just for background animation, like a star field or in a menu.

At the time I'm writing this, the FPS drops in Chrome, but it seams to be a bug in the new version 32, it happens with all my project. So don't freakout if the FPS is low at the moment, I get much smoother results in Firefox while it's generally the opposite.

Controls

Left mouse button: hold to rotate the object.

Right mouse button: hold to move the object on the XY plane.

Mouse wheel: move object on the Z axis.

Middle mouse button: reset rotation and position.

Double click: morph to next shape (there are 5).

.CAPX

3dpointcloud.capx

Download now 182.18 KB
  • 0 Comments

Want to leave a comment? Login or Register an account!