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

HSE

  • Member
  • *****
  • Posts: 1379
  • <AMD>< 7-32>
Re: NeHe Tutorial in masm64
« Reply #30 on: August 21, 2020, 12:25:40 AM »
There is silence, like in a crematory. Are there really no questions or wishes?

From time to time I'm still fighting with firsts OpenGl examples  :biggrin: :biggrin: :biggrin:


Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #31 on: August 21, 2020, 03:04:33 PM »
Lesson #33: Loading Compressed and Uncompressed TGA's

In Lesson 24 NeHe showed a quick way to load uncompressed 24/32 bit TGA images. Very useful if you need to use an alpha channel and you don't mind the large size of an uncompressed TGA! In this tutorial, you will learn how to load both uncompressed and RLE compressed TGA images. The TGA Loading code and header files are seperate from the main project, and can easily be used in projects of your own! The demo is included only as an example! Don't expect eye popping graphics!

http://nehe.gamedev.net/tutorial/loading_compressed_and_uncompressed_tga%27s/22001/
« Last Edit: September 17, 2020, 12:32:57 PM by Mikl__ »

caballero

  • Member
  • *****
  • Posts: 1469
  • Matrix - Noah
    • abre ojos ensamblador
Re: NeHe Tutorial in masm64
« Reply #32 on: August 21, 2020, 06:22:23 PM »
Hello Mikl

I've had less free time than ever for some time, which is a good sign with the times living :eusa_dance:. In fact I only ran some of your first examples. When I have some spare time, I am currently interested in doing some raytracing and a database link program to help me with my job. I also played a bit from time to time to Sekiro  :toothy:. However, I would very much like to start reviewing your opengl examples and help, if I can, in some case  :thumbsup:.
The logic of the error is hidden among the most unexpected lines of the program

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #33 on: August 21, 2020, 08:24:12 PM »
Lesson #24: Tokens, Extensions, Scissor Testing and TGA Loading

In this lesson NeHe teaches how to read and parse what OpenGL extensions are supported by video card. NeHe shows how to use scissor testing to create a cool scrolling window effect. NeHe shows how to load and use TGA (targa) image files as textures in projects. TGA files support the alpha channel, allowing you to create some great blending effects, and they are easy to create and work with. Not only that, by using TGA files, you no longer depend on the glAUX library. Alot of you must appreciate it!

http://nehe.gamedev.net/tutorial/tokens_extensions_scissor_testing_and_tga_loading/19002/

Interaction:
  • "Arrow Up/Down"

Them more powerful your video card, the longer you get the list (see picture 24.jpg.zip)
« Last Edit: September 17, 2020, 10:15:52 PM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #34 on: August 24, 2020, 08:18:31 PM »
Lesson #22: Bump-Mapping, Multi-Texturing and Extensions
Right off the start NeHe'd like to point out that this is an advanced tutorial. If you're still uncertain about the basics, please go back and read the previous lessons. If you're a new GL programmer, this lesson may be a bit much. In this lesson, you will modify the code from lesson #6 to support hardware multi-texturing on cards that support it, along with a really cool visual effect called bump-mapping.

http://nehe.gamedev.net/tutorial/bump-mapping,_multi-texturing_&_extensions/16009/

There are asm\bmp\exe-files and cursor in 22.zip attachment.
Due to the forum limitation on the size of the attached file, I had to split the post into two posts. Therefore, the picture for lesson#22 is in the next message.
« Last Edit: August 28, 2020, 05:09:40 PM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #35 on: August 24, 2020, 08:19:46 PM »
Interaction:
  • "E/e": Toggle Emboss / Bumpmapped Mode
  • "M/m": Toggle Multitexturing
  • "B/b": Toggle Bumpmapping. This Is Mutually Exclusive With Emboss Mode
  • "F/f": Toggle Filters.
  • CURSOR-KEYS: Rotate The Cube
  • "Page Up/Down" for increases/decrease the variable z and moves the cube towards/away from the viewer
« Last Edit: August 27, 2020, 05:51:23 PM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #36 on: August 27, 2020, 12:24:13 AM »
Lesson #25: Morphing & Loading Objects From A File
Learn how to load simple objects from a text file, and morph smoothly from one object into another. The effect in this tutorial has to be seen to be appreciated. The effect taught in this demo can be used to animated objects similar to the swimming dolphin, or to twist and bend objects into many different shapes. You can also modify the code to use lines or solid polygons. Great effect!

http://nehe.gamedev.net/tutorial/morphing__loading_objects_from_a_file/16003/

There are asm\exe-files, cursor, tube.txt, torus.txt and sphere.txt in 25.zip attachment.

Interaction:
  • "1/2/3/4": Toggle figures (sphere, torus, tube, chaos)
  • Rotate and Move Figures
    • "Page Up/Down" - increase/decrease z-speed
    • "Down/Up Arrow" - increase/decrease x-speed
    • "Right/Left Arrow" - increase/decrease y-speed
    • "Q/q" - Move Object Away From Viewer
    • "Z/z" - Move Object Towards Viewer
    • "W/w" - Move Object Up
    • "S/s" - Move Object Down
    • "D/d" - Move Object Right
    • "A/a" - Move Object Left
« Last Edit: August 29, 2020, 04:02:34 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #37 on: August 28, 2020, 09:17:21 PM »
Lesson #29: Blitter Function, RAW Texture Loading
In this tutorial NeHe teaches how to load .RAW image files. NeHe teaches how to write your own blitter routine to modify textures after they have been loaded. You can copy sections of the first texture into a second texture, you can blend textures together, and you can stretch textures. The same routine can be modified to create realtime plasma and other cool effects!

http://nehe.gamedev.net/tutorial/blitter_function_raw_texture_loading/18006/

There are asm-\exe-\raw-files and cursor in 29.zip attachment.
« Last Edit: September 17, 2020, 12:43:28 PM by Mikl__ »

mabdelouahab

  • Member
  • ***
  • Posts: 454
Re: NeHe Tutorial in masm64
« Reply #38 on: August 29, 2020, 04:03:46 AM »

Mikl__, We are following, continued  :thumbsup:

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #39 on: September 09, 2020, 10:45:15 AM »
[delete]
« Last Edit: September 18, 2020, 10:53:59 AM by Mikl__ »

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #40 on: September 17, 2020, 11:15:47 AM »
[delete]
« Last Edit: September 18, 2020, 10:54:34 AM by Mikl__ »

jj2007

  • Member
  • *****
  • Posts: 10547
  • Assembler is fun ;-)
    • MasmBasic
Re: NeHe Tutorial in masm64
« Reply #41 on: September 17, 2020, 06:24:30 PM »
You are doing a terrific job, Mikl :thumbsup:

Mikl__

  • Member
  • *****
  • Posts: 1008
Re: NeHe Tutorial in masm64
« Reply #42 on: September 17, 2020, 07:34:54 PM »
Vielen Dank, jj2007!