Comments (10)
@sha-N yes I'll add an option to BIMServerLoader - see #22
from xeokit-sdk.
Side note
BIMSURFER2 which is based on SceneJS renders the above model as follows
and in BIMSURFER3 when quantization is disabled, it also behaves in a similar fashion.
from xeokit-sdk.
@xeolabs can you provide some pointers on where to start for resolving this, I just got started on this whole bimserver stuff a week back, trying to catch up on what is available and how is it done.
from xeokit-sdk.
This is a quantization accuracy error, which is not an error within xeokit as such. It is caused by your floating-point geometry losing accuracy when xeokit internally quantizes it to integers. Two things you can try:
- increasing or decreasing the scale of your model
- ensuring that your model is centered at
[0,0,0]
For example:
var model = bimServerLoader.load({
//..
scale: [0.5, 0.5, 0.5],
position: [-90, 0, 0]
});
from xeokit-sdk.
Thank you for the reply, I had tried changing the scale with no luck.
can internal quantization be disabled once, *** Download quantized geometry from BIMServer - in progress** is done
from xeokit-sdk.
No, quantization can't be disabled. Are you able to share your IFC file, or any IFC file that reproduces this issue for you? Then I can investigate ways to make quantization more robust.
from xeokit-sdk.
Yes, I will send you the link in mail, shall i send to this id [email protected] ?
Please check of a solution as this SDK is kind of a perfect solution for the problem Im trying to solve.
from xeokit-sdk.
Yes, please send to that email, thanks.
from xeokit-sdk.
Hi, were you able to reproduce the issue
from xeokit-sdk.
Hi, Solved the issue as per your comment by setting the position:
parameter.
Right now it is kind of a workaround,
- load the model at position [0, 0, 0]
- get initial camera position
- use inverse of these coordinates on next load as position.
Update
If anybody else face similar issue
Position information can be retrieved from bimserver using ServiceInterface method: "getModelMinBounds"
and multiply the coordinates with value of scale
@xeolabs is it possible to avoid the step.
from xeokit-sdk.
Related Issues (20)
- How to disable right mouse drag in first person mode HOT 5
- I want to show wireframe,not show edge HOT 1
- I want to THREE.VertexColors,use Vertex Colors render?ok? HOT 1
- DistanceMeasurementPlugin works with Mesh? HOT 2
- Question: Determine world position to entity type. HOT 1
- [FIX] SceneModelTransform: parentTransformId parameter doesn't work HOT 9
- Restrict gestures to having effect only inside the canvas, not in the outer html elements HOT 2
- [FIX] Disallow creation of SectionPlanes that slice SectionPlane Controllers
- Does XKT support points metadata? HOT 1
- missing properties in model HOT 9
- GLTFSceneModelLoader - backfaces option throw `undefined` if material in primitive.material is missing HOT 1
- [FIX] Ensure no interference between ContextMenus on measurements and Canvas
- How can I disable logging in console of the library HOT 3
- Is it possible to integrate tiles dynamically ? HOT 2
- How to Remove 'viewMatrix' Listener HOT 1
- [FIX] Add missing types for measurements touch controls
- [FEATURE] Add AnnotationsPlugin example of creating w/ text types for labels
- AngleMeasurementsPlugin red dot is not at the position of the mouse pointer HOT 3
- [FEATURE] Ability to programmatically cancel measurements
- [FIX] Add missing measurements canvasToPagePos callback to TypeScript definitions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xeokit-sdk.