Author Topic: OpenGL in masm64  (Read 6182 times)

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #60 on: May 14, 2020, 12:50:19 PM »
Based on "Hidden Lines" by Franck Charlet. Rotating cubic structure. There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:47:21 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #61 on: May 15, 2020, 10:49:41 PM »
This program draws a NURBS surface in the shape of a symmetrical hill.  The 'c' keyboard key allows you to toggle the visibility of the control points themselves. Note that some of the control points are hidden by the surface itself. A prototype is surface.c  from https://www.opengl.org/archives/resources/code/samples/redbook/ There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:47:01 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #62 on: May 15, 2020, 10:54:03 PM »
This program draws a NURBS surface in the shape of a symmetrical hill, using both a NURBS curve and pwl (piecewise linear) curve to trim part of the surface. A prototype is trim.c from https://www.opengl.org/archives/resources/code/samples/redbook/ There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:46:49 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #63 on: May 16, 2020, 02:42:45 PM »
Draws the bitmapped letter F on the screen (several times). This demonstrates use of the glBitmap() call  A prototype is drawf.c from https://www.opengl.org/archives/resources/code/samples/redbook/ There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:46:36 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #64 on: May 16, 2020, 02:47:20 PM »
Based on "Text 2D" by Franck Charlet. There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:46:25 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #65 on: May 16, 2020, 02:54:02 PM »
Based on "Text 3D" by Franck Charlet. There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:46:12 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #66 on: May 17, 2020, 01:45:14 AM »
 "Text 3D". A rewrited example from the "FASM OpenGL tutorial from Tyler Durden". There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:45:56 AM by Mikl__ »

caballero

  • Member
  • *****
  • Posts: 1468
  • Matrix - Noah
    • abre ojos ensamblador
Re: OpenGL in masm64
« Reply #67 on: May 17, 2020, 02:24:24 AM »
Good samples, Mikl  :thumbsup:. I have tried to find the Tyler Durden's OpenGL tuto, but no success. It seems that the original site is down, do you have any working link?
The logic of the error is hidden among the most unexpected lines of the program

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #68 on: May 17, 2020, 02:28:23 AM »
Buenas tardes Alfonso!
I have a copy of this tutor in Russian

caballero

  • Member
  • *****
  • Posts: 1468
  • Matrix - Noah
    • abre ojos ensamblador
Re: OpenGL in masm64
« Reply #69 on: May 17, 2020, 02:32:37 AM »
Oh, great, and if it is in Russian, even better  :thumbsup: Just need a link  :biggrin:
The logic of the error is hidden among the most unexpected lines of the program

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #70 on: May 17, 2020, 02:37:58 AM »
now I have a deep night, morning I will collect html-files and lay out this tutor in this topic
¡Encontró! Enlace al libro de texto del Tyler Durden
http://www.comprog.ru/OpenGL/article_4172.htm
« Last Edit: May 17, 2020, 08:15:02 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #71 on: May 17, 2020, 01:25:07 PM »
Release the Kraken
A rewrited example 1k_tentacle from the http://www.pouet.net/prod.php?which=20203 There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:45:31 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #72 on: May 20, 2020, 10:07:08 PM »
Rotating primitives, based on "Lists and GLU Primitives" by Franck Charlet. There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:45:13 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #73 on: May 20, 2020, 11:07:23 PM »
Torus. Rotate about x-axis when "x" or "X" typed; rotate about y-axis when "y" or "Y" typed; "i" or "I" returns torus to original view. A prototype is torus.c from https://www.opengl.org/archives/resources/code/samples/redbook/ There are asm-file, cursor and exe-file in the attachment.
« Last Edit: May 21, 2020, 11:44:59 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: OpenGL in masm64
« Reply #74 on: May 21, 2020, 11:27:17 AM »
Converted example from the tutorial Igor Tarasov "OpenGL Fundamentals" stencil.c There are asm-file, cursor and exe-file in the attachment.