Author Topic: OpenGL in masm64  (Read 3243 times)

Mikl__

  • Member
  • ****
  • Posts: 927
Re: OpenGL in masm64
« Reply #120 on: June 23, 2020, 10:20:55 PM »
Have you relaxed and rested enough?

Antarctica
Converted example from https://nehe.gamedev.net/tutorial/beautiful_landscapes_by_means_of_height_mapping/16006/ There are asm-file, raw-file, cursor and exe-file in the attachment.
Interaction:
  • pressing the "Arrow Left", "Arrow Right" ― surface rotation clockwise and counterclockwise
  • pressing the "Arrow Up", "Arrow Down" ― Zoom In and Zoom Out
  • Left Mouse Click ― change rendering state between fill/wire frame
January 28, 1820 is the day of the discovery of the sixth continent ― Antarctica. The honor to open the sixth continent fell to the Russian sailors: Thaddeus F. Bellingshausen (1778-1852) and Mikhail P. Lazarev (1788-1851).
« Last Edit: July 08, 2020, 11:30:50 AM by Mikl__ »

Mikl__

  • Member
  • ****
  • Posts: 927
Re: OpenGL in masm64
« Reply #121 on: June 27, 2020, 02:10:51 PM »
[delete]
« Last Edit: July 07, 2020, 03:43:06 PM by Mikl__ »

jj2007

  • Member
  • *****
  • Posts: 10335
  • Assembler is fun ;-)
    • MasmBasic
Re: OpenGL in masm64
« Reply #122 on: June 27, 2020, 07:21:41 PM »
Hey, Mikl, this is impressive :thumbsup:

But I was convinced that it showed dark clouds over Antarctica - and that seems entirely plausible to me. Even Greta wouldn't mind, I guess :cool:

Btw it shows a weird behaviour on my Win7-64 machine: sometimes it works, sometimes it just shows me a black screen :rolleyes:

Mikl__

  • Member
  • ****
  • Posts: 927
Re: OpenGL in masm64
« Reply #123 on: June 27, 2020, 07:48:49 PM »
Quote
Btw it shows a weird behaviour on my Win7-64 machine: sometimes it works, sometimes it just shows me a black screen
Ciao, jj2007!
I'm very interested in the stable work of my programs, but this is impossible if there is no feedback between me and the user
« Last Edit: June 28, 2020, 02:26:47 PM by Mikl__ »

Siekmanski

  • Member
  • *****
  • Posts: 2171
Re: OpenGL in masm64
« Reply #124 on: June 27, 2020, 09:36:22 PM »
Works perfect on my PC, very smooth color transition.  :thumbsup:
Creative coders use backward thinking techniques as a strategy.

Mikl__

  • Member
  • ****
  • Posts: 927
Re: OpenGL in masm64
« Reply #125 on: June 27, 2020, 10:52:07 PM »
Hallo, Siekmanski!
Dank je voor het antwoord!
« Last Edit: June 28, 2020, 02:27:19 PM by Mikl__ »

Mikl__

  • Member
  • ****
  • Posts: 927
Re: OpenGL in masm64
« Reply #126 on: June 28, 2020, 06:07:58 PM »
Quote
Den Brer Rabbit talk mighty ’umble.
"I don’t keer w’at you do wid me, Brer Fox," sezee, "so you don’t fling me in dat brier-patch. Roas’ me, Brer Fox" sezee, "but don’t fling me in dat brierpatch," sezee.
The prototype is "Display JPG" by Franck Charlet. There are asm-file, jpg-file, cursor and exe-file in the attachment. The main thing to remember is that the width equal to the height of the image in the jpg file, must be a power of two.
« Last Edit: June 30, 2020, 01:22:55 AM by Mikl__ »

Mikl__

  • Member
  • ****
  • Posts: 927
Re: OpenGL in masm64
« Reply #127 on: July 05, 2020, 05:32:22 PM »
Converted example from https://nehe.gamedev.net/tutorial/radial_blur__rendering_to_a_texture/18004/ There are asm-file, cursor and exe-file in the attachment.
« Last Edit: July 05, 2020, 06:39:57 PM by Mikl__ »