Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Perlin Noise
Index -> Programming, C++ -> C++ Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Catalyst




PostPosted: Fri Aug 01, 2003 3:08 am   Post subject: Perlin Noise

Perlin noise to generate terrain, the algorithm need optimizing and the terrain rendering is just a skeleton right now (just triangle strips)

note: takes a second or two to generate the terrain

(algorithm i wrote a while ago, the inspiration to fix it came at 3am)



PerlinTerrain.zip
 Description:

Download
 Filename:  PerlinTerrain.zip
 Filesize:  141.04 KB
 Downloaded:  616 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: Fri Aug 01, 2003 12:06 pm   Post subject: (No subject)

heh Very Happy
looks good... just wondering how many triangles are being rendered?
now all we outta do is wait for dan to add an opengl section so we can move our stuffz there...
Catalyst




PostPosted: Fri Aug 01, 2003 1:08 pm   Post subject: (No subject)

that mesh has about 32000 triangles but could easily be scaled to have less or more detail
Kingnoz




PostPosted: Tue Sep 02, 2003 12:00 pm   Post subject: (No subject)

that is amazing dude...i'm guessing that is ogl or somethin...correct me if im wrong
Catalyst




PostPosted: Tue Sep 02, 2003 2:45 pm   Post subject: (No subject)

ur right that is opengl
octopi




PostPosted: Tue Sep 02, 2003 3:16 pm   Post subject: (No subject)

One question,
are you doing a


code:
while(1) {

}


or similar.

Cause its at a constant 100% cpu.
Catalyst




PostPosted: Tue Sep 02, 2003 5:52 pm   Post subject: (No subject)

no im dont have a loop like that
maybe the rendering is causing the 100% cpu
i dunno...
octopi




PostPosted: Tue Sep 02, 2003 6:38 pm   Post subject: (No subject)

Still pretty neat though, good work!


Okay, I looked at it again, And I REALLY like this for some reason.


+15 Bits.....if anyone asks...its for a php program you made Rolling Eyes ...yes, yes
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, C++ -> C++ Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: