Results 1 to 4 of 4

Thread: Help with editing existing code

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    3

    Help with editing existing code

    hi,

    i tried to take and edit the source code of the next page - http://learningwebgl.com/lessons/lesson10/index.html.

    i changed all the relative files paths to an absolute files paths in the site (for exsample, instand of "mud.gif", i wrote "http://learningwebgl.com/lessons/lesson10/mud.gif"), and it's not working! (I see black square...)

    what is wrong?

    Maayan

  2. #2
    Junior Member
    Join Date
    Sep 2011
    Posts
    10

    Re: Help with editing existing code

    I'm guessing here, but I think due to the nature of WebGL and security issues, it won't allow the .htm file to come from one directory, and any other files to come from a different directory.

    I believe the spec may even allude to this issue.

  3. #3
    Junior Member
    Join Date
    May 2012
    Posts
    3

    Re: Help with editing existing code

    Update - it was an IIS problem. now it's ok.
    thanks!

  4. #4
    Junior Member
    Join Date
    Jul 2012
    Posts
    2

    Re: Help with editing existing code

    What exactly did you do? I have the same problem, all I can get is a black square when I run the code from my computer.

Similar Threads

  1. Image editing problem
    By jabak in forum OpenCL
    Replies: 3
    Last Post: 10-09-2012, 12:59 AM
  2. Replies: 3
    Last Post: 09-16-2012, 11:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •