Results 1 to 4 of 4

Thread: QML Shaders

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2012
    Posts
    58
    Thanks
    13
    Qt products
    Qt4

    Default QML Shaders

    I recently found out that though Animations do a great job super-cool stuffs in QML are done using shaders. Now I know nothing about this. One eg I found out is here:
    http://ilkka.github.io/blog/2011/03/...ader_tutorial/

    I would certainly like to add such effects to my project but I know nothing about shaders. However I've programmed in WPF3D - C# in the past on 3D modelling of real-world surfaces so I have some knowledge of mesh, geometry, texture etc. I want some advice on how do I start learning the usage of Shaders in QML. Do i need to study OpenGL 1st or some specific offerings of OpenGL or something called GLSL? Is there any other way i can have those effects (for eg the one in the link i posted)?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QML Shaders

    Knowing at least the basics of GLSL is a must. Without that you will just be able to copy existing effects but even that requires adjusting the shader to QtQuick requirements which brings us back to learning basics of GLSL.

    By the way, the tutorial you are quoting is not perfect, the shaders are not properly adjusted for QtQuick.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jun 2012
    Posts
    58
    Thanks
    13
    Qt products
    Qt4

    Default Re: QML Shaders

    Can you give some example links to get me started on GLSL? Btw, do i need to know OpneGL to learn GLSL? I hope i dont land into an infinite regression

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QML Shaders

    Your favourite web search engine will give you a lot of links on GLSL.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. help with installing qml shaders plugin
    By aya_lawliet in forum Newbie
    Replies: 0
    Last Post: 4th July 2011, 13:10
  2. Problems with shaders and their context's
    By Elberion in forum Newbie
    Replies: 13
    Last Post: 21st June 2011, 15:34
  3. QT4.7 & QGLFormat::CoreProfile & shaders
    By saraksh in forum Qt Programming
    Replies: 3
    Last Post: 27th December 2010, 22:04
  4. Replies: 0
    Last Post: 10th November 2010, 13:56
  5. GLSL shaders, multitexturing and Qt
    By jcox23 in forum Qt Programming
    Replies: 0
    Last Post: 20th January 2010, 19:37

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.