Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 17:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Diamond Square/ Midpoint Displacement Algorithm

Discussion on Diamond Square/ Midpoint Displacement Algorithm within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
C!rcle's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 83
Received Thanks: 358
Diamond Square/ Midpoint Displacement Algorithm

Hi,
ich probiere seit einiger Zeit mit dem Diamond Square Algorithmus zu arbeiten.
Als Hilfe hab ich verwendet.

Jedoch sieht mein Resultat nicht so aus, wie ich es gerne hätte.

(Mein Resultat)


(Was ich erreichen möchte)


Ich wüsste nicht woran es in meinem Code liegen könnte, deshalb poste ich ihn einfach mal.

DiamondSquare.h

DiamondSquare.cpp

Main.cpp

Ich suche wirklich nur Hilfe, wer hier etwas anderes schreibt wird gemeldet.

MfG,
C!rcle
C!rcle is offline  
Reply


Similar Threads Similar Threads
[Just another graph-related algorithm] Kruskal`s algorithm
07/25/2012 - CO2 Programming - 11 Replies
(Scroll down for the code if you aren`t interested in my wall of text.) Okay, my previous post on Dijkstra`s algorithm didn`t really get the attention it was supposed to get, but I`m still starting a trend out of this. What exactly? I will be posting general purpose algorithms from time to time, as I truly believe that this is one of the most fundamental and important aspect of being a good coder : knowing the basic algorithms (lol?). If anyone can provide a way of implementing this in a CO...
[Release] AStar Algorithm
03/07/2012 - CO2 PServer Guides & Releases - 1 Replies
Well , I was working on the AStar Algorithm , and am almost finished it. the way I intended to design it with so I don't need anther struct/class for Node, but anyways it needs some Optimization ("like using Heap (data structure) instead of Dictionary") but so far it works fine. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MapData.Interfaces;
L2 enchant algorithm
03/18/2011 - Lineage 2 - 0 Replies
Hello everyone! I wan't to know the algorithm of the enchanting system on L2j if someone could help!.....I actually wanna know how it works and if there's something i can do to proliferate the chances to enchant a weapon for example! thanks guys! great forum!
Getting blowfish key and using the algorithm
03/17/2011 - SRO Coding Corner - 10 Replies
Good evening:) I am still busy with the packets of silkroad and I'm now trying to understand on how to decrypt the packets but I'm having some problems with it. I read drew benton's artikel about the silkroad security but I still don't know on which blowfish key is used to decrypt the packets. let's say these four packets are the first 4 S -> C 00000 25 00 00 50 00 00 0e d2 a9 27 80 2d c3 23 6c f6 %..P.....'.-.#l. 00016 00 00 00 62 00 00 00 8d ac fe 38 3d d0 9c ef 67 ...



All times are GMT +2. The time now is 17:32.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.