Releases: alienkitty/space.js
Releases · alienkitty/space.js
v1.2.0
- Three.js r155, r157 and r163 updates
- Readded Rollup config when using
Thread
from Space.js - Changed
three
directory structure - Updated MindNode image
- ESLint v9
- Examples
- Many formatting and comment updates, including simplified comment dividers and inline shaders for material classes.
- Renamed
styles
examples todetails
. - Materials instancing (regular and modified).
- About example UI components.
- UI components.
- Info.
- Loaders
- Removed check for non POT textures.
- Utils
Interface
andComponent
add()
returns the child.- Renamed
Interface
line()
todrawLine()
. - Refactored
Component
to be more minimal - Refactored
Stage
to be more minimal. - Added
Router
. - Added
Utils3D
getDoubleRenderTarget()
based oncreateDoubleFBO()
from OGL. - Removed
Component
andInterface
timeouts (delayedCall()
,clearTimeout()
andclearTimeouts()
), usedelayedCall()
andclearTween()
fromTween
instead. - Removed
Interface
name
andtype
properties.
- Panels
- Renamed
label
toname
. - Renamed
Link
toPanelLink
. - Panel slider nested content fix.
Esc
key closes panel.MaterialPanelController
updates, including support for user-defined material patches, panels and options.- Added subsurface scattering panels.
- Added
anisotropy
to map panel. - Added
toneMapped
to common panels. - Added
distance
anddecay
toPointLight
panel. - Added
distance
,angle
,penumbra
anddecay
toSpotLight
panel. - Added
width
andheight
toRectAreaLight
panel. - Added
PhysicalMaterialIridescencePanel
. - Added
PhysicalMaterialAnisotropyPanel
. - Added
InstancedMeshPanel
and options, including support for multiple instances. - Added
OimoPhysicsPanel
. - Added
DisplayOptions
(Default, Velocity, Geometry, Matcap1, Matcap2, Depth, Luma and Bloom). - Removed transmission material panels.
- Renamed
- UI
- UI pointer event logic updates.
- UI color picker logic updates.
Point3D
multiple select.Point3D
change event.- Renamed
ReticleText
toReticleInfo
. - Renamed
PointText
toPointInfo
. - Added About example UI components;
- Added
NavLink
. - Added
Details
. - Added
DetailsInfo
. - Added
DetailsTitle
. - Added
DetailsLink
. - Added
DetailsButton
. - Added
MuteButton
. - Added
Info
. - Added
Title
. - Added
Link
. - Added
Menu
andMenuItem
. - Added
ProgressCanvas
.
- Extras
Smooth
updates, including enabling listeners only when active and rounding to two decimal places.
- About example
- Refactored
Config
class as named exports. - Refactored
Layer
class as named exports. - Added custom grid helper.
- Added physics.
- Added motion blur and display options.
- Added
environmentIntensity
to environment panel. - Removed transmission materials and panels.
- Refactored
v1.1.0
- Three.js r151 and r152 updates
- Added Roadmap
- Added NPM Downloads and Discord badges
- Updated MindNode image
- Examples
- Added tween and gong.
- Added three.js materials and lights.
- Added audio stream.
- Added
EnvironmentTextureLoader
Usage example.
- Loaders
- Replaced constructor assets with methods for
loadAll()
andloadAllAsync()
. crossOrigin
anonymous
by default.- Added WebP support to
AssetLoader
. BufferGeometryLoader
computes bounding sphere.BufferGeometryLoader
uv1, uv2, uv3 and uv4 support.
- Replaced constructor assets with methods for
- Utils
EventEmitter
supports multiple arguments, for example:this.events.emit('update', a, b, c);
.Interface
replace()
method, for example:this.replace(oldGroup, newGroup);
.Interface
clone()
method deep clone argument.Utils3D
getFullscreenTriangle()
three.js r152 fix.
- Audio
- Replaced
WebAudio
constructor files with method forload()
. crossOrigin
anonymous
by default.- Safari audio stream fix.
- Replaced
- Panels
- Added PanelItem
Content
type. - Added Material panels.
- Added Mesh panels and helpers.
- Added Map panel (initial commit).
- Added Light panels and helpers.
- Added
RectAreaLight
panels and helpers. - Support for multiple lights of the same type.
- Support for setting panel values, for example:
panel.setPanelValue(label, value);
.
- Added PanelItem
- UI
- Added UI color line CSS variable:
--ui-color-line
. Point3D
initial position correctly set on hover.Point3D.isDefault
property to check for modified name or type.Point3D
Raycaster
operates on the last layer (31
).Point3D
keyboard support, select available objects by number, and holding Alt to keep the panels up.Point3D
clicking outside closes the panel.Point3D
usesEventEmitter
andStage
.
- Added UI color line CSS variable:
- About example
- Renderer antialiasing on by default.
- Transmission render group.
- Transmission material panel.
- Transmission material backside panel.
- Use spherical cube.