views:

1033

answers:

3

How would you embed a google sketchup model inside a website as seen HERE?

Click 3d view in the top right corner of the image.

+1  A: 

You could look at the Hypercosm Teleporter for SketchUp.

They have both free and pro versions.

Galwegian
A: 

The code on that very page, for the 3D case, includes stuff like this:

function initSwivelView() {
          swivelView = new _G3DWH_Swivel(
            "swivelContents",
            ["/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d35","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d34","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d33","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d32","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d31","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d30","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d29","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d28","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d27","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d26","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d25","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d24","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d23","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d22","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d21","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d20","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d19","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d18","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d17","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d16","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d15","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d14","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d13","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d12","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d11","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d10","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d9","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d8","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d7","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d6","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d5","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d4","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d3","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d2","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d1","/3dwarehouse/download?mid\u003dda09825795efbf015572ce0edbc2177f\u0026rtyp\u003dswivel\u0026setnum\u003d0\u0026imagenum\u003d0"]
,
            6,
            500,
            300,
            400,
            300
          );
          swivelView.initImages();
        }

which leads me to believe that what you're seeing is pre-rendered screenshots of the 3D model, it's not being rendered from the 3D source data in realtime. The fact that you only seem to be able to rotate, in rather rough steps, around the vertical axis as opposed to freely, seems to support this.

I tried digging out the filenames that seem to be included in that excitingly-wide "swivelContents" field, and creating direct URLs, but all I got were "malformed request" errors from Google. :)

unwind
That is all that I am trying to achieve here. I should have stated that in a clearer manner in the question.
JasonV
Fortega
+1  A: 

what you are looking for is: http://sketchupdate.blogspot.com/2009/06/take-your-3d-with-you.html