Jump to content

Problem to load and run Biotopia


Recommended Posts

Dear all,  I am trying to run Biotopia, the winner of the graphics contest in 2013, with Smart Mobile Studio with a trial license. Nevertheless, there are a few problems:

  (1) Text cannot show and the console output is appended with 
        WebGL: INVALID_VALUE: detachShader: no object or object deleted  [line #0]
        WebGL: INVALID_VALUE: detachShader: no object or object deleted  [line #0]
  
  (2) After a while, the console output is appended with 
        Uncaught TypeError: Cannot read property '$Intf' of undefined  [line #452]

Could you help to comment whether it is possible to run Biotopia with current Smart Mobile Studio ?


  PS:
    In TextDemo.pas, the "Norms.Push([0, 0, +\-1]);" lines need to be modified to use a const array variable. Otherwise, the generated html complains that.slice is not a fucntion. 

Link to post
Share on other sites

Dear Czar and jarto, many thanks for your efforts to help ! The Smart Mobile Studio was downloaded from https://smartmobilestudio.com/trial/ the version reads 3.0.12, and the Biotopia was downloaded from https://smartmobilestudio.com/showcases/thesmartcontest2013-1/.

PS:

It turns out that the first problem of showing text could be solved by further modification of TextDemo.pas:

Data.Weights.Push([0.0, 0.0, (V[1]-dy-0.5)*2]);

needs to be modified to use a temporary array variable, similar to that the "Norms.Push([0, 0, +\-1]);" lines need to be modified to use a const array variable.

The second problem of getting "Uncaught TypeError: Cannot read property '$Intf' of undefined" in the console output after "DNA SPIRAL" is shown on the canvas is still there.

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...