Author Topic: NeHe Tutorial in masm64  (Read 25327 times)

caballero

  • Member
  • *****
  • Posts: 1698
  • Matrix - Noah
    • abre ojos ensamblador
Re: NeHe Tutorial in masm64
« Reply #75 on: February 23, 2021, 05:49:37 AM »
Perhaps began to forget about me? I rewrote yet more NeHe's lesson

 :biggrin: :thumbsup:
The logic of the error is hidden among the most unexpected lines of the program

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #76 on: February 23, 2021, 08:08:59 PM »
Find the nehe tutorial in masm32 (1 to 22 + 36) here https://github.com/gamedev-net/nehe-opengl

Fa is a musical note to play with CL

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #77 on: February 23, 2021, 11:49:04 PM »
Salut Yves!
Il n'y a pas assez de NeHe leçons 30-31, 39-40, 43 pour la collection complète. Leçons 1-29, 32-38, 41-42, 44-48 J'ai déjà traduit en masm64 et posté dans ce fil
« Last Edit: March 06, 2021, 06:08:37 PM by Mikl__ »

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #78 on: February 24, 2021, 02:37:58 AM »

Ok,
the link you have given in the upper post link to the forum Nehe who link to all lesson.
The vc lesson will perhaps satisfy windows 10
Fa is a musical note to play with CL

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #79 on: February 24, 2021, 12:38:47 PM »
Lesson #47: CG Vertex Shader
Using vertex and fragment (or pixel) shaders to do some rendering dirty work can have numerous benefits. The most obvious is the movement of some of the graphics related CPU load off the CPU and onto the GPU. Cg provides a (reasonably) simple language for writing very powerful shaders. This tutorial has multiple aims. The first is to present a simple vertex shader that actually does something, without introducing unnecessary lighting etc… The second is to provide the basic mechanism for running the vertex shader with visible results using OpenGL. As such, it is aimed at the beginner interested in Cg who has a little experience in OpenGL.

http://nehe.gamedev.net/tutorial/cg_vertex_shader/25002/

There are asm-\inc-\def-\dll-\lib-\txt-\exe-files and cursor in the 47.zip attachment.

P.S.Size of attachment is 2.5 Mb, so 47.zip link leads to the site wasm.in
« Last Edit: February 24, 2021, 02:36:47 PM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #80 on: February 27, 2021, 01:11:50 AM »
Lesson #46: Fullscreen AntiAliasing
Need a tutorial that will make your OpenGL applications look better? A big problem we all run into is aliasing. That is, the square edged "jaggies" that exist on diagonal lines in relation to the square pixels that exist on your screen. In this tutorial you will use Anti-Aliasing to smudge those "jaggies" in order to create a smoother edge for objects. We achieve this through "Multisampling". Fullscreen AntiAliasing is something that non-realtime rendering programs have always had an advantage in. However, with current hardware, we're able to pull off the same effect real time. The ARB_MULTISAMPLE extension allows us to do this. Like any other Extension based tutorial, if your card does not support the extension used, the effect will not work on your machine or the program may fail to run.

https://nehe.gamedev.net/tutorial/fullscreen_antialiasing/16008/

There are asm-\exe-files and cursor in the 46.zip attachment.

jj2007

  • Member
  • *****
  • Posts: 11783
  • Assembler is fun ;-)
    • MasmBasic
Re: NeHe Tutorial in masm64
« Reply #81 on: February 27, 2021, 01:18:58 AM »
Looks good :thumbsup:

This is how it looks here - does it mean that my graphics card doesn't support it?

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #82 on: February 27, 2021, 01:32:12 AM »
Hi, Jochen!
this tutorial only runs on video cards that support the "WGL_ARB_multisample" extension. If you are not sure if you care supports this extension, download lesson #24 and scroll through the list of supported extensions

jj2007

  • Member
  • *****
  • Posts: 11783
  • Assembler is fun ;-)
    • MasmBasic
Re: NeHe Tutorial in masm64
« Reply #83 on: February 27, 2021, 02:22:59 AM »
Apparently not...

six_L

  • Member
  • **
  • Posts: 229
Re: NeHe Tutorial in masm64
« Reply #84 on: February 27, 2021, 06:19:32 AM »
Hi,Mikl__
the tur 46 exe works fine here.
:thumbsup:
Say you, Say me, Say the codes together for ever.

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #85 on: February 27, 2021, 08:02:51 PM »
OH,
The 46 must be the first who work with windows 10.
 :thumbsup:
Fa is a musical note to play with CL

jj2007

  • Member
  • *****
  • Posts: 11783
  • Assembler is fun ;-)
    • MasmBasic
Re: NeHe Tutorial in masm64
« Reply #86 on: February 27, 2021, 08:05:27 PM »
OH,
The 46 must be the first who work with windows 10.
 :thumbsup:

It works with Win7-64, too, but the lines remain ragged, see above. Could be a hardware issue, though.

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #87 on: February 27, 2021, 08:44:05 PM »
Quote
It works with Win7-64, too, but the lines remain ragged, see above. Could be a hardware issue, though.
I have the complete collection in C.
this one don't need the old lib glaux.lib who had disappeared in win 10.


Fa is a musical note to play with CL

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #88 on: February 27, 2021, 10:18:51 PM »
I wrote programs under Windows seven x64. If I understood you correctly, not all my programs work under Windows 10. Now I have a laptop with Windows 10 and I can run the NeHe lessons and remake the programs so that they work under Windows 10.

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #89 on: February 28, 2021, 03:21:10 AM »
Quote
ModLoad: 00000000`49e00000 00000000`49e12000   C:\WINDOWS\SYSTEM32\UMPDC.dll
(f78.2cfc): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** WARNING: Unable to verify checksum for C:\Users\luce\Downloads\tut_40-45.exe
KERNELBASE!ReadFile+0xaf:
00000000`0069380f 49c70603010000  mov     qword ptr [r14],103h ds:00000000`00000001=????????????????
and so on.
Quote
System Information
------------------
      Time of this report: 2/27/2021, 17:21:55
             Machine name: HERISSON
               Machine Id: {B5C1621D-0617-48B9-898B-C0F67777DFE9}
         Operating System: Windows 10 Famille 64-bit (10.0, Build 19042) (19041.vb_release.191206-1406)
                 Language: French (Regional Setting: French)
      System Manufacturer: essentielb
             System Model: Smart'DESK series
                     BIOS: H81EM2ES8.304 (type: UEFI)
                Processor: Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz (4 CPUs), ~3.5GHz
                   Memory: 4096MB RAM
      Available OS Memory: 4014MB RAM
                Page File: 3146MB used, 5219MB available
              Windows Dir: C:\WINDOWS
          DirectX Version: DirectX 12
      DX Setup Parameters: Not found
         User DPI Setting: 96 DPI (100 percent)
       System DPI Setting: 96 DPI (100 percent)
          DWM DPI Scaling: Disabled
                 Miracast: Available, with HDCP
Microsoft Graphics Hybrid: Not Supported
 DirectX Database Version: 1.0.8
           DxDiag Version: 10.00.19041.0546 64bit Unicode

------------
DxDiag Notes
------------
      Display Tab 1: No problems found.
        Sound Tab 1: No problems found.
        Sound Tab 2: No problems found.
          Input Tab: No problems found.


Quote
(141c.3120): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** WARNING: Unable to verify checksum for C:\Users\luce\Downloads\07\tut_40-07.exe
KERNELBASE!ReadFile+0xaf:
00000000`006a380f 49c70603010000  mov     qword ptr [r14],103h ds:00000000`00000001=????????????????

Quote
(3cb8.1820): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** WARNING: Unable to verify checksum for C:\Users\luce\Downloads\21\tut_40-21.exe
KERNELBASE!ReadFile+0xaf:
00000000`0068380f 49c70603010000  mov     qword ptr [r14],103h ds:00000000`00000001=????????????????

I run the exe in the downloaded directory with all the files needed

Fa is a musical note to play with CL