Author Topic: Strange phenomena  (Read 3970 times)

jj2007

  • Member
  • *****
  • Posts: 8841
  • Assembler is fun ;-)
    • MasmBasic
Re: Strange phenomena
« Reply #15 on: January 11, 2018, 06:58:33 PM »
Sources are not a big problem imho, the relevant ones among my 5k *.asc files fit into a 2MB archive (the whole MasmBasic source fits into 300k). It's photos and videos that require more sophisticated archiving efforts.

What is important, though, is to prevent unpleasant surprises: Imagine you save source xyz.asm to three USB sticks, every day. Then you discover that it was a corrupt file. Arrrgggh... better to save it only once a week, and only to one of the three USB sticks.

Then some idiot enters your house and steals your wife's jewelry. And all three USB sticks... for that reason, my sticks are distributed to my wallet (may get stolen), some hidden place in the house (may burn down), the car (may get stolen). And occasionally, I sent a copy of my recent sources archive to my own mailbox (won't get stolen, but I may lose access if I am stupid enough).

AW

  • Member
  • *****
  • Posts: 1564
  • Let's Make ASM Great Again!
Re: Strange phenomena
« Reply #16 on: January 11, 2018, 08:23:23 PM »
mega.nz offsers 50GB of free cloud space. It is a great option also.

GoneFishing

  • Member
  • *****
  • Posts: 1056
  • Gone fishing
Re: Strange phenomena
« Reply #17 on: January 11, 2018, 10:45:38 PM »
Sorry to hear it. I hope you will re-write your shader code and post it here.



 
 

daydreamer

  • Member
  • ****
  • Posts: 557
  • reach for the stars
Re: Strange phenomena
« Reply #18 on: January 11, 2018, 11:42:10 PM »
I just had a strange phenomena while coding pixelshaders.
My computer did a reset while building the pixelshader code in the RadAsm version 2.2.1.2 editor.

The main source file is filled with zeros and also the 9 backup source files in the BAK map are all filled with zeros.????
Strange that the backup main asm sources are wiped out????
Also in the lost source files, and lost, alI the gathered info and links about pixelshaders.

So I lost 3 weeks of coding work, hope I can remember what I wrote and start over....

I'm assuming there is no way to recover my lost code?

I'm totally pissed @@#$%!*!??  :eusa_boohoo:
hope you solve it, I lost stuff too when it was a severe storm and I Always try to Think about the "if you kick down an anthill, they rebuilt it better and stronger, so can you" positive thinking
does it help if you get a hold of your previous posted old d3d9 stufff?
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

Siekmanski

  • Member
  • *****
  • Posts: 1684
Re: Strange phenomena
« Reply #19 on: January 12, 2018, 12:27:28 AM »
Pixel shader example.

The shader is precompiled and runs without the directX9 wrapper lib.
GLSL Shader code translated to Direct3D9 shader code from this example:

Another Kaliset Mod https://www.shadertoy.com/view/Xls3z2
Creative coders use backward thinking techniques as a strategy.

caballero

  • Member
  • *****
  • Posts: 1099
    • abre ojos ensamblador
Re: Strange phenomena
« Reply #20 on: January 12, 2018, 12:40:50 AM »
Really impressive, Siekmanski :t
En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -

daydreamer

  • Member
  • ****
  • Posts: 557
  • reach for the stars
Re: Strange phenomena
« Reply #21 on: January 12, 2018, 12:54:19 AM »
really impressive :t
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

jj2007

  • Member
  • *****
  • Posts: 8841
  • Assembler is fun ;-)
    • MasmBasic
Re: Strange phenomena
« Reply #22 on: January 12, 2018, 01:13:33 AM »
You are The Champion, Marinus :t

Siekmanski

  • Member
  • *****
  • Posts: 1684
Re: Strange phenomena
« Reply #23 on: January 12, 2018, 01:43:59 AM »
Another one.

A 3D transforming Mandelbulb.  :biggrin:
Creative coders use backward thinking techniques as a strategy.

caballero

  • Member
  • *****
  • Posts: 1099
    • abre ojos ensamblador
Re: Strange phenomena
« Reply #24 on: January 12, 2018, 01:52:45 AM »
Shaders are the future :t
En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -

HSE

  • Member
  • ****
  • Posts: 844
  • <AMD>< 7-32>
Re: Strange phenomena
« Reply #25 on: January 12, 2018, 11:41:40 AM »
Ja, ja (What can I say?)  :t

felipe

  • Member
  • ****
  • Posts: 970
  • Eagles are just great!
Re: Strange phenomena
« Reply #26 on: January 12, 2018, 11:52:39 AM »
 :greenclp:
Felipe.

felipe

  • Member
  • ****
  • Posts: 970
  • Eagles are just great!
Re: Strange phenomena
« Reply #27 on: January 12, 2018, 11:54:19 AM »
Man this great work should be posted in other place than the colosseum. Maybe the lab  :bgrin:
Felipe.

Siekmanski

  • Member
  • *****
  • Posts: 1684
Re: Strange phenomena
« Reply #28 on: January 12, 2018, 12:58:51 PM »
The examples are translations of the shadertoy examples, so the credits must go to the guys who wrote the GLSL originals.

I will post the code how to do this kind of stuff if some of you are interested.
At this time the code isn't finished yet to be used in a convenient way.
Now I use 3 steps.

1) a source file to write the HLSL pixel shader code and compile it.
2) a source file to dump the shader code as an include file.
3) the final source file creates the actual Direct3D9 pixel shader stuff as posted here.
Creative coders use backward thinking techniques as a strategy.

caballero

  • Member
  • *****
  • Posts: 1099
    • abre ojos ensamblador
Re: Strange phenomena
« Reply #29 on: January 12, 2018, 07:05:27 PM »
source code, if free of charge, is always welcome :biggrin:
En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -