opensourceBIM / BIMsurfer

The latest version of the BIM Surfer WebGL viewer for IFC
MIT License
384 stars 132 forks source link

blank page in dev.html #41

Open celiakessassi opened 5 years ago

celiakessassi commented 5 years ago

Installed bimserverjar-1.5.150 with bimsurfer3-0.0.245. The model is rendered in bimviews but not in bimsurfer image

astashkevich39 commented 5 years ago

if I understood correctly, bimviews used an old version of BimSurfer image

rubendel commented 5 years ago

Yes BIMvie.ws uses BIMsurfer V1. As for the original author, we really need more information, is it too much to ask for what's in the debug log? Also these settings seem kind of random, did you change them?

astashkevich39 commented 5 years ago

In my case i have error in defaultrenderlayer.js. But in my custom code it do not used and all works fine image

rubendel commented 5 years ago

Object colors will be removed in the future and is not working anymore.

astashkevich39 commented 5 years ago

That why setColor() do not work?

rubendel commented 5 years ago

Hijacking of issues is not appreciated.

astashkevich39 commented 5 years ago

Sorry, got carried away.

celiakessassi commented 5 years ago

For me it not the same issue, No model is rendered in this page. Which part should I check ?

rubendel commented 5 years ago

The JavaScript console, hit F12 in most browsers. But your screenshot definitely shows that "useObjectColors" is enabled. This setting btw only specificies a specific way of loading object-colors, if you disable it colors will still work.

rubendel commented 5 years ago

Just to be clear, the dev.html is supposed to be used by BIMsurfer developers, who I would assume know where to find the JavaScript console. You should only change settings when you know what they mean. There a loads of combination that don't work together. The dev.html is mainly used for performance/functionality testing during development of BIMsurfer. Stick to the API if you just want to embed BIMsurfer.