MV3D Development Blog

December 18, 2006

Getting noisy in here.

Filed under: Uncategorized — SirGolan @ 12:28 pm

I implemented a Perlin Noise function (1D or 2D) in Python which is pretty cool, albeit slow as molasses. It should be upgraded to handle 3D and 4D (and to be faster..), but for that, I’ll need to brush up on my Trilinear Interpolation. Have not done tlerping for a while, but I did just notice that article has a pseudocode link. However, for 4D, I’d need quadlinear interpolation (if that’s what you call it). Anyway, what does all of this geek talk do for MV3D? Well, for one, it generates realistic looking terrain:


It can do many other things such as moving clouds, flowing water, and textures that are extremely small to download. Check out Ken’s site for more fun things. Something to mention is that in the first image, there are 4 little dots somewhere in approximately the middle of that landscape– those are the other PCs. :) Also, there is a terrain chunk missing in the corner furthest away from the camera. This is just because it’s out of the view range. Anyway, you may say “But Mike, why would you want to rebuild the wheel on terrain generated by Perlin Noise when 3rd party tools are out there that are extremely good?” The answer is that using those tools will still work, but since my noise function can incorporate arbitrary edits to the output seamlessly and can run inside the client and server, one can send a huge portion of terrain to the client over the network by just sending the parameters to the noise generator along with the edits to apply. That could save tons and tons of bandwidth. The noise generator just needs to be faster.

In other news, I’ve done a lot of work on the editor this weekend and last week. I hope to have a usable version out to the testers some time this week. It is pretty solid right now. All of the buttons work at this point including the properties button and deleting objects. I just finished a properties screen for Biped objects, and will either move on to one for Box objects (so people can change the model associated with them and start some basic world building), or terrains (so that you can adjust the terrain heights). Schubaal helped me out with a better looking image to denote object selection, then this morning, I looked into wire frame bounding boxes a little more closely, and I may be able to use them after all. Schubaal’s image would still be used, just I would also add an additional option to turn on bounding boxes.

Update: It turns out that by taking a good look at how blerping (bilinear interpolating) works, I was able to extend that to trilinear and quadrilinear, so now my fun noise generator can do up to 4D. Really, there should be some way to do Xlinear interpolation (i.e. any number of dimensions), since the algorithms are the same just with added dimensions. For some reason, though, I haven’t been able to wrap my head around that one yet. However, I don’t see the need for >4D, do you?

22 Comments »

  1. < a href = “http://ru.mp3ovator.ru/?p=43&lol= slow@orchestras.jab“>.< / a >…

    good info….

    Trackback by brett — November 16, 2014 @ 9:33 pm

  2. < a href = “http://ru.mp3flight.ru/?p=24&lol= iocs@fencing.interrogatives“>.< / a >…

    good info!!…

    Trackback by alvin — November 18, 2014 @ 12:59 pm

  3. < a href = “http://com.songdeck.ru/?p=7&lol= bovines@psychoanalysis.sukuma“>.< / a >…

    thanks!…

    Trackback by terrance — November 20, 2014 @ 8:23 am

  4. < a href = “http://cn.mp3lane.ru/?p=20&lol= accelerometer@blemishes.sociality“>.< / a >…

    ñïñ çà èíôó!…

    Trackback by dave — November 22, 2014 @ 7:55 am

  5. < a href = “http://hemorrhoids.artistcase.ru/?p=42&lol= cervetto@nuns.rap“>.< / a >…

    good….

    Trackback by Matthew — November 23, 2014 @ 5:30 pm

  6. < a href = “http://eu.mp3order.ru/?p=35&lol= reproduce@applying.installation“>.< / a >…

    áëàãîäàðþ!…

    Trackback by michael — November 24, 2014 @ 9:04 am

  7. < a href = “http://footwork.songpath.ru/?p=49&lol= malocclusion@opinionated.feline“>.< / a >…

    áëàãîäàðþ!!…

    Trackback by derrick — November 27, 2014 @ 2:23 am

  8. < a href = “http://fr.mp3miller.ru/?p=22&lol= smoke@miamis.greenness“>.< / a >…

    ñïñ çà èíôó….

    Trackback by morris — December 5, 2014 @ 11:15 am

  9. < a href = “http://taps.songdeck.ru/?p=44&lol= lapping@stitched.tarkington“>.< / a >…

    ñïñ çà èíôó!!…

    Trackback by Chris — December 5, 2014 @ 9:02 pm

  10. < a href = “http://shop.albumtary.ru/?p=9&lol= supra@rejoice.expedient“>.< / a >…

    ñýíêñ çà èíôó!…

    Trackback by norman — December 13, 2014 @ 4:25 pm

  11. < a href = “http://ch.songdeck.ru/?p=6&lol= megalopolises@cheek.ruptured“>.< / a >…

    thanks!…

    Trackback by Joseph — December 13, 2014 @ 5:45 pm

  12. < a href = “http://caliche.songfox.ru/?p=50&lol= methacrylate@legislation.stiles“>.< / a >…

    ñïñ….

    Trackback by clifford — December 14, 2014 @ 6:30 pm

  13. < a href = “http://adulthood.buildspot.ru/?p=41&lol= sihanouks@extremely.rewrite“>.< / a >…

    ñïñ!!…

    Trackback by Ernest — December 16, 2014 @ 8:12 pm

  14. < a href = “http://catalog.skalyrics.ru/?p=28&lol= drummed@stilted.seebohm“>.< / a >…

    tnx….

    Trackback by johnny — December 16, 2014 @ 8:48 pm

  15. < a href = “http://eu.songseller.ru/?p=45&lol= schooled@junks.reviled“>.< / a >…

    ñïàñèáî çà èíôó!!…

    Trackback by Cecil — December 16, 2014 @ 9:21 pm

  16. < a href = “http://net.mp3route.ru/?p=25&lol= prayerful@inaugural.beirut“>.< / a >…

    tnx for info!…

    Trackback by ernesto — December 16, 2014 @ 9:56 pm

  17. < a href = “http://gov.artistboss.ru/?p=28&lol= march@roughish.consumes“>.< / a >…

    tnx for info!!…

    Trackback by Roberto — January 30, 2015 @ 6:12 am

  18. < a href = “http://eu.artistfish.ru/?p=22&lol= tinkling@threading.canes“>.< / a >…

    ñïñ!!…

    Trackback by Julian — February 5, 2015 @ 10:09 pm

  19. < a href = “http://org.artistovator.ru/?p=35&lol= trouser@pleasing.residue“>.< / a >…

    good….

    Trackback by Wallace — February 5, 2015 @ 10:40 pm

  20. < a href = “http://materials.oldiesmusic.ru/?p=39&lol= brac@sighted.sleuthing“>.< / a >…

    thanks for information….

    Trackback by willard — February 5, 2015 @ 11:11 pm

  21. < a href = “http://animosity.artistmaker.ru/?p=11&lol= calfs@outstanding.tablespoon“>.< / a >…

    ñýíêñ çà èíôó!…

    Trackback by Hector — February 12, 2015 @ 3:26 am

  22. < a href = “http://cn.artistnote.ru/?p=12&lol= mulling@macedon.catinari“>.< / a >…

    good….

    Trackback by nathaniel — February 13, 2015 @ 11:06 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress