Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Using 3D interactivity in PF

  1. Sep 4, 2017 #1
    Hi guys,

    I've be wondering how we can achieve 3D interactivity in PF. Perhaps Wolfram cloud is a way. In the link below, I created half of a 3D plot and deployed it to the Wolfram cloud. The software is in its initial phase with some issues but it's a start. It initially loads with a red background (a Mathematica error state) with and x and y control. Do not click on the controls. Nevertheless, but then if you give it a few seconds more,click on the image itself, maybe a few times until the red rectangle appears around the plot, then you can use the mouse to rotate it and use the controls on the rectangle to scale it.

    If we could get a nicer interface, 3D interactivity would be a nice addition to PF don't you guys think?

    https://www.wolframcloud.com/objects/0a8dd84f-e97f-4fdc-8341-5ef98770bfec
     
  2. jcsd
  3. Sep 4, 2017 #2

    phinds

    User Avatar
    Gold Member
    2016 Award

    I get nothing but a static image no matter how many times I click.
     
  4. Sep 4, 2017 #3
    I can click it 3 times at three different places on the plot, then a darker rectangle appears around the plot with small block controls at the corners and midway on the lines, at that point, I can then press down on the left mouse button over the plot and rotate it as I move my mouse. Is that not the case with you?
     
  5. Sep 4, 2017 #4

    phinds

    User Avatar
    Gold Member
    2016 Award

    I get nothing but a static image no matter how many times I click.
     
  6. Sep 4, 2017 #5
    Ok phinds. There may be an issue with permissions. It's in it's early stage of development. Maybe you need Mathematica on your machine to get it to work as I do. That wouldn't do of course but maybe not. Not sure. I'll look into it further.
     
  7. Sep 5, 2017 #6

    BillTre

    User Avatar
    Science Advisor

  8. Sep 5, 2017 #7

    berkeman

    User Avatar

    Staff: Mentor

    Yeah, it's static for me too. When I go up a level and try to get back down into images, it asks me to log in...
     
  9. Sep 5, 2017 #8
    Last edited: Sep 5, 2017
  10. Sep 5, 2017 #9

    phinds

    User Avatar
    Gold Member
    2016 Award

    I get a graph that loads immediately, stays for a fraction of a second, then disappears permanently.
     
  11. Sep 5, 2017 #10
    Yes, I get the same thing when I go to another machine and try to access the plot. I'll see if the Wolfram guys can help me with it.
     
  12. Sep 5, 2017 #11

    phinds

    User Avatar
    Gold Member
    2016 Award

    Good. Please do better debugging before posting again.
     
  13. Sep 9, 2017 #12
    I have made progress in this matter: the inability for other users to interact with my cloud data has to do with "cloud credit". Apparently, the owner of the file needs credits for other to view and execute Mathematica HTML files. One way to debug is for me to log out of the cloud and then try to access the file. My lack of familiarity with the software prevents me from knowing precisely what sort of credits I have and I have been working with the Wolfram group. I am able to log out and still access for example this file which is sin(xy) on another computer so perhaps it's working now. Might someone try this and let me know if you can rotate it with the mouse? Give it say 5 seconds to load, a blue bar appears on top of the screen showing loading and then disappears when finished and since rotating consumes credits, and I do not yet understand what I have, at some point I assume they will be extinguished and no longer allow others to interact with the plot.

    https://www.wolframcloud.com/objects/0c9c7471-477a-4e13-aa0a-9000d08a9f58
     
  14. Sep 9, 2017 #13

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    The image disappears as well when finished. It is replaced by a small red box with a light red interior.

    Edit: After multiple tries I get a rotatable graph.
     
  15. Sep 9, 2017 #14
    I find you have to give it time to load, takes about 5-7 seconds for the blue loading bar to disappear when I log into PF from another PC and click on it.
     
  16. Sep 9, 2017 #15

    phinds

    User Avatar
    Gold Member
    2016 Award

    For me the graph appears instantly and disappears almost as quickly and does not come back after 30 seconds of waiting. This is getting to be a joke.
     
  17. Sep 9, 2017 #16
    I can reproduce the failure (plot disappears and the red box shows up) in the Microsoft Edge browser but Chrome, Explorer and FireFox seem to work ok. Are you using Edge to view the plot? If so, this may be a browser issue that can be fixed.
     
  18. Sep 9, 2017 #17

    phinds

    User Avatar
    Gold Member
    2016 Award

    I'm using FireFox
     
  19. Sep 9, 2017 #18
    Ok, would you mind trying to refresh the screen after you get the red box and let me know if it works so I can report it to Wolfram? I've noticed when I get the box and then hit the refresh screen, the plot appears and I can rotate it.
     
  20. Sep 9, 2017 #19

    DrGreg

    User Avatar
    Science Advisor
    Gold Member

    Initially, when I follow the link in post #12 in Firefox v55, a static image appears almost immediately (there is no blue progress bar), but a short while after, the image vanishes and a small pink box appears. Mousing over the pink box gives the pop-up error message "Error: e is null".

    However, if I open the link using Firefox's "Private Window", it begins the same as above, but instead of the pink box I get the 3D image that I can rotate with the mouse. This is also what I get in Internet Explorer v11 (not "InPrivate Browsing").

    After trying all the above, I went back to retry my first method via Firefox (that had failed several times) and this time it worked.
     
  21. Sep 9, 2017 #20

    phinds

    User Avatar
    Gold Member
    2016 Award

    This time it worked fine from the start. Image popped up immediately and was rotateable almost immediately
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Using 3D interactivity in PF
  1. Does PF use tapatalk (Replies: 10)

  2. Problems using PF site (Replies: 2)

Loading...