Comments (10)
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.
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.
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.
Interesting, I had a similar setup at one point and chrome did work.
from three.dart.
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:
- I am by definition, "the intended recipient"
- 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. - I may take the contents as representing the views of your company.
- This overrides any disclaimer or statement of confidentiality
that may be included on your message.
from three.dart.
Did you build the examples yourself or are you using the prebuilt ones from the project's site?
from three.dart.
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:
- I am by definition, "the intended recipient"
- 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. - I may take the contents as representing the views of your company.
- This overrides any disclaimer or statement of confidentiality
that may be included on your message.
from three.dart.
@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.
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.
@nelsonsilva what does print(success.runtimeType);
print out? Sounds like idl mismatch of some sort.
from three.dart.
Related Issues (20)
- All demos broken when attempting to run them in Dartium HOT 1
- Dart can't find OBJLoader. HOT 3
- More type annotations or type documentation please HOT 3
- CanvasRenderingContext2D.createPattern used for images
- Texture repeat: natural dimensions HOT 2
- Particles in WebGLRenderer? HOT 1
- dartfmt HOT 8
- Postprocessing HOT 3
- Rendering WebGLRenderTargets and the Renderer interface HOT 3
- Hemisphere light broken HOT 4
- BoundingBox does not have the same function then the three.js
- Add contributer's guide HOT 1
- Implement clone() and dispose() per threejs
- Status of this project HOT 1
- Creating a PlaneGeometry with too many height/width units crashes dartium.
- How should I use the newest three.dart HOT 4
- The method getChildByName from object3d don't work HOT 2
- Instancing HOT 3
- orbit_controls.dart is broken due to browser changes HOT 2
- Alive? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three.dart.