GeometryData
now stores the original geometry DataChunks instead of just number arrays. This change was the basis of a larger update we made to facilitate larger model loading by minimizing memory allocation during startup and loadViewerEvent.Busy
has been removed and it’s no longer emittedget clippingVolume
from SpeckleRenderer
now returns an OBB
set clippingvolume
from SpeckleRenderer
now accepts both Box3
and OBB
Intersections
now accept both Box3
and OBB
as bounds argumentexpandBoxRelative
from World
now accepts both a Box3
and a OBB
requestUpdate
from SectionOutlines
extension now takes an optional force
argument that forces an updateLoader
’s resourceData
changed from string | ArrayBuffer
to unknown
to allow each loader to define it’s own resource data typeSmoothOrbitControls
’s constructor changed. It no longer takes a Scene
and Intersections
, but only a SpeckleRenderer
Loader
’s resourceData
changed from string | ArrayBuffer
to unknown
to
allow each loader to define it’s own resource data typeSmoothOrbitControls
’s constructor changed. It no longer takes a Scene
and
Intersections
, but only a SpeckleRenderer
pipeline
accessors added to SpeckleRenderer
. This allows for user defined
rendering pipelinespipelineOptions
accessors removed from SpeckleRenderer
PipelineOutputType
removed. The pipeline’s result now depends on the pipeline’s
pass configurationDynamicAOPassParams
and it’s default removedStaticAoPassParams
and it’s default removed and replaced by ProgressiveAOPassOptions
Vector3
and Box3
have been removed from the viewer’s exports. They can now
be imported from three.jsNearCameraCalculation
type option added to CameraController
option.UpdateFlags.RENDER
no longer resets pipeline. Added UpdateFlags.RENDER_RESET
which forces a pipeline resettasOnly
as a parameter in all intersect
variants.firstHitOnly
option on Raycaster
now stops on first intersected
TAS, asa well as first intersected BAS from that TAS (if tasOnly
is not set)Vector3Like
replaces VectorLike
in the arguments of transformTRS
in BatchObject
SpeckleLoader
no longer takes a priority
argument in it’s constructoraddRenderTree
from SpeckleRenderer
now takes a RenderTree
as an argument
instead of a RenderTree
idgetRenderTree
is now overloaded with a version with no arguments that never
returns nullintersect
and intersectRay
arguments have been moved around and both are now
overloadedid
fieldgetEnvironment
and getTexture
from Assets
now only accept Asset
as argumentProviders
has been removed entirelyCameraProvider
has been replaced by SpeckleCamera
CameraControllerEvent
renamed to CameraEvent
updateClippingPlanes
in SpeckleRenderer
does not take an optional Plane[]
argument anymoresetOptions
from SelectionExtension
has changed to an accessordisplayOn
and displayOff
from SectionTool
are replaced by visible
accessor