News:

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

Main Menu

Caballero's drawer

Started by avcaballero, May 01, 2018, 05:49:40 AM

Previous topic - Next topic

daydreamer

my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

avcaballero

#76
This bulls**t is taking me talking to myself for a while, you see, it's a work in progress. No acelerated graphic card used, no opengl or directx, only gdi. If anyone want to test it and tell me, here it goes:

- You must unzip the three files in the same folder to execute it.
- Turn on the speakers and loud them, it worths.
- Some nice toys as lambert and environment mapping, etc.
- The best is that you can move freely the camera:
  * E: move forward +Z
  * D: move backward -Z
  * A: move up +Y
  * Z: move down -Y
  * Q: move to the left -X
  * W: move to the right +X
  * X: rotate to the left in the XZ plane
  * C: rotate to the right in the XZ plane
  * R: rotate up in the plane YZ
  * F: rotate down in the plane YZ
  * T: rotate to the left in the plane XY
  * Y: rotate to the right in the plane XY
 
Known bugs and todo list:
- I have to incorporate also this two files to the resource.
+ I have to incorporate the mouse and the cursor keys to move the camera (already done).
+ It increases the memory usage continuously, I have to fix it. Take care of it, nothing serious though, but don't take the program running for hours Already fixed :biggrin:.

Edited: In this version I have incorporated the mouse and the cursor keys. Same as the previous one, but with the mouse you can rotate left/right/up/down. With the left/right mouse button it will rotate left/right. Use the cursor buttons to move left/right/up/down. I have fixed the memory increasing too.

HSE

Equations in Assembly: SmplMath

Siekmanski

Nice, I like the colors of the Spherical Environment Mapping object very much.  8)
Creative coders use backward thinking techniques as a strategy.

daydreamer

my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

avcaballero

#80
Here is the version with the built-in mouse. Same as the previous one, but with the mouse you can rotate left/right/up/down. With the left/right mouse button it will rotate left/right. Use the cursor buttons to move left/right/up/down.

I have fixed the continuously memory increasing.
It will move according to how fast the mouse moves, so don't be rough. :biggrin:

I left it in the first post so as not to occupy unnecessary space.

avcaballero


HSE

Equations in Assembly: SmplMath

Siekmanski

Cool effect.
Which random routine did you use?
Creative coders use backward thinking techniques as a strategy.

FORTRANS

Hi,

   It ran on Windows 2000.  It ran faster on Windows XP.  The
near-field stars had some jitter or rough movement.  Overall
very nice though.

   It did not run on Windows 98, it raised an exception.

Regards,

Steve N.

avcaballero

Hello

@Marinus. The random function is the c standard, but only used at the definition of the cube of stars. The motion is just rotating and translating the objects.

@Steve. Thank you for testing. I think that the jitter is due to the speed to the rotation of the stars, more evident as closer to the camera, unless I am using at some point integers instead of floats. I wonder if the error raised in the W98 is due to the mod player. I attach a version without this player, if you could test it again in W98 and tell me how it worked. Thank you.

FORTRANS

Hi,

   Yes, that one runs on Win98.  Runs slower, obviously, but it
seemed smoother as well.  I got to notice some larger stars
that went by too quickly on the faster systems.  On exit it
throws an error.

This program has performed an illegal operation
and will be shut down.

ESTRELLA caused a stack fault in KERNEL32.DLL at
015f:bff742a3

{Corresponds to CS:EIP}

SS=0167
ESP=0094207c


HTH,

Steve N.

avcaballero

Hello, a tiny 3d bouncing ball

HSE

 :t

Can you draw the walls that constrain the ball? 
Equations in Assembly: SmplMath

Siekmanski

Creative coders use backward thinking techniques as a strategy.