Questions tagged [immediate-mode]

22 questions
0
votes
1 answer

How draw rounded rectangle with alpha blending in OpenGL immediate mode

I have found some code that will allow me to draw a rounded rectangle in OpenGL immediate mode (here). What I would like to do it decrease the alpha, the further away from the centre of the rectangle - as would find under a Windows/Mac window or…
SparkyNZ
  • 6,266
  • 7
  • 39
  • 80
0
votes
1 answer

OpenGL rendering causes graphical glitch

Code is below. When the program runs, it generates a more or less correct image, but there are some graphical glitches. Here are some images:. Any ideas on what could be causing this? The weirdest part is that the issue appears to form on…
Nezo
  • 567
  • 4
  • 18
0
votes
1 answer

Changing display modes from the command line

Way way back in the day Itried to learn C from a game programming book. If I recall correctly, one of the first things your game "engine" would do would be to switch display modes to render. This involved a bit of asm to switch to a 640x480 display…
0
votes
1 answer

Best way to convert OpenGL immediate mode rendering utility methods to using VBOs?

I've written for myself a small utility class containing useful methods for rendering lines, quads, cubes, etc. quickly and easily in OpenGL. Up until now, I've been using almost entirely immediate mode, so I could focus on learning other aspects…
0
votes
0 answers

Imacro - Pause Loop after 5 time run

I wanna add some condition in loop that once its completed run of 5 time then it move to Pause option instead of every time.Thankyou VERSION BUILD=8601111 RECORDER=FX TAB T=1 SET !DATASOURCE email.csv SET !DATASOURCE_COLUMNS 45 SET !REPLAYSPEED…
0
votes
1 answer

Display Lists vs immediate rendering

I am trying to find if display list has better fps than immediate rendering. From what I found online display lists are faster, But I found some code online and it that situation immediate mode is faster? Can anyone explain me which one has better…
kim1989
  • 33
  • 1
  • 8
0
votes
1 answer

Standard order for drawing a prism?

Is there a standard order for drawing faces on a rectangular prism with OpenGL? If I were to write a "prism" function, would I want to write it to render in a specific order? Are there any technical reasons for drawing, say, the back face before the…
Moshe
  • 57,511
  • 78
  • 272
  • 425
1
2