Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:WebUI
-
HD-Enabler:XML3D
Description
Hi,
I am working with the XML3D GE and I would like to be able to access 3D
models from an external URL location.
Until now, we are using the "model" tag but the only thing I can refer to
are LOCAL MODELS:
<model src="localLocation/myModel.xml"></model>
I would like to know if I can do the same with an EXTERNAL URL:
<model src="http://externaUrlLocation/myModel.xml"></model>
I raised the question 5 months ago and Torsten Spieldeneer told me that
they were working just in that feature, and that its release was a matter
of weeks.
I think it is a very important feature and I really would like to know if
it is already implemented.
Best regards,
Sergio.
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-lab-help
[Created via e-mail received from: Sergio Casas <scasas@robotica.uv.es>]
Activity
- All
- Comments
- History
- Activity
- Transitions
Hello Sergio,
the kind of reference you are trying to perform is possible. XML3D does
not make any assumptions about where the resource is located, but
resolves the the references from any location, also external URLs.
However, in this case, you have to make sure that the server on which
the resource is located, allows Cross Origin Requests. Usually, servers
are configured to do so, but some have deactived this features, which
will result in a Cross Origin Violation error and the resource can not
be loaded.
Information on how to configure servers correctly can be found here:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
Please note that basically any HTTP server can work as an asset resource
in this case, given that the configuration is correct. Also, if a remote
URL blocks a Cross Origin Domain request, that is, a request that comes
from a local domain and targets another (e.g., sent from localhost, but
targeting an external URL as you are describing), is no limitation that
we can fix in XML3D, but that is imposed by the browser as a security
measure to avoid malicious requests to foreign domains.
The release I was mentioning back then addressed, if I remember
correctly, the Asset Storage SE, which would be an alternative to a
plain HTTP server. This Storage Specific Enabler was released in the
scope of the FI CONTENT project, and is available here:
http://wiki.mediafi.org/doku.php/ficontent.common.enabler.assetstorage
The maintainer of this SE is Stefan Lemme of DFKI. If there are any
further questions concerning the setup and use of the SE, you may
contact him via Email (contact details are given on the SE page above).
So, in short:
Your requested feature is available in XML3D, given your resource is
hosted by a correctly configured HTTP server, or when using an instance
of the Asset Storage SE, for which Stefan Lemme will be happy to give
further support.
I hope I could help you
Best regards,
Torsten
–
Torsten Spieldenner, M.Sc.
Tel.: +49 6 81 / 8 57 75 - 77 48
Fax.: +49 6 81 / 8 57 75 - 22 35
Internet: http://www.dfki.de/web/forschung/asr/
-------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------