Fire anim...

Share your advanced PureBasic knowledge/code with the community.
User avatar
Caronte3D
Addict
Addict
Posts: 1362
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Fire anim...

Post by Caronte3D »

updateFloor(0, @drawAdditivePixel(), 0.0, 0.0, 1.0, 1.0, RGB(2, 0, 1) << 32 | RGB(8, 8, 8 ), 1 << 15)

and

updateFloor(0, @drawAdditivePixel(), 0.0, 0.0, 1.0, 1.0, RGB(0, 0, 0) << 32 | RGB(1, 1, 1), 1 << 16)

Show the error I was posted above because the "<<32"
User avatar
Caronte3D
Addict
Addict
Posts: 1362
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Fire anim...

Post by Caronte3D »

BarryG wrote: Sun Sep 18, 2022 2:22 am
Caronte3D wrote: Fri Aug 05, 2022 7:40 amI was an Amiga Scene coder 30 years ago
Any way we can see some of your work? Maybe a YouTube video; or even better, an ADF file? Would love to see it.
Sorry, I don't have any code from that age :?

I searched on YouTube but only found two things (none was uploaded by me):
1.- Alan Uno, a natural language AI program (Spanish only) https://www.youtube.com/watch?v=R4N75l3 ... enymetanol
2.- Very bad and short intro (war between groups) on the time when a cube with 48 faces was dificult :D https://www.youtube.com/watch?v=tfl5LHT ... el=anouk33
Olli
Addict
Addict
Posts: 1241
Joined: Wed May 27, 2020 12:26 pm

Re: Fire anim...

Post by Olli »

Hi caronte3d,

1st, very good the 2 clips. Futurist. I did not ask you to show us, knowing the time takes it all : what it belongs to you, and what the people of now are not easily able to realize, through the technical context in the past.

2nd, for the shift error, test just LSQ() and RSQ() procedures that I gave on bottom of my last message.
Also if...

Code: Select all

a.q & b.q
is ok, then no problem to delete the last errors you mention.

x.q << 32 is unable on x86 and might be replaced with :

Code: Select all

x.q = LSQ(x, 32)
And 32 is the right shift value. If I ve time, I ll try to find the x86 compiler version to give a final version.
Post Reply