Author Topic: W-H-I-Y-L - boom shake-shake shake the-room.  (Read 3685868 times)

0 Members and 25 Guests are viewing this topic.

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
turns out my rasterizer failed horribly because of a 'convenience' call i wrote, which was meant as a go between between floating point z values and 20.12 fixed point values i was using in the z buffer. i thought it would be a good idea to clip the resulting value to a range that could be represented by a pixel in the z buffer. this call was used in my draw triangle function to pass the z depth to the integer based scan line function. needless to say the value was being shifted out of the neccisary range.

anyway rasterizer is still kind of messy but at least im on the right track. im blaming floating point precision here. the arm fpu isnt as predictable or precise as the one on a pc. i figure some fixed point math otta fix that up.


z buffer looks kinda wonky. its a straight 32 bit dump. didnt want to learn a format for 32 bit grayscale, so i just casted rgba to Uint32 and wrote it to a 32 bit targa. i want to say the far away stuff is red, close in stuff was in the alpha channel (i just added it on top of the rest in photoshop). idk, i wish i could analyse it better without shifting off 24 bits of accuracy.

i need a model that isnt all white to put the z buffer throught its paces. this pyro model was selected because i was to lazy to texture it and so instead colorized it. i saved it as obj with materials to export the material groups. then added parsing for the materials tags. this should allow me to build a crude material library and assign each one a different color. then have the renderer automatically change the colors as the object is being rendered.
« Last Edit: August 21, 2014, 06:37:19 am by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline deathfun

  • 210
  • Hey man. Peace. *Car hits them* Frakking hippies
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!


Sorry Nuke. The one bar you can't go in
"No"

 

Offline ssmit132

  • 210
  • Also known as "Typhlomence"
    • Steam
    • Twitter
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
But chemical and biological weapons are okay? :P

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
i show up with a nuke under one arm and a bong in my free hand. deathfun will provide suppressive fire.

anyway my rasterizer is still being stupid


i tried dumping the z buffer as a 32 bit grey via dds (dds is cool and has a 128 byte header that is easy to dump from a working file and used as a basis for a new image). it has a 32 bit float format. but it seems there is not a damn thing on the internet that can view it in its full range (or a monitor that can do it either). i can kind of infer that my z buffer is noisy as **** from the rendering here. if i turn off back face cull you can see the polygons on the other side bleed through.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline deathfun

  • 210
  • Hey man. Peace. *Car hits them* Frakking hippies
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
Also, totally bought this book today
Was not disappointed

http://www.chroniclebooks.com/titles/grumpy-guide-to-life.html
"No"

 

Offline Klaustrophobia

  • 210
  • the REAL Nuke of HLP
    • North Carolina Tigers
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
such pervasive memes as the above almost make me rage.  due in equal parts to my general disdain for internet memes and my jealousy that a few random lucky bastards can become so wildly rich/famous/successful for something as dumb as having a pet cat that looks like it's frowning all the time.
I like to stare at the sun.

 
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
So, I went on twitter, and this was on it.

 

Offline deathfun

  • 210
  • Hey man. Peace. *Car hits them* Frakking hippies
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
such pervasive memes as the above almost make me rage.  due in equal parts to my general disdain for internet memes and my jealousy that a few random lucky bastards can become so wildly rich/famous/successful for something as dumb as having a pet cat that looks like it's frowning all the time.

You've obviously taken some of the books advice to heart!
:P
"No"

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
i prefer cats that like to destroy things. like a certain little kitten i know.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
i prefer cats that like to destroy things. like a certain little kitten i know.

would you settle for one that will happily hunt mice and birds... birds nearly as big as it is?
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
i show up with a nuke under one arm and a bong in my free hand. deathfun will provide suppressive fire.

anyway my rasterizer is still being stupid


i tried dumping the z buffer as a 32 bit grey via dds (dds is cool and has a 128 byte header that is easy to dump from a working file and used as a basis for a new image). it has a 32 bit float format. but it seems there is not a damn thing on the internet that can view it in its full range (or a monitor that can do it either). i can kind of infer that my z buffer is noisy as **** from the rendering here. if i turn off back face cull you can see the polygons on the other side bleed through.

It (still) looks like it's a problem with the rasterization itself, i.e. the for loop(s) you're using to iterate through the pixels of the triangles.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
turns out i got my z buffer gradiation all wrong. so now i got a working z buffer. then i went and got rid of all the float math in the triangle draw loops. im using the basic algorithm, slice polygons in half so that you have two triangles with a flat edge, then draw each half. there is no float math in any of the loops. im still getting those nasty lines though. i also added some backface cull.


i finally managed to get good z buffer dumps in 32 bit grayscale (darker is closer). you can see that for the most part it is working. the only thing im scratching my head over are the nasty lines im getting. been all over those rasterization loops trying to eliminate rounding errors with fixed point math. but as you can see, it didnt work.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline FireSpawn

  • 29
  • Lives in GenDisc
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
So, I went on twitter, and this was on it.



That's no desert, it's a moon.
If you hit it and it bleeds, you can kill it. If you hit it and it doesn't bleed...You are obviously not hitting hard enough.

Greatest Pirate in all the Beach System.

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
No, but you wish you did. :p
17:37:02   Quanto: I want to have sexual intercourse with every space elf in existence
17:37:11   SpardaSon21: even the males?
17:37:22   Quanto: its not gay if its an elf

[21:51] <@Droid803> I now realize
[21:51] <@Droid803> this will be SLIIIIIGHTLY awkward
[21:51] <@Droid803> as this rich psychic girl will now be tsundere for a loli.
[21:51] <@Droid803> OH WELLL.

See what you're missing in #WoD and #Fsquest?

[07:57:32] <Caiaphas> inspired by HerraTohtori i built a supermaneuverable plane in ksp
[07:57:43] <Caiaphas> i just killed my pilots with a high-g maneuver
[07:58:19] <Caiaphas> apparently people can't take 20 gees for 5 continuous seconds
[08:00:11] <Caiaphas> the plane however performed admirably, and only crashed because it no longer had any guidance systems

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
what i like about 'the crater desert' is that it reminds us about how much farther we need to go with out weapons research. look at those on google earth and you learn how little the biggest energy machine that humans have created can do. we must do better, and then nuke everything with them.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline deathfun

  • 210
  • Hey man. Peace. *Car hits them* Frakking hippies
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
Russians made a bigger one
"No"

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
tsar bomba was only 100 megatons, 50 after they chicken ****ted the whole thing. wheres my teraton yield devices? i have big plans you see. i have to nuke all the things.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline FireSpawn

  • 29
  • Lives in GenDisc
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
tsar bomba was only 100 megatons, 50 after they chicken ****ted the whole thing. wheres my teraton yield devices? i have big plans you see. i have to nuke all the things.

Nukes are sooo last century. What we want now, are these babies...

If you hit it and it bleeds, you can kill it. If you hit it and it doesn't bleed...You are obviously not hitting hard enough.

Greatest Pirate in all the Beach System.

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.

 

Offline Kopachris

  • 28
  • send penguins
    • Steam
    • Twitter
Re: W-H-I-Y-L - Lorric/Retsof get Nuked!
tsar bomba was only 100 megatons, 50 after they chicken ****ted the whole thing. wheres my teraton yield devices? i have big plans you see. i have to nuke all the things.

50MT > gravitational binding energy of Mars's moon Deimos (i.e. Tsar Bomba could still blow up a moon)
----
My Bandcamp | Discord: Kopachris | My GitHub