Search:

Type: Posts; User: miroslav_karpis

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. clCreateContext with CGL_SHAREGROUP returns -30

    Hi, please do you have some ideas that why I'm getting error code -30 (CL_INVALID_VALUE )?

    - macbook pro, 10.7.2
    - GL_SHARING_EXTENSION supported



    CGLContextObj kCGLContext =...
  2. Replies
    2
    Views
    1,197

    Re: OpenCL newbie

    welcome :wink:
  3. Re: API for menu that will draw on top of canvas/webGL

    thanks + looks rally nice
  4. API for menu that will draw on top of canvas/webGL

    Hi,
    I know,..this is not so much related to webGL,...but: couple of months back I have seen some nice WebGL demos (if I remember, than the demo pack was officially announced via mailing-list) and...
  5. Replies
    1
    Views
    820

    Re: help with globalWorkSize

    ok, so everything is OK with my code. Problem is that double precision is not supported on my pc. Changing to float will solve the issue.
  6. Replies
    1
    Views
    820

    help with globalWorkSize

    please can you help me with this? There must be something what I'm overseeing.

    I'm passing to kernel 2 buffers, each with 4 values. One contains data and another one should return data from...
  7. Re: CL_DEVICE_MAX_WORK_GROUP_SIZE vs. CL_KERNEL_WORK_GROUP_S

    David: thank you very much for the reply!
  8. Replies
    1
    Views
    1,361

    Re: clGetPlatformIDs : Device Not Found

    most probably you know but you have one 'equals' sign more.
    so correct should be:
    err = clGetPlatformIDs(1, &platform, &platNum);

    another thing: what value you are getting here (will give you...
  9. CL_DEVICE_MAX_WORK_GROUP_SIZE vs. CL_KERNEL_WORK_GROUP_SIZE

    Hi, after a lot of reading I would like to clarify following:

    I'm getting following values:
    CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
    CL_KERNEL_WORK_GROUP_SIZE: 256

    So if I understand everything...
  10. Re: getting z-coordinate from elevation map

    no, vertex shader was correct. The 1282 glError problem was that I didn´t disable/enable vertexAttribArray between the attribute usage calls.

    So now no glError, but still some problem with...
  11. Re: A self-contained adaptive quality example

    running on mac nice and smooth :wink:
  12. Re: getting z-coordinate from elevation map

    one thing - if I comment:

    gl.enableVertexAttribArray(shaderProgram.DEMpositionAttribute);
    and comment the texture related code I´m not getting the 1282 glError after the drawElements(). The...
  13. getting z-coordinate from elevation map

    Hi All,
    please can you help me with this: - I'm trying to get a z-coordinate from a elevation map in vertex shader, but I'm missing something. After first drawElements I'm getting glError 1282. I...
  14. Replies
    1
    Views
    2,347

    Re: image.onload - returns 1282 glError

    -solved-
    problem was in some other code :roll:
  15. Replies
    1
    Views
    2,347

    image.onload - returns 1282 glError

    Hi All,
    I´m trying to load a texture with below function, but I´m sometimes getting:
    - in minefield glError (alert in the code) error 1282. Mostly when I refresh the page
    - in chrome error 1281:...
  16. Re: glMatrix - Stupidly fast WebGL matricies

    Hi, I think you are looking for this one (glmatrix project page - google code)
  17. Replies
    3
    Views
    2,782

    Re: importing a scene

    Hi,
    I don't think that there is a tutorial currently available. What I know are these 2 cases:
    - GLGE - it is a library develped on top of webGL, which has a Collada import (last information was...
  18. Re: Canvas 3D: can't get a native PBuffer... (firefox-3.7a6)

    here is some info about it -aslo just recommends older builds.

    Personally I use chromium (in linux and mac) - where you can also debug the page via the ´developer tools´.
  19. Re: glMatrix - Stupidly fast WebGL matricies

    Thank you for sharing - implemented + works nice :wink:
  20. Replies
    3
    Views
    3,742

    Re: GPU terrain rendering

    figured it out - not correct IBO values :x

    - if anybody is interested here is the link - just finished with first block 64x64
  21. Re: A self-contained adaptive quality example

    still not OK:

    line 199: - Uncaught TypeError: Cannot call method 'shaders' of null
  22. Re: A self-contained adaptive quality example

    - macBook(OSX 10.6.3) & NVIDIA GeForce 320M - 256MB: - shader problem in: Minefield(3.7a5pre) and WebKit(4.0.5 (6531.22.7, r60376))

    - have tried also on ubuntu(10.04) and chrome - worked well
  23. Re: A self-contained adaptive quality example

    thanks,..but when I wanted to run I got: Error: Could not compile vertex or fragment shader!. Didn´t investigate it further....
  24. Replies
    3
    Views
    3,742

    Re: GPU terrain rendering

    thanks,...but this ´message´(its not warning or error) is displayed also on other examples from webgl wiki. I wil try to get glGetError and see.
    For example in chrome I´m not getting errors at all.
  25. Replies
    3
    Views
    3,742

    GPU terrain rendering

    Hi All,

    I would like to ask you for following help. I'm trying to make a GPU terrain rendering (algorithm from NVIDIA Gems). Currently now I'm just porting code from OpenGL to WebGL and I'm having...
Results 1 to 25 of 26
Page 1 of 2 1 2