News:

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

Main Menu

NeHe Tutorial in masm64

Started by Mikl__, August 06, 2020, 12:55:45 PM

Previous topic - Next topic

avcaballero

Quote from: Mikl__ on February 23, 2021, 12:08:17 AM
Perhaps began to forget about me? I rewrote yet more NeHe's lesson

:biggrin: :thumbsup:

TouEnMasm

Fa is a musical note to play with CL

Mikl__

#77
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

TouEnMasm


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__

#79
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

Mikl__

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

Looks good :thumbsup:

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

Mikl__

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


six_L

Hi,Mikl__
the tur 46 exe works fine here.
:thumbsup:
Say you, Say me, Say the codes together for ever.

TouEnMasm

OH,
The 46 must be the first who work with windows 10.
:thumbsup:
Fa is a musical note to play with CL

jj2007

Quote from: TouEnMasm on February 27, 2021, 08:02:51 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

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__

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

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