Skip to content

Releases

v0.18.0!

Choose a tag to compare

@SolarLune SolarLune released this 11 Jul 07:33

It's been a long time since the last update, but here's another one, finally!

This update features some major improvements, like light volumes, big optimizations, easy animation sequencing / chaining, and automatic triangle subdivision for rendering, much like some games on the PS1 featured.

Thanks to @kazzmir for the contributions - appreciate it!

What's Changed

New Contributors

Full Changelog: v0.17.1...v0.18.0

v0.17.1

v0.17.1 Pre-release
Pre-release

Choose a tag to compare

@SolarLune SolarLune released this 10 Sep 14:31

Here's another release for Tetra3d - this one's just got some slight updates and enhancements.

Full Changelog: v0.17.0...v0.17.1

See ya~

v0.17.0

v0.17.0 Pre-release
Pre-release

Choose a tag to compare

@SolarLune SolarLune released this 16 Jun 07:31

Yo, here's another release of Tetra3D!

Some bugfixes and optimizations~

Full Changelog: v0.16.3...v0.17.0

v0.16.1

v0.16.1 Pre-release
Pre-release

Choose a tag to compare

@SolarLune SolarLune released this 09 Mar 21:23

Here's another release - not enough for a full version bump, but a few API changes and fixes to make things a bit more usable.

Full Changelog: v0.16.0...v0.16.1

v0.16.0

v0.16.0 Pre-release
Pre-release

Choose a tag to compare

@SolarLune SolarLune released this 03 Jan 02:14

A massive set of changes and improvements to Tetra3D, including a (simple) site to play the examples online!

https://solarlune.github.io/tetra3d.site/

Lots of changes; feel free to peruse the changelog to see more information. The Tetra3D add-on has also been updated and tested against the latest version of Blender.

Full Changelog: v0.15.0...v0.16.0

v0.15.0

v0.15.0 Pre-release
Pre-release

Choose a tag to compare

@SolarLune SolarLune released this 06 Feb 08:02

Here's a new release!

Lots of QoL changes and improvements.

What's Changed

  • Only Return Error on Animation Not Found by @karl-tye in #31

New Contributors

Full Changelog: v0.14.0...v0.15.0

v0.13.0

v0.13.0 Pre-release
Pre-release

Choose a tag to compare

@SolarLune SolarLune released this 05 May 21:06

Hello! It's been awhile since the last release of Tetra3D, so here's another one. This one updates to Ebitengine v2.5, and includes quite a few QoL improvements and fixes.

In kind of big news, I've added a Text helper object in Tetra3D - what this tool does is allow you to render text to a texture, usually for display within a space, like a text box. It also can calculate the text box's size depending on an orthographic camera for optimal sizing, which is useful - there's a new example showcasing this nice new tool as well.

screenshot2023-05-05 14:09:50

Check the changelog for more information!

Full Changelog: v0.12.1...v0.13.0

v0.12.0 - Ray testing!

Pre-release

Choose a tag to compare

@SolarLune SolarLune released this 01 Feb 05:26

raytest3

Raytesting has been added! It's now possible to perform raytests in Tetra3D, either freely or from the camera towards the mouse-cursor.

There's also other additions, like fixes, performance optimizations, and some API changes. Check it out~

Full Changelog: v0.11.1...v0.12.0

v0.11.1

v0.11.1 Pre-release
Pre-release

Choose a tag to compare

@SolarLune SolarLune released this 17 Dec 16:30

Here's a quick bug-fix release - just a couple of minor fixes (and one major one for orthographic rendering). Overlapping faces should also display more accurately.

Full Changelog: v0.11.0...v0.11.1

v0.11.0 - Indexed Rendering! Collision checking improvement!

Choose a tag to compare

@SolarLune SolarLune released this 13 Dec 06:35

Yo, what's up! It's been quite awhile!

tetra3dNewLogo

So here's Tetra3D v0.11.0! This one is kind of a massive change, as internally I've dramatically altered Tetra3D in a few ways.

Performance

Firstly, we've moved to indexed rendering. Previously, each triangle had its own vertices; now, each mesh is comprised of vertices, and each triangle is comprised of indices. This means that, in a best-case scenario, triangles can reuse vertices, making for, hopefully, faster rendering.

I also created my own Vector struct, as flat structs of numbers seems to be far faster (both in mathematics as well as in allocation of memory) than the previous vector package I was using, by quartercastle. I still recommend that package outside of Tetra3D, as it's a very elegant solution for multi-dimensional vectors where speed isn't absolutely integral to the process.

All of this should mean a fairly significant boost in performance! We can see this in the case of the stress test in the examples folder. Here's the results as performed in v0.10.0 (Average 18.6 FPS):

Screenshot from 2022-12-12 22-03-22

And here's the same test in v0.11.0 (Average 26.3 FPS):

Screenshot from 2022-12-12 22-04-49

That's over a 40% improvement, which ain't shabby!

Collision Checking

Collision checking has been improved to be simpler and easier - now, instead of two CollisionTest() functions, there's just one, and it just takes a CollisionTestSettings struct. In this struct, you specify the objects you want to check against, as well as an optional callback to handle a collision as it happens. This is an improvement in collision checking because previously, you could only act on all of the collisions from CollisionTest() - however, this new callback is called before any collisions happen for each collision. This is useful because you can use it to resolve collisions sequentially (i.e. if object A collides with objects B and C, and on checking with a collision against B you move A out of collision with B and C, then you won't have a collision with C, naturally). It's a small difference, but an important one, and it's helpful to be able to know that each collision will be handled properly.

Smaller stuff

There's also a variety of other minor changes and other performance optimizations. One such minor-ish improvement is that I've added the ability to tag objects for automatic static merging or dynamic batching (either through code or in Blender). This automatic batching is done when an object is added to or removed from a scene's hierarchy, and is automatically performed when a scene is rendered through a camera (as that way, we can ensure objects should be where they're desired to be prior to batching). This should help to allow for some easy optimizing non-moving elements in a game.

You can now add game properties to scenes themselves, which can be rather useful for global properties, like specifying background music for a level, as an example.

In Blender, you now have a couple of buttons to easily set an object's vector game property to the object's center or the 3D cursor.

In Blender, you now have the ability to copy game properties from a collection instance to top-level instanced nodes (so, in other words, you can override properties on a collection instance and have them be applied to the instanced objects. This is helpful for a situation where, say, you want to change the health on a specific character; now you can check off this option and create an HP property on the instanced version of that character. That property will be passed down to the instanced nodes).

All of the examples have been overhauled to be simpler and share common elements, like the camera and debug features.

You can now draw sprites in 3D, such that it's drawn in 2D, but still can be obscured and "occupy space in 3D". See the relevant sprite3d example. This can be very useful for situations where you want a sprite to not be resized or crimped with the camera, but have the sprite still be tied to 3D space.

@tomlister added the ability to export game resolution from Blender itself, so that makes loading cameras more seamless.

@eliasdaler fixed up some of the other examples, as well.


NOTE: I've also updated the Tetra3D add-on for Blender 3.4 support - note that this add-on probably won't work any longer with a previous version of Blender, as the default GLTF exporter now exports light intensity using customizeable units (real-world accurate or otherwise).


Anyway, lots of other stuff, so check out the commits for the full changelog.

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.11.0

⌂ 换网址