Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (580)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Modular 2d, 3d, 4d and 6d noise library  (Read 2141 times)
0 Members and 1 Guest are viewing this topic.
Offline codeTaylor

Junior Member


Medals: 1
Projects: 1



« Posted 2013-04-30 19:53:52 »

I recently ported Joshua Tippetts' Accidental Noise Library to use in my game.

It's up on GitHub here: https://github.com/codetaylor/Joise

Check it out. Use it. Pick it apart. Let me know if you find it useful or think it needs something.

Edit 07-31-2013: fixed the link to the Accidental Noise Library

Lodestar Development Blog: http://lodestargame.tumblr.com
Offline matheus23

JGO Wizard


Medals: 97
Projects: 3


You think about my Avatar right now!


« Reply #1 - Posted 2013-05-01 15:37:13 »

I have a noise implementation, which works in any number of dimensions! Roll Eyes Tongue
(shamelessly bragging here  persecutioncomplex Wink )
https://github.com/matheus23/Utils/tree/master/Utils/src/org/matheusdev/noises
(Optimized versions are the packages 'noise1', 'noise2' and 'noise3')

<edit>
My implementation isn't that advanced... Its simple simplex noise, no module chaining there Smiley
</edit>

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline bbaker82

Junior Newbie





« Reply #2 - Posted 2013-06-14 19:03:43 »

Hi there,

I'm trying to use your source for the noise library, when looking at your example that comes with it, it appears I'm missing some imports:

import static org.junit.Assert.assertEquals;

import org.junit.BeforeClass;
import org.junit.Test;

Are these needed to use the library?

Thanks
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline codeTaylor

Junior Member


Medals: 1
Projects: 1



« Reply #3 - Posted 2013-07-30 21:40:03 »

No, the junit classes are for the unit tests in the tests folder. I don't have any examples aside from the github readme... something I've been meaning to do for a while.

Lodestar Development Blog: http://lodestargame.tumblr.com
Offline codeTaylor

Junior Member


Medals: 1
Projects: 1



« Reply #4 - Posted 2013-07-31 23:01:44 »

Ok, I've updated the repo to include a simple, stand-alone example of how to link a generator to another module and how to sample the noise. Hope it helps! Smiley

For further reference, I suggest checking out Joshua Tippetts' Accidental Noise Library here: http://accidentalnoise.sourceforge.net/

My lib is simply a port of his lib so it works pretty much the same. He has good examples of how to use the modules and what they do.

Also, it looks like the link to his lib in my original post did not turn out right. I will edit that straight away.

Lodestar Development Blog: http://lodestargame.tumblr.com
Offline matheus23

JGO Wizard


Medals: 97
Projects: 3


You think about my Avatar right now!


« Reply #5 - Posted 2013-08-01 18:07:47 »

Quick Tip:

Add a demonstration picture showing off what your library can do. I bet you can generate wonderful mountain heightmaps or animated clouds.

Pack those into a .png or .gif and put them in your README.md! (.gifs are awesome!)

Smiley

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (50 views)
2014-04-15 18:08:23

BurntPizza (46 views)
2014-04-15 03:46:01

UprightPath (62 views)
2014-04-14 17:39:50

UprightPath (44 views)
2014-04-14 17:35:47

Porlus (61 views)
2014-04-14 15:48:38

tom_mai78101 (84 views)
2014-04-10 04:04:31

BurntPizza (142 views)
2014-04-08 23:06:04

tom_mai78101 (242 views)
2014-04-05 13:34:39

trollwarrior1 (201 views)
2014-04-04 12:06:45

CJLetsGame (208 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!