Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: noise implementation on: 2013-10-02 09:21:01
so for octaves do i literally add the different outputs?

1  
2  
3  
4  
5  
6  
7  
        
             
for(int o=0;o<octave;o++){
   y += n.noise(x * xScale, z * zScale);
   xScale=(xScale*2);
   zScale=(zScale*2);
}
2  Game Development / Newbie & Debugging Questions / Re: noise implementation on: 2013-10-01 17:52:10
yall are the greatest i looked for almost a week before posting here should have done so sooner. saved me so much time and aggravation i will test asap and let yall know how it goes Cheesy
3  Game Development / Newbie & Debugging Questions / Re: noise implementation on: 2013-10-01 14:17:46
ok so make a 2D array to hold all the values for each(x,z) and then read that to set the (y or height).. as far as generating the noise ie when i call noise(x,y) is the x,y correspond to the map? like if i want the height for "tile" (0,0) do i call noise(0,0) then noise(0,1)...ect. ?  sorry for all the questions but your being a big help and there is not many "easy" to read guides...
4  Game Development / Newbie & Debugging Questions / Re: noise implementation on: 2013-10-01 07:36:20
So I read through http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
and I have a few questions about it. I'm assuming I use 3d noise? But do I feed it random numbers or the coordinates of the blowing I'm needing to draw. If so what do I use for the yin that's what I'm fringe to find I thought?
5  Game Development / Newbie & Debugging Questions / Re: noise implementation on: 2013-09-30 02:47:36
I use in pseudo code
for each x<chunksize; x++
       For each y<chunksize; y++
             For each z<chunksize; z++

Rendering method and I have tried putting the output into the y like I have read but it makes all blocks of the same z the same y so I get lines all the away across. Iv tried many differant ways but I think I need to redesign my world gen method

Edit I'm not home to post a screenshot but ill get one when I get there
edit 2: I'm using a 3d array to store "block" Data
6  Game Development / Newbie & Debugging Questions / Re: noise implementation on: 2013-09-29 15:01:32
i know how to use a noise function and get a float then i divide by 2 add 1 and multiply by the max i want but i cant get it to do anything when i try to use it as a "Y" axis variable it just makes straight lines the same height. do i need to test each(x,y,z) get its float as at (0,0) is (output) blocks high. and then draw coordinate by coordinate? sorry i see all these great images of noise gen'ed worlds but cant get it to work for me xD
7  Game Development / Newbie & Debugging Questions / noise implementation on: 2013-09-29 13:12:04
I have been searching on how to implement noise into voxel world gen and i cant find any good resources only ones that have the functions which i can get a float returned from it i just dont know what to do with it. any help would be awesome Smiley please and thank you.
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (45 views)
2014-09-23 14:38:19

radar3301 (28 views)
2014-09-21 23:33:17

BurntPizza (63 views)
2014-09-21 02:42:18

BurntPizza (33 views)
2014-09-21 01:30:30

moogie (41 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!