Search:

Type: Posts; User: jimmyt1988

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    9,424

    Re: Lighting - Lioght Obstruction And Shadows

    that makes far too much sense. God forbid anything in 3d is explained in an easy to understand method. Cheers. Im gonna do that!
  2. Re: Collisions in webgl. Can you do it with a shader?

    I did a simple sqrt(x + y + z). thats from player origin to each point on all the objects and if the distance is > 2, then move.

    But it's so flimsy.

    If i have a very long wall.. i need to...
  3. Replies
    8
    Views
    9,424

    Re: Lighting - Lioght Obstruction And Shadows

    I think I read about that colouring technique. I've got to be honest, I find it hard to understand the solutions without seeing them first.. So this time i'll stfu :D . I'll keep coming back to...
  4. Re: How to include material when converting x3d to webgl-htm

    Dont forget that the pathing for the materials used in the glass will refer to local places rather than the location of your material that i guess you have uploaded to a server or put into another...
  5. Re: What's the best way to deal with this structure please?

    Good place to start webgl: http://learningwebgl.com/blog/
    Good place to start c++ opengl: http://nehe.gamedev.net/tutorial/lessons_01__05/22004/

    I suggest webgl if youre starting out with coding...
  6. Replies
    8
    Views
    9,424

    Re: Lighting - Lioght Obstruction And Shadows

    I'm now here to ask the same question. But ill have a go at answering something i dont understand anyway :)

    The light part (which you already know):
    I guess that you have an array of light...
  7. Re: Collisions in webgl. Can you do it with a shader?

    Too late to edit but.. < 90, not <= 90. thatd be dumb :D
  8. Collisions in webgl. Can you do it with a shader?

    Hi all, excuse my pseudo code.

    Can you confirm my method for determining collisions.

    I have given my player model a bounding cube (so i dont have to check all the humps and bumps colliding,...
  9. Replies
    4
    Views
    2,289

    Re: Shadows in WebGL

    Do you have an example so I can get the syntax right?
  10. Replies
    4
    Views
    2,289

    Re: Shadows in WebGL

    I found this and this seems to help alot. I'll read it tonight and get back to you on any further thoughts: http://archive.gamedev.net/archive/refe ... page2.html

    is it possible to write functions...
  11. Replies
    8
    Views
    9,424

    Re: Lighting - Lioght Obstruction And Shadows

    Gosh. That's quite an idea!.. It may be worth studying the code in this demo: http://asalga.wordpress.com/2011/12/12/ ... gl-part-1/

    I unfortunately did not understand the code as i'm a bit of a...
  12. Replies
    9
    Views
    8,766

    Re: json and c++ collada reader

    I export my models in Blender to an x3d file.
    I upload that x3d file to the server and open it using javascript.
    I parse through the XML and convert it to json and then evaluate that json into a...
  13. Replies
    4
    Views
    2,289

    Shadows in WebGL

    Hi all.

    I have followed the learningwebgl tutorials and have gone over them many times trying different things.


    I have learnt about dot products (angle between 2 vectors)[/*:m:2dzmvpoo]
    I...
Results 1 to 13 of 14