Trouble implementing 3D tiles in Cesium Sandcastle

875 views
Skip to first unread message

Parthesh Bulbule

unread,
Sep 10, 2015, 6:06:58 AM9/10/15
to cesium-dev

Hello,
        I tried to implement the new feature "3D tiles" in Cesium's Sandcastle on the Cesium Widget from the gallery (http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Cesium%20Widget.html&label=Showcases).


var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
    url
: '/path/to/3d/tileset'
}));

The tileset used were downloaded from here.

Replaced the url by "C:\Users\abc\Downloads\mesh_booth\mesh_booth" where I extracted the tileset.

I added the above code to the JavaScript Code, but after running, I am getting the error "ReferenceError: viewer is not defined (on line 8)" .




Assistance required !

Patrick Cozzi

unread,
Sep 11, 2015, 8:49:55 PM9/11/15
to cesium-dev
Hi,

Did you create a Cesium.Viewer instance?


Patrick
Message has been deleted

Parthesh Bulbule

unread,
Sep 14, 2015, 8:19:27 AM9/14/15
to cesium-dev
 
Hello,
        By the way I forgot to mention that it is great work that you are doing for 3D visualization, cheers !


 -- If possible just let me know how to load only the b3dm datasets on cesium without the use of 3d tiles. First at least I want to view some buildings on my locally installed cesium.


    Yes, I had created the Cesium.Viewer instance.

 -- I have now used a web server(node.js) and used the code from your "Introduction to 3D tiles" blog on cesium website.
 -- I downloaded the NewYork tileset and tried to use it.
 -- I am attaching a snapshot of the cesium sandcastle which shows the code and the errors together.



Patrick Cozzi

unread,
Sep 17, 2015, 4:47:47 PM9/17/15
to cesiu...@googlegroups.com
Hi,

The 3D Tiles implementation is in the 3d-tiles branch, it is not released yet.  If you want to experiment with it, make a Cesium build of that branch.  Check out the Contributor's Guide for details.

Patrick

--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/jtCR7L-2Gmk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Message has been deleted

mghn...@yahoo.com

unread,
Dec 1, 2015, 2:28:55 PM12/1/15
to cesium-dev
On Friday, September 18, 2015 at 1:17:47 AM UTC+4:30, Patrick Cozzi wrote:
> Hi,
>
>
> The 3D Tiles implementation is in the 3d-tiles branch, it is not released yet.  If you want to experiment with it, make a Cesium build of that branch.  Check out the Contributor's Guide for details.
>
>
> Patrick
>
>
> On Mon, Sep 14, 2015 at 8:19 AM, Parthesh Bulbule <parthes...@gmail.com> wrote:
>
>  
> Hello,
>         By the way I forgot to mention that it is great work that you are doing for 3D visualization, cheers !
>
>
>  -- If possible just let me know how to load only the b3dm datasets
> on cesium without the use of 3d tiles. First at least I want to view
> some buildings on my locally installed cesium.
>
>
>
>
>     Yes, I had created the Cesium.Viewer instance.
>
>  -- I have now used a web server(node.js) and used the code from your "Introduction to 3D tiles" blog on cesium website.
>  -- I downloaded the NewYork tileset and tried to use it.
>  -- I am attaching a snapshot of the cesium sandcastle which shows the code and the errors together.
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
>
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/jtCR7L-2Gmk/unsubscribe.
>
> To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
> twitter.com/pjcozzi

Hi,

I have downloaded the 3d tiles and exteracted it. I have used the cities.html to show the sample files but until now I have not success. please help me to do

thanks

vquy...@gmail.com

unread,
Dec 28, 2016, 8:22:10 PM12/28/16
to cesium-dev, mghn...@yahoo.com
Reply all
Reply to author
Forward
0 new messages