Search Unity

...pixels are your best friends!

Discussion in 'Made With Unity' started by taumel, Nov 15, 2007.

  1. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
  2. shaun

    shaun

    Joined:
    Mar 23, 2007
    Posts:
    728
    nice work - what process are you using to convert from raster to 3d obj array - runtime or precalc?

    Who is that character? - looks a little like Doraemon :)
     
  3. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
    Hi, it's runtime and one of the Bubble Bobble dragons..

    Oops, i did a little mistake, the steering is v,b,n instead of c,v,b. Otherwise you might miss the rest.
     
  4. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    pouët for the win!

    ...you should post it on the oldskool pouët.net BBS... to get some random images discussion and whatnot :)
     
  5. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
    I thought of you when doing this! ;O)
     
  6. shaun

    shaun

    Joined:
    Mar 23, 2007
    Posts:
    728
    love the fractals... so demoscene (CD2 by Triton i think) - i'd love to see your code for the conversion - i was going to do this myself, but yours seems to be working great ;)
     
  7. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
    Triton?

    I don't know if that's exactly what you need as it depends on how you want to scale up but it's easily done as you just step through the texture in two loops (x,y).
     
  8. shaun

    shaun

    Joined:
    Mar 23, 2007
    Posts:
    728
  9. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
  10. shaun

    shaun

    Joined:
    Mar 23, 2007
    Posts:
    728
    Amiga 1200 was god and Deluxe Paint ruined my teenage years ;)

    "...and now, Glens vectors - 48 faces!" LOL the good old days.
     
  11. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
    Actually i would trade a normal mapped vector object anytime for a glenz one. ;O)
     
  12. drJones

    drJones

    Joined:
    Oct 19, 2005
    Posts:
    1,351
    as usual nice work taumel ; )
     
  13. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
    Thanks! Optimised it, so that i do get 20% boost on my Mini for the fractal.
     
  14. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
    Just out of curiosity i threw it (without specific optimisations) into BlitzMax as i wanted to see the difference. Compared to a naked Unity version you can experience 30% framedrop but you can use an imagesize of 512 instead of a 256. Otherwise it's faster by a factor of 2.8 here. (Updating the texture still costs some time.) Would need to alter the algorithm to get more speed out of it. Anyway was only for fun, so here it is:

    -> http://spielwiese.marune.de/_uni/pouet/fraktal.zip (only osx,ppc)