Releases: theMK2k/bigbox3d
Big Box 3D v1.5.0
Background Image Slideshow
The background image feature has been enhanced to support slide shows. Just provide your background images with an increasing counter, like this:
my-game-bg0.png
my-game-bg1.png
my-game-bg2.png
Big Box 3D will automatically present them in this order as a slideshow. The time between changes is 10 seconds by default and can be adjusted with the bginterval
config option / URL parameter.
Breaking change: if you only want to provide just one background image, name it my-game-bg0.png
instead of my-game-bg.png
.
Video Backgrounds
Big Box 3D now supports video backgrounds:
provide a my-game-bg.mp4
file and set the background file extension to mp4
within your config or via bgext=mp4
URL parameter and Big Box 3D will use that video as the background.
Rotation Parameters
You can now customize the speed and amortization behavior as well as the initial rotation with the following config options:
option | description | default value | example |
---|---|---|---|
rotation_speed | the rotation speed of the box when mouse-dragged (default: 20, range: 1-100) | 20 |
40 for faster rotation when mouse-dragged |
rotation_amortization | the amortization of the rotation speed when mouse released (default: 0.91, range: 0.1-1.0) | 0.91 |
0.99 for slower amortization, 0.87 for faster amortization, 1.0 for no amortization at all |
rotation_initial_x | initial rotation on the x-axis (default: 0.15, range: -1.0 to 1.0) | 0.15 |
0.20 for a faster initial rotation, -0.15 for inverted initial rotation |
rotation_initial_y | initial rotation on the y-axis (default: -0.15, range: -1.0 to 1.0) | -0.15 |
-0.20 for a faster initial rotation, 0.15 for inverted initial rotation |
Other changes
- Breaking change:
extlink2
andextlink2_innerhtml
(introduced in release v1.4.0) are now renamed toextlink
andextlink_innerhtml
- the loading text is now displayed at the center (vertically and horizontally)
- glMatrix updated from 2.3.2 to 3.4.3
Big Box 3D v1.4.0
Background Images (and GIFs)
As an alternative to a static colored background, you can now load an image.
The background image should end with -bg
.
New options:
bgext
the file extension of the background file (provide this if you have a background image file with a different extension than the texture files of the box), e.g. "gif" if you have .gif background filesusevignette
use a vignette effect for the background
External Link when Embedded
If Big Box 3D is embedded, a link will be available to open it up exclusively in a new tab.
User-Defined External Link
With the following options you can now define an external link (shown in the lower left corner):
extlink2
an external link to be displayed in the bottom left cornerextlink2_innerhtml
the innerHTML of the external link
For informations see: https://github.com/theMK2k/bigbox3d/blob/main/README.md
Check out the Demo Site: https://themk2k.github.io/bigbox3d/
Big Box 3D v1.3.0
Now a bit more meta
-
extended functionality with bigbox3d.php
- provides specific meta tags for sharing links in Facebook, Twitter etc.
- utilized bigbox3d.conf.json so that you can omit URL params like path, ext and bg
-
some replacing in opts necessary because Facebook alters URL parameters
For informations see: https://github.com/theMK2k/bigbox3d/blob/main/README.md
Check out the Demo Site: https://themk2k.github.io/bigbox3d/
Big Box 3D v1.2.0
Now with touch controls:
Rotate: use one finger
Move: use two fingers
Zoom: use two fingers and pinch
For informations see: https://github.com/theMK2k/bigbox3d/blob/main/README.md
Check out the Demo Site: https://themk2k.github.io/bigbox3d/
Big Box 3D v1.1.0
Breaking Change
The orientation of the top, bottom, left, right faces has been changed in order to properly describe the scan process:
How to scan your box sides
Scan the front and back of the box as if you would scan a letter or document.
Scan the other sides (top, bottom, left and right) while the front of the box is facing towards you while operating the scanner.
For informations see: https://github.com/theMK2k/bigbox3d/blob/main/README.md
Check out the Demo Site: https://themk2k.github.io/bigbox3d/
Big Box 3D v1.0.1
Feature upadate:
- move the box around by dragging the mouse using the right mouse button
For informations see: https://github.com/theMK2k/bigbox3d/blob/main/README.md
Check out the Demo Site: https://themk2k.github.io/bigbox3d/
Big Box 3D v1.0.0
Big Box 3D v1.0.0 is finally released!
For informations see: https://github.com/theMK2k/bigbox3d/blob/main/README.md
Check out the Demo Site: https://themk2k.github.io/bigbox3d/