Git Product home page Git Product logo

Comments (10)

adam-singer avatar adam-singer commented on June 29, 2024

Android built in browser or Chrome on android? If its the built in browser I have little hope anything works in it.

from three.dart.

adam-singer avatar adam-singer commented on June 29, 2024

Can you specify exactly which android version, device, browser and browser version. Helps get an idea of the env you talking about.

from three.dart.

chriscamacho avatar chriscamacho commented on June 29, 2024

Cyanogenmod (android 4.2.2) on nexus 7 using chrome 27.0.1453.90
Not the default browser
On 21 Jun 2013 13:31, "adam" [email protected] wrote:

Can you specify exactly which android version, device, browser and browser
version. Helps get an idea of the env you talking about.


Reply to this email directly or view it on GitHubhttps://github.com//issues/86#issuecomment-19813017
.

from three.dart.

adam-singer avatar adam-singer commented on June 29, 2024

Interesting, I had a similar setup at one point and chrome did work.

from three.dart.

chriscamacho avatar chriscamacho commented on June 29, 2024

its a pity it should just "run anywhere" (tm) (c) after all it should just
fall back to js and I know webgl works fine on it

On 22 June 2013 05:51, adam [email protected] wrote:

Interesting, I had a similar setup at one point and chrome did work.


Reply to this email directly or view it on GitHubhttps://github.com//issues/86#issuecomment-19851190
.

Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:

  1. I am by definition, "the intended recipient"
  2. All information in the email is mine to do with as I see fit and
    make such financial profit, political mileage, or good joke as it
    lends itself to. In particular, I may quote it where I please.
  3. I may take the contents as representing the views of your company.
  4. This overrides any disclaimer or statement of confidentiality
    that may be included on your message.

from three.dart.

nelsonsilva avatar nelsonsilva commented on June 29, 2024

Did you build the examples yourself or are you using the prebuilt ones from the project's site?

from three.dart.

chriscamacho avatar chriscamacho commented on June 29, 2024

from the site, I also attempted a simple dart webgl example I threw
together without joy, why they fail is a mystery to me - its just JS and
webgl so it should just work ? - I don't think this is a three.dart
specific issue

Real shame dart/webgl doesn't seem to just work everywhere ... :(

On 24 June 2013 10:10, Nelson Silva [email protected] wrote:

Did you build the examples yourself or are you using the prebuilt ones
from the project's site?


Reply to this email directly or view it on GitHubhttps://github.com//issues/86#issuecomment-19896213
.

Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:

  1. I am by definition, "the intended recipient"
  2. All information in the email is mine to do with as I see fit and
    make such financial profit, political mileage, or good joke as it
    lends itself to. In particular, I may quote it where I please.
  3. I may take the contents as representing the views of your company.
  4. This overrides any disclaimer or statement of confidentiality
    that may be included on your message.

from three.dart.

nelsonsilva avatar nelsonsilva commented on June 29, 2024

@financecoding I was looking into this and the problem seems to be in the shader compilation.
The compile status is true but for some weird reason !_gl.getShaderParameter( shader, gl.COMPILE_STATUS )
evaluates to true so the shader is set to null!
Can you please test it to see if you can reproduce it ? you can just remove the test and you'll see that the program runs just fine.

I added some simple debug code:

var success = _gl.getShaderParameter( shader, gl.COMPILE_STATUS );
print(success);
if (success) { print("It's true");}
if (!success) { print("It's false");}

And i get:
true
It's false

from three.dart.

markhats avatar markhats commented on June 29, 2024

While the getShaderParameter test is undoubtedly causing an issue in general with JS compiled apps (see #89), removing it doesn't get the examples working on Android Chrome.

There's definitely another issue at play here, since they work OK on Android Firefox and Opera. Also, the Three.js examples work on Android Chrome so the issue is specific to Three.dart on Android Chrome.

from three.dart.

adam-singer avatar adam-singer commented on June 29, 2024

@nelsonsilva what does print(success.runtimeType); print out? Sounds like idl mismatch of some sort.

from three.dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.