Embed SketchUp models in web pages
-
I've added a Mozilla / Firefox version of the LightUp WebPlayer. So now we have:
- Windows IExplorer
- Mac Safari
- Windows Firefox 3.6 / 4.0
It is packaged (as they all are) as a digitally signed Firefox .XPI installer, so Firefox should install it automatically after getting your permission.
Any problems, questions you ping here or at the LightUp forum.
Adam
PS Here's another simple test page showing multiple realtime views all on the same page being formatted by your browser:
http://www.light-up.co.uk/resources/webplayer/playertest.html
-
Installed, restarted, but no model. Just the control buttons.
Firefox 4, Win7 64bit.
-
@thomthom said:
Installed, restarted, but no model. Just the control buttons.
Firefox 4, Win7 64bit.
OK, perhaps it takes some time to download the .luca file.. Does your Add-Ons menu show the LightUp plugin installed?
If you point your FF browser at a small .luca file (eg http://light-up.co.uk/resources/webplayer/blocks.luca) you should get a fullsized window of the model.
And thanks for the feedback,
Adam -
Firefox looks fine in the Addon list - looks to be installed properly.
Just tried the browser test page in Internet Explorer and it installed and loaded the models very quickly. So something must be bust with Firefox. -
Thomthom,
Please can you try and install it again (the rev has been bumped so FF might pick that up else uninstall the previous version).
I've ironed out a few little bugs that might have been catching you.Adam
-
Installed fine on FF 3.6 here. Had to restart the browser and I can see all three models on that page.
Very cool, thanks for this, Adam!Currently I am mostly interested in something like on the right - a walkthrough solution of a model I am building about a museum for kids. Could there be collision detection built in to the file? Also, how about climbing on stairs? (I should try, I know...)
One note: the model on the left seems to be very sluggishly navigable. And the model in the middle is rotating around something behind me. Is that because o the model origin?
(The one on the right is very cool).
Could there be also a control to go full-screen?
-
@gaieus said:
Could there be also a control to go full-screen?
Never mind. I discovered that if I load the luca file directly into the browser, it can be viewed full-screen. Sweet!
-
Tried it on my home computer with Firefox4 and Win7 64bit - worked fine.
Will check with my work computer if the update solve the problem I had there. -
-
@adamb said:
Thomthom,
Please can you try and install it again (the rev has been bumped so FF might pick that up else uninstall the previous version).
I've ironed out a few little bugs that might have been catching you.Adam
Tried it on my work-computer. Still nothing. Doesn't seem it picked up the update.
(Says 2.4.1 - is that the last one?) -
Uninstalled the plugin and reinstalled. Still nothing.
Don't understand what makes this machines different... -
@gaieus said:
Installed fine on FF 3.6 here. Had to restart the browser and I can see all three models on that page.
Very cool, thanks for this, Adam!Currently I am mostly interested in something like on the right - a walkthrough solution of a model I am building about a museum for kids. Could there be collision detection built in to the file? Also, how about climbing on stairs? (I should try, I know...)
One note: the model on the left seems to be very sluggishly navigable. And the model in the middle is rotating around something behind me. Is that because o the model origin?
(The one on the right is very cool).
Could there be also a control to go full-screen?
The .luca file captures everything you've set up in SketchUp/LightUp. I wanted to give the content creator total control, so if the camera motion has been setup to be slow, it will be slow also in the viewer, if you've enabled Collision in Sketchup, you'll get collision in the viewers, if you've enabled gravity in Sketchup.. etc etc.
Just FYI: If you hold SHIFT down, you should move 5x the speed which is handy for getting around large models.
Also the plugin is totally controllable from Javascript, so I need to post an example showing jumping from the Scene to Scene.
@thomthom said:
Tried it on my work-computer. Still nothing. Doesn't seem it picked up the update.
(Says 2.4.1 - is that the last one?)Yes, 2.4.1 is the latest. I wonder whether your workplace has some security stopping this plugin running - in that it works fine for you at home.
If you point your browser at a luca file (ie use a file:// URL), do you get any messages?Anyway, I appreciate the feedback guys.
Adam
-
I can't find anything that should block it. Certainly not network wide, as IE loads it properly.
When I try to load a .luca file directly ( http://www.light-up.co.uk/resources/webplayer/blocks.luca ) I get a black browser background, then when I click it turns white - and nothing more happens. -
OK, thanks Adam. I like this web viewer more and more.
Will there be plugins for other browsers too (Opera, Chrome etc.). I hope it's not an extremely big effort to port it to other browsers, too, once the core is working.
Advertisement