Author Topic: OpenGL in masm64  (Read 6247 times)

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #150 on: July 27, 2020, 06:57:38 PM »
Hi, jj2007!
I seem to have done everything right, but for some reason the brightness is low. nidud had Same result in http://masm32.com/board/index.php?topic=7599.0 Try to increase the brightness and see 5 teapots. I will probably have to redo the program

jj2007

  • Member
  • *****
  • Posts: 10556
  • Assembler is fun ;-)
    • MasmBasic
Re: OpenGL in masm64
« Reply #151 on: July 27, 2020, 08:03:48 PM »
Better? ;-)

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #152 on: July 27, 2020, 08:06:42 PM »
Of course better! jj2007, what did you fix? There is a picture on the site https://www.opengl.org/archives/resources/code/samples/redbook/

I think I understand it. jj2007, did you just turn up the brightness on the screen?

jj2007

  • Member
  • *****
  • Posts: 10556
  • Assembler is fun ;-)
    • MasmBasic
Re: OpenGL in masm64
« Reply #153 on: July 27, 2020, 11:00:55 PM »
I threw it into my trusty old PaintShop 4.1, used a Gamma correction of 1.6 and increased brightness a little bit :tongue:

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #154 on: July 28, 2020, 02:00:32 PM »
Especially for jj2007. Second try. Let's find differences from the first version program Feedback is needed to make programs better

jj2007

  • Member
  • *****
  • Posts: 10556
  • Assembler is fun ;-)
    • MasmBasic
Re: OpenGL in masm64
« Reply #155 on: July 28, 2020, 05:44:33 PM »
That looks perfect, my friend :thumbsup:

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #156 on: July 28, 2020, 06:13:57 PM »
Ciao, jj2007!
Ho fatto del mio meglio. . .

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #157 on: July 28, 2020, 09:36:07 PM »
Rotating model of "the 3-rd planet from the Sun".
Interaction:
  • pressing "D/d" for day texture
  • pressing "N/n" for night texture
There are asm\exe\raw-files and cursor in the attachment --> 77.zip (1994 Kb)
« Last Edit: July 29, 2020, 09:26:16 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #158 on: July 31, 2020, 02:03:29 AM »
The Rotating Donut in syrup
A prototype is "OpenGL torus in Assembly" by Sergey Chaban. There are asm\exe-files and cursor in the attachment.
« Last Edit: July 31, 2020, 01:31:40 PM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #159 on: August 01, 2020, 01:04:48 PM »
NeHe's tutorial 15 : Texture mapping outline fonts
There are asm\bmp\exe-files and cursor in the attachment.
« Last Edit: August 01, 2020, 02:17:38 PM by Mikl__ »

caballero

  • Member
  • *****
  • Posts: 1470
  • Matrix - Noah
    • abre ojos ensamblador
Re: OpenGL in masm64
« Reply #160 on: August 01, 2020, 06:01:43 PM »
You're a tireless programmer, Mikl  :thumbsup:
The logic of the error is hidden among the most unexpected lines of the program

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #161 on: August 01, 2020, 07:03:21 PM »
¡Hola Alfonso!
Mis vacaciones se terminaron en la universidad, las conferencias para los estudiantes están comenzando y no tendré tiempo para OpenGL
« Last Edit: August 02, 2020, 08:23:51 AM by Mikl__ »