• Advertisement

Archived

This topic is now archived and is closed to further replies.

Perlin Noise (Subplasma Problem)

This topic is 5516 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well ... I probably should have looked/thought about it more before I post here but ohh well. When I generate a layer (256x256), I am putting values at intervals of 128 pixels, and then interpolating for the unknown pixels. Something is wrong with this ... out.jpg Looks like the rows are interpolated fine, but there is a problem from row to row.
_______________________________ It's not reality that's important, but how you perceive things. A man's reach should exceed his grasp. [edited by - The Reindeer Effect on January 17, 2003 8:21:39 PM]

Share this post


Link to post
Share on other sites
Advertisement
Are you sure you are also plotting the columns in intervals of 128? Make sure that you draw it not only x/128 but also y/128.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
looks okay in x direction. but definetely too fast in y direction.. it might be overflowing the heightfield. in my perlin algo''s implementation this also gave me headaches and resulted in similar (although less drastic) "shifts" or "alias" problems..

but without seeing the code.. it''s still hard to say if it''s not something else..

earx

Share this post


Link to post
Share on other sites
Look at my site,there is a perlin editor written in C#,
but code translates in c++ very quickly
http://www.gameprog.it/pagghiu/lavori/perlintexturegenerator.htm

Oh,the site it''s in italian and you need .NET runtime installed if you want to view the application...

Stefano

Share this post


Link to post
Share on other sites

  • Advertisement