Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: 04_Example_Movement

  1. #1

    04_Example_Movement

    Here is example nr. 4 of Irrlicht Tutorial that shows how to move and animate SceneNodes.
    You can use mouse, arrows keys, keys W to move the sphere up and S to move sphere down.
    Note that the bundle executable leaves all files on your disk so you can study the script.

    Regards,
    Roberto
    http://www.thinbasic.com

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: 04_Example_Movement

    Just a note.
    Exploded files are hidden when exploded on disk so you need to have "show hidden system files" explorer flag set to on.
    We will release Irrlicht latest module quite soon.

    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: 04_Example_Movement

    THanks, for the latest additions and demo!!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  4. #4

    Re: 04_Example_Movement

    Good job! ;D
    It seems that the progress on the new module is going well. Any chance to see shaders in the first version?

  5. #5
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: 04_Example_Movement

    Hi Roberto,

    ... you monster ! This looks very promising!
    The node architecture is quite interesting one, and especially great for interpreter I must admit.

    It runs about 200FPS in both D3D and Ogl mode, on software at usable 37FPS.


    Thanks,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: 04_Example_Movement

    For those like me that do not know anything about OpenGL and shaders ...
    http://en.wikipedia.org/wiki/Shader
    http://appsrv.cse.cuhk.edu.hk/~ymxie/Geometry_Shader/

    Maybe other info can help here ...
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: 04_Example_Movement

    Hi Eros,

    geometry shaders work only on GeForce 8800 so I think they must not have highest priority yet.
    Still interesting you don't need Vistas and their DX10 to do it, see here. GeForce 8800 has drivers for XPs too.

    I must admit nVidia has nice documentation, please see shaders and explanations.

    ATi has it usable too, but not very frequently updated, please see here.

    Simply:

    Pixel shaders are for per pixel operations ( bumpmapping, paralax mapping ), vertex shaders for manipulating ( but not creating ) vertices and geometry shaders allow to create even new geometry.

    There is quite wide range of syntax, different for DX and OGL ( uff ) from ASM like to C code looking ones.


    Bye,
    Petr



    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  8. #8
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: 04_Example_Movement

    I came across this last night in reading. Page 8-10 show that opengl can do a lot.
    http://www.ultimategameprogramming.c...=OpenGL&page=8
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  9. #9
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: 04_Example_Movement

    I find lots of sites with documentation for shaders, but I can't seem to find the download for it. I went to the opengl site and can't find it there either.

    I can run an executeable demo that uses shaders. This one is really nice:
    http://developer.3dlabs.com/downloads/index.htm
    GLSLdemo Windows installer 3.08 Mb 25 Jan 2006

    When I try to compile anything that uses glsl, I get the missing include file, which I can't find...
    Cannot open include file: 'gl/glext.h'

    Thanks.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  10. #10

    Re: 04_Example_Movement

    I think I needed glext.h to compile some Glut Examples Once.
    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

Page 1 of 2 12 LastLast

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •