Search:

Type: Posts; User: zed

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,865

    Re: Right click on viewport/canvas

    document.onmousedown = handleMouseDown;

    function handleMouseDown(event){

    if ( mouse_pos ) inside gl canvas
    return false;
    else
    return true;
    }
  2. Thread: WebGL linux

    by zed
    Replies
    1
    Views
    2,148

    Re: WebGL linux

    try starting the browser from a console window, in linux it should output any errors to the console window
  3. OT heads up - google canary build has webaudio support

    Its had it a while for mac OS users but now its available for windows/linux users.

    Yes its not crossbrowser compatible but its about the best we have at the moment (since the audio tag is so...
  4. Replies
    1
    Views
    2,411

    community action : no webgl support

    How about us, putting together a page that outlines, reasons why the webgl application hasnt worked on their machine & possible ways to fix it.
    Ive seen other ppls messages & often its just a alert...
  5. Thread: safari for windows

    by zed
    Replies
    1
    Views
    2,145

    safari for windows

    Ive downloaded it, but webgl doesnt work
    Is it not supported yet (googling shows its there on mac)
    or are there some flags Ive gotta set or something?

    ta zed
  6. Re: surely I cant be the only one having issues with chrome

    You wouldnt believe it I solved it 5 mins after I posted

    <canvas id="GLcanvas" width='200' height='200' style="top:0px; left:0px; position:absolute; z-index: 0; border: 0px red dotted" ></canvas>...
  7. Re: surely I cant be the only one having issues with chrome

    man this is hair pullingly bad

    log( "q1" );
    console.log( "X2 " + gl.getParameter( gl.BLEND ) + " " + gl.getError() ) ;
    log( "q2" );
    console.log( "X2 " + gl.getParameter( gl.BLEND ) + " " +...
  8. Re: surely I cant be the only one having issues with chrome

    Posted here also (but no answers) http://code.google.com/p/chromium/issues/detail?id=80731
    Perhaps cause its not a bug, its not the appropriate forum, but their site is so confusing I cant work out...
  9. surely I cant be the only one having issues with chrome

    This is hair pulling frustrating, this is an ongoing issue for months

    firefox - never have issues

    chrome - issues all the time dating back months, Ive had to firewall it from accessing the...
  10. Re: Has anyone used a texture atlas and used it in Chrome?

    if its not Tjunctions like steve saiz, its most likely filtering
    to see if thats the cause use gl.( NEAREST ) texture filtering instead of LINEAR
  11. Replies
    7
    Views
    4,432

    Re: best forum for javascript questions?

    yes Ive tried aptana.
    A common complaint with most IDEs is they cant handle long lines eg > 10,000 characters long
    thus the IDE freezes for ~10 secs when youre trying to page up through the source....
  12. Replies
    7
    Views
    4,432

    Re: best forum for javascript questions?

    I see youve posted there.
    firefox doesnt say how look garbage collection takes when you profile, chrome does (for my current app its about 1% of the time taken)
    Actually the difference between the...
  13. Replies
    7
    Views
    4,432

    best forum for javascript questions?

    Instead of doing them here, does anyone know the best place for gaming related javascript questions.
    Why gaming specific? as in questions about best performance practice, working with multiple files...
  14. Replies
    5
    Views
    4,993

    Re: Slow / choppy mouse event handling in Chrome

    did u try

    function handleMouseMove(e) {
    console.log( e );
    }

    move mouse around & look at the console.log, is it instantly updating?
    If you click on the MouseEvent-> u will see timeStamp:...
  15. Replies
    5
    Views
    4,993

    Re: Slow / choppy mouse event handling in Chrome

    hmm I see framerates much higher with chrome than firefox (depends on scene complexity/windows size but anywhere from 2-10x FPS)

    Have u tried profiling your app with chrome. ctrl-shift-j , click...
  16. Replies
    11
    Views
    3,938

    Re: stuttering movement

    actually a nice browser debugging option would be to actually see what its garbage collecting.
    This would be extremely useful to clean up/optimize your code.

    Does anyone know if such a thing...
  17. Replies
    11
    Views
    3,938

    Re: stuttering movement

    well force it, but in the meantime dont garbage collect at all. 8)
    javascript desperately needs static datatyping, I see its been penciled in for the next release, but who knows when thats gonna...
  18. Replies
    11
    Views
    3,938

    Re: stuttering movement

    cheers Steve, Im not 100% sure if its GC. i.e. if I go

    A/
    Update()
    Render() with dt

    its smooth, but it isnt with

    B/
    accumulator += frameTime;
  19. Replies
    11
    Views
    3,938

    stuttering movement

    Im talking about movement of objects on the screen
    Is anyone else seeing this?

    If I use deltatime & a single update & then render, its smooth
    but for most of my stuff I like to have a fixed loop...
  20. Replies
    3
    Views
    2,785

    Re: Moving object with mouse

    theres heaps of ways

    A/
    find vector that the cursor passes through
    var worldS = camera.From_window_to_world_space( [mousePosX,mousePosY,0] );
    var worldE = camera.From_window_to_world_space( ...
  21. Replies
    8
    Views
    3,905

    Re: Chrome 9 to Chrome 10 Problems

    try
    --ignore-gpu-blacklist

    also with or without
    --use-gl=desktop
    --enable-accelerated-compositing

    Personally Ive firewalled chrome, since the automatic updates would often break webgl. On...
  22. Thread: Freeing resources

    by zed
    Replies
    6
    Views
    3,230

    Re: Freeing resources

    Update (should be an edit)
    firefox beta 12 solves a lot of the memory issues. i.e you can now press F5 + current used memory gets cleaned up eventually, performance is also improved from the last...
  23. Thread: Freeing resources

    by zed
    Replies
    6
    Views
    3,230

    Re: Freeing resources

    you code try profiling your code (with chrome) + looking at the tree view to see if its actually the GC thats actually causing the hangs.
    Like I said try to use a few global variables (that wont get...
  24. Thread: Freeing resources

    by zed
    Replies
    6
    Views
    3,230

    Re: Freeing resources

    yep I hate garbage collection also, I see these micro pauses during app execution that are caused by this.

    One thing Ive found which helps is keep a few global structures around eg
    var globalLS =...
  25. Thread: 3 questions

    by zed
    Replies
    6
    Views
    3,656

    Re: 3 questions

    Cheer for the clarification, Ill just have to have it turned off then.
    I did use dst_alpha for a depth of field effect. But I suppose, practically anything you want to use dst_alpha for, you could...
Results 1 to 25 of 64
Page 1 of 3 1 2 3