News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

OpenGL in masm64

Started by Mikl__, May 02, 2020, 05:08:37 PM

Previous topic - Next topic

Mikl__

#120
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).

Mikl__

#121
[delete]

jj2007

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__

#123
QuoteBtw 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

Siekmanski

Works perfect on my PC, very smooth color transition.  :thumbsup:
Creative coders use backward thinking techniques as a strategy.

Mikl__

#125
Hallo, Siekmanski!
Dank je voor het antwoord!

Mikl__

#126
QuoteDen 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.

Mikl__

#127
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.

Mikl__

#128
The gift for Stive Hutchinson to 72-nd birthday (better late than never)
Converted example from https://nehe.gamedev.net/tutorial/flag_effect_(waving_texture)/16002/ There are asm/bmp/exe-files and cursor in the attachment.
P.S. Sorry, the bmp-file was missing in the attachment, I had to redo it

Mikl__

Converted example from https://nehe.gamedev.net/tutorial/moving_bitmaps_in_3d_space/17001/ There are asm-\bmp-\exe-files and  cursor in the attachment.

Mikl__

#130
This program demonstrates drawing pixels and shows the effect of glDrawPixels(), glCopyPixels(), and glPixelZoom().
Interaction:
  • moving the mouse while pressing the mouse button will copy the image in the lower-left corner of the window to the mouse position, using the current pixel zoom factors. There is no attempt to prevent you from drawing over the original image.
  • pressing the 'r' or 'R' key ― the original image and zoom factors are reset
  • pressing the 'z' or 'Z' keys ― you change the zoom factors
A prototype is image.c from https://www.opengl.org/archives/resources/code/samples/redbook/ There are asm-\exe-files and cursor in the attachment.

Mikl__

A prototype is "Move Original" by Franck Charlet. There are asm-\exe-files and  cursor in the attachment.

Mikl__

A prototype is "Infinite Light" by Franck Charlet. There are asm-\exe-files and  cursor in the attachment.

Mikl__

A prototype is "Light and Colored Texture" by Franck Charlet. There are asm-\exe-\bmp-files and  cursor in the attachment.

Mikl__

A prototype is "Texture Matrix" by Franck Charlet. There are asm-\exe-\bmp-files and  cursor in the attachment.