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

caballero

  • Member
  • *****
  • Posts: 1616
  • Matrix - Noah
    • abre ojos ensamblador
Re: NeHe Tutorial in masm64
« Reply #120 on: March 12, 2021, 06:25:39 AM »
32.- After a while playing with it, it hangs up and disappears suddenly
35.- Doesn' work
37.- It works ok to me
The logic of the error is hidden among the most unexpected lines of the program

FORTRANS

  • Member
  • *****
  • Posts: 1109
Re: NeHe Tutorial in masm64
« Reply #121 on: March 13, 2021, 01:41:46 AM »
Hi,

   Number 24 does not work for me.  A warning
about executing it and then nothing.  Windows 8.1
and 10.

Steve

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #122 on: April 06, 2021, 02:47:23 PM »
Lesson #31: Model Loading

This tutorial will teach you how to load in and display texture mapped Milkshape3D models. This tutorial is quite advanced so make sure you understand the previous lessons before you attempt the code in this tutorial.
http://nehe.gamedev.net/tutorial/model_loading/16004/

There are asm\exe-files, data folder with wood.bmp and model.ms3d files and cursor in the attachment.
« Last Edit: April 08, 2021, 08:48:18 AM by Mikl__ »

caballero

  • Member
  • *****
  • Posts: 1616
  • Matrix - Noah
    • abre ojos ensamblador
Re: NeHe Tutorial in masm64
« Reply #123 on: April 06, 2021, 06:38:05 PM »
Hi, Mikl, works fine here  :thumbsup:
The logic of the error is hidden among the most unexpected lines of the program

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #124 on: April 10, 2021, 09:19:41 AM »
Not interested? You'll write about it, please

jj2007

  • Member
  • *****
  • Posts: 11550
  • Assembler is fun ;-)
    • MasmBasic
Re: NeHe Tutorial in masm64
« Reply #125 on: April 10, 2021, 09:24:33 AM »
Not interested? You'll write about it, please

Dear Mikl,

What you are doing is fantastic :thumbsup:

There are two main reasons why people don't answer your posts:
1. Busy chasing their bugs :sad:
2. They have no hope to catch up with you :tongue:

(I plead guilty for 1+2)

Keep up the good work, we are watching in awe :thumbsup:

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #126 on: April 23, 2021, 05:57:30 PM »
Quote
35 can't work
Hi, All!
Is there the file movie0.avi in the same folder as the file tut_40-35.exe?
« Last Edit: April 25, 2021, 09:32:50 AM by Mikl__ »

HSE

  • Member
  • *****
  • Posts: 1741
  • <AMD>< 7-32>
Re: NeHe Tutorial in masm64
« Reply #127 on: April 26, 2021, 08:34:33 AM »
Hi Mikl__!

Binary work perfectly here in Win7  :thumbsup:

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #128 on: April 26, 2021, 05:10:07 PM »
Hi, HSE!
I checked tut_40-35.exe in Win7 and Win10, the program worked in both. But the rest are silent and I do not know whether the program works for them or does not work

caballero

  • Member
  • *****
  • Posts: 1616
  • Matrix - Noah
    • abre ojos ensamblador
Re: NeHe Tutorial in masm64
« Reply #129 on: April 26, 2021, 05:26:50 PM »
tut_40-35 seems that doesn't work to me. I put "movie0.avi" in the same folder, execute it, and appears a black window that close and dissapears. W10.
The logic of the error is hidden among the most unexpected lines of the program

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #130 on: July 03, 2021, 08:39:05 AM »
Hello, All!
Can anyone please help me? I need a exe-file from NeHe 30th lesson compiled in x64 mode, best with optimization off.
Thank you so much for your support!

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #131 on: July 04, 2021, 05:11:35 PM »
Hello,
This one resist a little.
I get  VS2019 using the C:\WinDDK\7600.16385.1\lib\win7\amd64:
Quote
3 externes not solved
Erreur   LNK2001   symbole externe non résolu _Init_thread_epoch   NeheLesson30   H:\VC_directory\vc_nehe_lesson\Lesson30\Lesson30.obj   1   
Erreur   LNK2019   symbole externe non résolu _Init_thread_footer référencé dans la fonction "int __cdecl CreateGLWindow(char *,int,int,int,int)" ..
Erreur   LNK2019   symbole externe non résolu _Init_thread_header référencé dans la fonction "int __cdecl CreateGLWindow(char *,int,int,int,int)" (?
CreateGLWindow@@YAHPEADHHHH@Z)   NeheLesson30   H:\VC_directory\vc_nehe_lesson\Lesson30\Lesson30.obj   1   


Help to find those ones is needed


Fa is a musical note to play with CL

TimoVJL

  • Member
  • ****
  • Posts: 723
Re: NeHe Tutorial in masm64
« Reply #132 on: July 04, 2021, 06:01:42 PM »
Here is asm-files generated with msvc 2013
« Last Edit: July 04, 2021, 08:55:31 PM by TimoVJL »
May the source be with you

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #133 on: July 04, 2021, 11:53:58 PM »
Friends, thank you so much!
Timo, kiitos paljon!

Mikl__

  • Member
  • *****
  • Posts: 1133
Re: NeHe Tutorial in masm64
« Reply #134 on: July 11, 2021, 12:12:48 PM »
Lesson #30: Collision Detection

In this tutorial you will learn the basics of collision detection, collision response, and physically based modelling effects. This tutorial concentrates more on how collision detection works than on the actual code, although all of the important code is explained. It's important to note, this is an ADVANCED tutorial. Don't expect to read through the tutorial once and understand everything about collision detection. It's a complex topic, and this tutorial will only get you started.

https://nehe.gamedev.net/tutorial/collision_detection/17005/

There are asm\bmp\exe-files and cursor in the attachment

Interaction:
  • pressing "Arrow Up/Down" ― increases/decrease the z-variable and moves the room towards/away from the viewer
  • pressing "Arrow Left/Right" ― room rotation to the left/right
  • pressing F2 ― toggle on/off sound
  • pressing F3 ― the camera view changes and a (the ball with index 0 in the array) ball is followed. For making the camera following the ball we used its position and velocity vector to position the camera exactly behind the ball and make it look along the velocity vector of the ball.
  • pressing "+"/"-" key on the numeric keypad ― increase/decrease balls speed

« Last Edit: August 01, 2021, 08:15:45 AM by Mikl__ »