textures and .gltf files

105 views
Skip to first unread message

Jerrold Siegel

unread,
Jul 12, 2015, 1:13:11 PM7/12/15
to cesiu...@googlegroups.com
I have been working under the assumption that textures referenced in a .gltf file  and the .gltf file itself have to be on the same server, the references are relative to the server. This is a bit inconvenient and I have tried various possibilities to no avail.  I can certainly work with this, but if I am missing something and somebody could point me in the right direction it would be much appreciated.

Patrick Cozzi

unread,
Jul 12, 2015, 8:10:12 PM7/12/15
to cesiu...@googlegroups.com, jerrold...@gmail.com
Hi Jerrold,

In the current implementation, you are correct.  However, glTF should allow absolute paths so the texture could be on another server.

Given the limit of 6 requests per domain in most browsers, we are actually interested in this for 3D buildings so I expect we'll have a fix in the next few releases.

Keep in mind that if the server with the textures is not the same as the server with the app, the texture server will need CORS headers or a proxy.

Patrick

Jerrold Siegel

unread,
Jul 13, 2015, 10:13:38 AM7/13/15
to cesiu...@googlegroups.com, jerrold...@gmail.com

Patrick,
Thanks for your quick response. Again, this is really just an inconvenience for us. It just means making sure we move stuff from here to there.
Jerry

Patrick Cozzi

unread,
Jul 13, 2015, 12:58:50 PM7/13/15
to cesiu...@googlegroups.com, jerrold...@gmail.com
Gotcha.  Keep an eye on CHANGES.md in the next few Cesium releases.  I'll also try to update this thread when Cesium is updated.

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/YKRI5CJGVsM/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.



--

Patrick Cozzi

unread,
Jul 31, 2015, 6:14:07 AM7/31/15
to cesium-dev, jerrold...@gmail.com, pjc...@gmail.com
Jerry - I also submitted #2911 for this.

Patrick


On Monday, July 13, 2015 at 12:58:50 PM UTC-4, Patrick Cozzi wrote:
Gotcha.  Keep an eye on CHANGES.md in the next few Cesium releases.  I'll also try to update this thread when Cesium is updated.

Patrick
On Mon, Jul 13, 2015 at 10:13 AM, Jerrold Siegel <jerrold...@gmail.com> wrote:

Patrick,
Thanks for your quick response. Again, this is really just an inconvenience for us. It just means making sure we move stuff from here to there.
Jerry

--
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/YKRI5CJGVsM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Patrick Cozzi

unread,
Aug 19, 2015, 6:07:47 PM8/19/15
to cesium-dev, jerrold...@gmail.com, pjc...@gmail.com
Jerry - I think this is a CORS issue, see the discussion in #2911.

Patrick
Reply all
Reply to author
Forward
0 new messages