L3DT users' community
Large 3D terrain generator

Spherical Terrain

It doesn't hurt to ask...

Spherical Terrain

Postby ronniell1168 » Tue Apr 25, 2017 4:55 pm

Hello all.

I'm a fairly new L3DT user but so far it's a very nice tool. Would it be possible to create a script/plugin to generate a cylindrical projection of a spherical terrain?

Something like http://libnoise.sourceforge.net/tutoria ... rial8.html

http://libnoise.sourceforge.net/tutoria ... ghtmap.jpg

Thank You!
ronniell1168
Newbie
 
Posts: 1
Joined: Fri Apr 07, 2017 5:04 pm

Re: Spherical Terrain

Postby Aaron » Sun Apr 30, 2017 9:49 am

Hi Ronniell1168,

Thank you for your question, and sorry for my slow reply.

Yes, I think it would be possible for a plugin to create a cylindrical projection heightfield. I have the libnoise library compiled into an L3DT plugin already (for ridged multi-fractal terrain), so it's probably no great difficulty to wire through the cylindrical projection functions too.

However, the other algorithms in L3DT, such as the texture generation &c, will not work well with such maps. At present, these algorithms all assume the pixel spacing is constant across the whole map (i.e. X metres per pixel everywhere). However, with these maps, the pixel spacing varies with latitude, and is different for the north/south and east/west axes too. The consequence of this is that the gradient will be miscalculated the closer you get to the poles, resulting in the wrong land types being assigned. Hence, whilst L3DT could be used to generate cylindrical projection heightfields, it would not do anything else for these maps (i.e. no light map or textures.)

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia


Return to Feature requests

Who is online

Users browsing this forum: No registered users and 12 guests

cron