Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °




Not registered yet?

Post a reply

Go back

Write your message and submit
:) :| :( :D :o ;) :/ :P :lol: :mad: :rolleyes: :cool: | :dizzy :eek :kiss :roflol :rolleyes :shame :down :up :touched :sleep :wave :swear :tongue :what :faint :dunno

Go back

Topic review (newest first)

2008-01-07 05:48:00

wow that planet looks cool
but its kinda weird a perfect circle?

2008-01-06 10:23:49

I have always been fascinated by artificially generated worlds. Your example is very nice. I like it a lot (the fact that it can be viewed in real-time is a great bonus. Most of the worlds I have looked at are just rendered images)

2007-12-16 10:30:35

Identity wrote:

Wow so can you like, zoom in and glide over it and go through it?

the way i have it at the moment, is you have a free-camera you can control.

2007-12-16 08:29:03

That planet is so good, I want to name its continents!

2007-12-16 05:21:56

Wow so can you like, zoom in and glide over it and go through it?

2007-12-16 04:53:36

Added texturing to it, had to work out the problem of seams at edges of texture in the mesh when i have time tomorrow im going to work on adding multiple textures depending on height and slope. Atm its just using a martian landscape texture and darkening it with respect to how sloped the ground is at that point.

2007-12-16 01:32:05

hi guys

2007-12-16 01:04:34

devant'e i just tried the link, and that is rather weird yeh, but it is a just a joke there, its what it gives when you dont give it a valid file link, the reason is the space in the address, if you remove the space and do it its fine ;P

As an update, ive now re-programmed it, much neater and incoperated my algorithm for generating a geodesic sphere mesh into it so its much nicer now in terms of consistency i.e. all triangles are pretty much same size, rather than being smaller at poles and larger at equator so the detail around the mesh is consistent.

here you see 3 couples of images (mesh + solid/water) from less detailed - to most detailed is 3,5,7 iterations respectively in the tesselation for the geodesic sphere each with respectively (for terrain) 1,280. 20,480. 327,680. triangles respectively

these are all done with very high displacements to show off the algorithm a bit more than if it was very spherical, but you can ofcourse like in the .exe  in the first link, with the non geodesic's have a much more spherical planet generated

2007-12-16 00:08:34

Is that planet stable?

2007-12-15 23:49:49

What's with the first link? It just says 'I know your IP address, prepare to get hacked! Your IP is: [My IP Address]'. Perhaps this is one of your jokes. smile

Very nice image.

2007-12-15 22:51:37

Looks like an asteroid!

You can post images now smile

2007-12-15 21:46:04

i would have posted the picture in here instead of a link, but the option for adding pictures is not appearing in this forum i havn't checked whether thats a global thing or not.

2007-12-15 09:51:40

Can you post a picture of the nicer planet?

2007-12-14 04:05:12

Someone in newgrounds proframming forum was asking about how to go about applying a terrain to a sphere for generating a planet mesh in otherwords.

So i thought i would have a go at it tongue

Heres the application:

press space to generate new planet
press espace to exit


It generates a sphere, and displaces the vertices from centre with a 3D perlin noise function, it then runs through triangles incrementing vertex normals with normal of triangle, then normalises all vertex normals (so smooth shading) and then runs through triangles again, this time with information and renders it to a display list in OpenGL (vertex colours are equal to the normals here)

It also renders a nice semi-transparent sphere through it for water;

Heres what it can look like if i make the displacement larger tongue

Board footer

Powered by FluxBB