Python Forum
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Traditional OpenGL vs GLSL?
#1
1)which should be used(recommended)?
2)why?
3)If glsl really does gives you more control on graphic rendering,why is the tradisional opengl still used?
4)why is glsl so hard to learn,can't the creator make it easier?
Reply
#2
Well, glsl goes back to 2004. If you had to do any graphics work prior to that, it was very painful and much more complicated.
Most was done in a hardware specific language or in assembly language prior to that.
Unfortunately even the best of the old is just that, old and more complicated.
Things always get improved as time goes on, today there's Qt which is quite easy to use. tkinter, the built in GUI is
pretty easy to use (except for the geometry commands), you can still create fairly nice apps using it
wxpython, though not as popular is also a good one.
Bottom line, GLSL if taken in perspective is pretty good.
Reply
#3
It depends on what you're doing. If you're writing shaders, glsl is pretty much your only option.
Realistically, you're going to be using opengl, with a little glsl splashed in.

Think of it like html+javascript. You can write just html fine, but a little javascript makes it "better". Just javascript by itself is useless, though.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pygame with OpenGL on RPI Zero without X: invalid operation aserranoh 0 1,416 Mar-20-2022, 09:49 PM
Last Post: aserranoh
  Creating shadow in OpenGL with normal? hsunteik 0 3,366 Apr-27-2017, 08:23 AM
Last Post: hsunteik
  how to destroy or remove object rendered with opengl from the screen? hsunteik 1 7,052 Apr-09-2017, 01:30 PM
Last Post: hsunteik
  NullFunctionError in opengl hsunteik 2 4,080 Apr-04-2017, 07:29 AM
Last Post: hsunteik
  How to set the window icon with OpenGL GLUT hsunteik 3 6,246 Mar-19-2017, 11:53 AM
Last Post: Larz60+
  NullFunctionError opengl glutInit hsunteik 3 12,361 Mar-18-2017, 10:25 AM
Last Post: wavic
  how to draw terrain like minecraft in python using opengl with perlin noise value? hsunteik 0 5,501 Jan-21-2017, 11:45 AM
Last Post: hsunteik
  Can OpenGL object be overlap? hsunteik 4 5,086 Jan-19-2017, 02:43 PM
Last Post: Windspar
  find location of opengl object? hsunteik 1 3,341 Jan-17-2017, 11:30 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020