Python OpenGL. Introduction to Shaders

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 25

  • @kazeroth1234
    @kazeroth1234 ปีที่แล้ว +3

    This is truly amazing. I love content likes yours Coder Space.
    I'm just following alongside your tutorial, but seeing the results on my end is absolutely mesmermizing!

  • @moddofx
    @moddofx ปีที่แล้ว +6

    Exactly the type of videos I was looking for. Perfect. Thank you so much for your work.

  • @karim-gb5nx
    @karim-gb5nx 2 ปีที่แล้ว +1

    This is all you need to get started !
    Much appreciated

  • @renepusch8218
    @renepusch8218 2 ปีที่แล้ว +2

    Short but very useful video. Nice :)

  • @RoniStudio
    @RoniStudio 2 ปีที่แล้ว +2

    Awesome! Looks like I have a lot to learn from you.

  • @mrdixioner
    @mrdixioner 8 หลายเดือนก่อน

    I had an error with the geometry module and Python version 3.11.7. I had to write the line to make it work: "from moderngl_window import geometry".
    It also doesn't find shader files for me. What could be the problem?

  • @IgneousGorilla
    @IgneousGorilla 10 หลายเดือนก่อน

    Is there a way to get an explicit excecution loop? Clearly a loop is being executed until the window is closed, and I'd like direct access to it

    • @CoderSpaceChannel
      @CoderSpaceChannel  10 หลายเดือนก่อน

      there is a video on the channel about prime numbers, it shows an example of what you want

  • @sebastianstein6128
    @sebastianstein6128 ปีที่แล้ว +3

    How do I change the window size and the size of the vao? If i just change the pixel numbers in window size this does not affect the actual resolution of my created shader art. (Im trying to get a quadratic window with 1080 times 1080 pixel)

    • @IgneousGorilla
      @IgneousGorilla 10 หลายเดือนก่อน

      Hey, did you solve this?

  • @KumquatChampion
    @KumquatChampion 11 หลายเดือนก่อน

    This is incredibly helpful thank you!

  • @rampage_sl
    @rampage_sl 2 ปีที่แล้ว

    I'm glad I discovered your channel

  • @supriyapol9149
    @supriyapol9149 2 ปีที่แล้ว +2

    I have problem with geometry line no. 11 it says Cannot find reference 'geometry' in '__init__.py'

    • @JohnSmithjohnsmithjohnsmithjoh
      @JohnSmithjohnsmithjohnsmithjoh ปีที่แล้ว

      importing the geometry itself by 'from moderngl_window import geometry' worked for me. My code still worked as shown in the video, but the static analysis couldn't find the geometry module. If that doesn't work then make sure you've correctly installed moderngl and moderngl_window for python 3.9, for best reproducibility. I was able to run it fine with 3.11 but other's mileage may vary I suppose

  • @zaqk2
    @zaqk2 9 หลายเดือนก่อน

    Only uses bottom left quarter of the screen on MacOs 😢 ... Anyone facing similar issue ?

  • @tilakrajgolari1577
    @tilakrajgolari1577 9 หลายเดือนก่อน

    Sir,
    What if we want this in 3d?

  • @623-x7b
    @623-x7b ปีที่แล้ว

    It cannot find the shader files despite them being in the same folder as main dot py and have tried using relative python ./ etc on Linux. Anyone else had the same issue?

    • @mrdixioner
      @mrdixioner 8 หลายเดือนก่อน

      I have the same thing, I don't know what the problem is.

  • @salvulcanogaming
    @salvulcanogaming หลายเดือนก่อน

    this shit is literally magic

  • @nebulae_wanderer
    @nebulae_wanderer 2 ปีที่แล้ว

    been looking for something like that for the past 4h thx

  • @nacnud_
    @nacnud_ 2 ปีที่แล้ว

    Perfectly paced. 👍

  • @itssuperninja
    @itssuperninja 2 ปีที่แล้ว +3

    what the hell is that emoji at 1:10 😂

  • @toutenunmot
    @toutenunmot ปีที่แล้ว

    Anyone able to run this on macOS?

    • @toutenunmot
      @toutenunmot ปีที่แล้ว

      I had to change the version to 330 in both .glsl files, possibly because my computer is old or because apple does not support OpenGL so well...
      #version 330

  • @kivy_kivymd4952
    @kivy_kivymd4952 2 ปีที่แล้ว

    i want to learn
    please make full cource from scratch
    or give me a road map for glsl shader 😔💙✨✨