Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7752273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:45:25+00:00 2026-06-01T11:45:25+00:00

Does anyone have an example of rendering a remote file in XTK (https://github.com/xtk/X)? Is

  • 0

Does anyone have an example of rendering a remote file in XTK (https://github.com/xtk/X)? Is this currently possible?

I tried swapping in a URL for the file location, like so:

// load a .vtk file
var skull = new X.object();
skull.load('https://s3.amazonaws.com/surfaces/skull.vtk');

No luck though… Any ideas?

UPDATE:
AWS now supports CORS on S3! Just took a little patience: http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:45:27+00:00Added an answer on June 1, 2026 at 11:45 am

    In general this should work!

    Maybe it is a cross-origin error – it could be a simple fix on the remote server (the one hosting the .vtk file) like described here:

    http://en.wikipedia.org/wiki/Cross-origin_resource_sharing

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have an example of a successful hibernate.cfg.xml configuration file where they use
Does anyone have any examples of starting the file stream before the rendering/building process
Does anyone have an example of a jquery based photo selector? This is something
Does anyone have an example of setting up Authlogic with a namespace in Rails?
Does anyone have any example on how to put a date time picker inside
Question: Does anyone have an example of a filter as you type dropdown control
Does anyone have a smal example of how to programmatically, in c/c++, load a
Does anyone have a working example of a video player built using Qt phonon?
Does anyone have a basic example to display a UIPickerView when a UITextField was
Does anyone have a simple example of implementing an async validation rule in csla?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.