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

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #60 on: October 22, 2020, 09:55:23 PM »
[delete]
« Last Edit: February 24, 2021, 02:23:02 PM by Mikl__ »

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #61 on: October 22, 2020, 11:56:27 PM »

It seems they are numerous nehe tutorials,the one i download:
https://github.com/superipey/NeHe-Tutorial
my goal is to find tutorials that can be recompiled with VS2019 and run in windows 10
The 21 is one of them in 32 bits with restriction.
Fa is a musical note to play with CL

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #62 on: October 23, 2020, 12:32:24 AM »
[delete]
« Last Edit: February 24, 2021, 02:23:21 PM by Mikl__ »

HSE

  • Member
  • *****
  • Posts: 1740
  • <AMD>< 7-32>
Re: NeHe Tutorial in masm64
« Reply #63 on: October 23, 2020, 07:44:23 AM »
Hi Mikl!

I used your translation of Iczelion Tut 2. Look like the linker fail to find libraries, if I copy the libraries and stubby to the same directory that contain the source file there is no problem. Strange thing is, that same linker don't have problems with Hutch's package. I have to see better. 

mineiro

  • Member
  • ****
  • Posts: 719
Re: NeHe Tutorial in masm64
« Reply #64 on: October 23, 2020, 10:39:58 AM »
hello sir HSE;
You can try check PATH variable for your include folder;
echo %PATH%
so, append a path folder to that to be visible to system
set PATH=%PATH%;z:\some_dir\include;z:\other_dir\lib
Not sure today, I put that in autoexec.bat file in older days.
I'd rather be this ambulant metamorphosis than to have that old opinion about everything

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #65 on: October 23, 2020, 11:25:18 AM »
[delete]
« Last Edit: February 24, 2021, 02:23:42 PM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #66 on: October 23, 2020, 04:19:33 PM »
[delete]
« Last Edit: February 24, 2021, 02:23:58 PM by Mikl__ »

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #67 on: October 23, 2020, 06:07:13 PM »

The nehe C++ lesson have a problem,they work only under ....Visual Studio (Initialisation failed).
A good sample in 64 bit is the MSDN one,I put it here.
Fa is a musical note to play with CL

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #68 on: October 24, 2020, 12:33:19 AM »

Soluce complete for the lesson21 in Windows 10 and 64 bits.
The attachment had the SOIL(soilmaster) lib in 64 bits (build in VS2019 windows 10).
Fa is a musical note to play with CL

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #69 on: October 24, 2020, 01:16:37 AM »
Lesson #48: ArcBall Rotation

Wouldn’t it be great to rotate your model at will, just by using the mouse? With an ArcBall you can do just that. In this tutorial we will touch on his implementation and considerations for adding ArcBall rotation to your own projects. His implementation of the ArcBall class is based on Bretton Wade’s, which is based on Ken Shoemake’s from the Graphic Gems series of books. However, his version has some bug fixing and optimizations. The example code was originally based on lesson 5. It has been spruced up a bit, and now includes code to render a torus, complete with normals.

http://nehe.gamedev.net/tutorial/arcball_rotation/19003/

Interaction:
  • right click ― return to the previous state of the object
  • mouse movement while holding down the left key ― rotation of objects following the cursor
There are asm\exe-files and cursor in the 48.zip attachment.
« Last Edit: November 08, 2020, 04:01:33 PM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #70 on: October 24, 2020, 04:09:36 PM »
[delete]
« Last Edit: February 24, 2021, 02:24:21 PM by Mikl__ »

jj2007

  • Member
  • *****
  • Posts: 11549
  • Assembler is fun ;-)
    • MasmBasic
Re: NeHe Tutorial in masm64
« Reply #71 on: October 24, 2020, 08:10:48 PM »
In the name of everybody: thank you, Mikl, for these tutorials - they will become a reference for graphics assembly :thumbsup:

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #72 on: November 08, 2020, 01:16:18 PM »
[delete]
« Last Edit: February 24, 2021, 02:24:37 PM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #73 on: January 27, 2021, 02:26:42 PM »
Lesson #41: Volumetric Fog and IPicture Image Loading.
Road to Hell is Paved with Good Intentions

This tutorial will introduce you to the world of extensions. In this tutorial you will learn how to create Volumetric Fog using the glFogCoordf Extension. You will also learn how the IPicture code works, and how to use it in projects of your own. Because of very limited free time, the demo is not all that complex. The only keys used in this demo are the up and down arrow keys. The only effect displayed in this demo is volumetric fog. Keeping that in mind, the fog effect is extremely cool, and the tutorial is very detailed. After reading through this tutorial you should have no problem adding volumetric fog to demos of your own. It's important to note that this tutorial only runs on video cards that support the EXT_fog_coord extension. If you are not sure if you care supports this extension, download lesson #24 and scroll through the list of supported extensions. Hopefully someone will find this code useful!

http://nehe.gamedev.net/tutorial/volumetric_fog__ipicture_image_loading/18007/

There are asm\exe-files and cursor in the 41.zip attachment.
« Last Edit: January 29, 2021, 09:54:28 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #74 on: February 23, 2021, 12:08:17 AM »
Lesson #27: Shadows
This is an advanced tutorial. Before you decide to try out shadows, make sure you completely understand the base code, and make sure you are familiar with the stencil buffer. The effect is amazing! Shadows that actual wrap around objects, and distort on the walls and floor.

https://nehe.gamedev.net/tutorial/shadows/16010/

Interaction:
  • 'Arrow Left' Decrease yspeed
  • 'Arrow Right' Increase yspeed
  • 'Arrow Up' Decrease xspeed
  • 'Arrow Down' Increase xspeed
  • 'L' Moves Light Right
  • 'J' Moves Light Left
  • 'I' Moves Light Up
  • 'K' Moves Light Down
  • 'O' Moves Light Toward Viewer
  • 'U' Moves Light Away From Viewer
  • 'Numpad6' Move Object Right
  • 'Numpad4' move object Left
  • 'Numpad8' Move Object Up
  • 'Numpad5' Move Object Down
  • 'Numpad9' Move Object Toward Viewer
  • 'Numpad7' move Object away from viewer
  • 'D' move sphere Right
  • 'A' move sphere Left
  • 'W' move sphere Up
  • 'S' move sphere Down
  • 'E' move sphere toward viewer
  • 'Q' move sphere away from viewer
There are asm\exe-files, Object2.txt and cursor in the 27.zip attachment.
« Last Edit: February 24, 2021, 02:25:00 PM by Mikl__ »