L3DT users' community
Large 3D terrain generator

High-res maps flexibility

It doesn't hurt to ask...

High-res maps flexibility

Postby CBFASI » Fri Feb 04, 2011 12:39 pm

The ability to choose figures rather than work by the integer ratios.

Example of the current issue:

Heightfield = 2048 x 2048, with 1 point for every 10m
Actual size 20480m (or 20k)

Intended 'Satelite' resolution of 1 px per 2m, thus requiring a texture res of 10240 x 10240
(Would of been MUCH worse if I wanted 1 px per 1m, as that would have to do over 50% more work than required at 32768 instead of 20480)

Only possible way to get this is to choose the 16384 and then 'scale' it down in a graphics programme.

If I was able to set that I wanted the 10240 then it may reduce processing time in L3DT rather than doing extra work that is not even wanted, and make for imagery more reflective of the final target.
CBFASI
Member
 
Posts: 12
Joined: Wed Jan 26, 2011 9:03 pm

Re: High-res maps flexibility

Postby Aaron » Wed Mar 16, 2011 10:23 pm

Hi CBFASI,

Did you have any success/problems using a texture ratio of 5? That should have produced a texture size of 10240 x 10240 as required.

Regarding arbitrary output sizes; I'll have to think about this a bit more deeply before I commit to implementing this feature. Supporting arbitrary scaling ratios could have a drastic performance penalty on the speed of the texture map calculation, to the extent that it may be faster to generate the map at the next largest integer ratio and then down-size. I'll look into it.

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

Re: High-res maps flexibility

Postby CBFASI » Sun Jun 26, 2011 8:28 am

You can call me an idiot, just noticed that when using the little arrows its goes 2-4-8-16-32, but when you manully enter you enter any figure (this solves it).... (yes I know its been a while)
CBFASI
Member
 
Posts: 12
Joined: Wed Jan 26, 2011 9:03 pm


Return to Feature requests

Who is online

Users browsing this forum: No registered users and 5 guests

cron