Hi :D,
I would like to know if there are any tuts on how to map a 3D Terrain (3D Graphic Java: Render fractal landscapes - JavaWorld) onto a Sphere?
Thanks :)
Q
Printable View
Hi :D,
I would like to know if there are any tuts on how to map a 3D Terrain (3D Graphic Java: Render fractal landscapes - JavaWorld) onto a Sphere?
Thanks :)
Q
Hello quddusaliquddus. Welcome to the Java Programming Forums.
Unfortunately I have no idea how to do this! It all looks rather complicated!!
Are you basically looking for a circular terrain map?
Try following a tutorial on mapping images onto a sphere, and then do a similar things with the 3D version. Just remember you will have to transform every single point
You can transform any flat texture/data onto any surface you want using UV mapping. That link should provide you with the information necessary to map every x,y pair in your terrain data with a point on the surface.