News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

NeHe Tutorial in masm64

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

Previous topic - Next topic

avcaballero

32.- After a while playing with it, it hangs up and disappears suddenly
35.- Doesn' work
37.- It works ok to me

FORTRANS

Hi,

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

Steve

Mikl__

#122
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.

avcaballero

Hi, Mikl, works fine here  :thumbsup:

Mikl__

Not interested? You'll write about it, please

jj2007

Quote from: Mikl__ on April 10, 2021, 09:19:41 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__

#126
Quote35 can't work
Hi, All!
Is there the file movie0.avi in the same folder as the file tut_40-35.exe?

HSE

Hi Mikl__!

Binary work perfectly here in Win7  :thumbsup:
Equations in Assembly: SmplMath

Mikl__

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

avcaballero

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.

Mikl__

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

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

#132
Here is asm-files generated with msvc 2013
May the source be with you

Mikl__

Friends, thank you so much!
Timo, kiitos paljon!

Mikl__

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