exe -E option

exe -E option

Return to topic list

Fri May 21 00:06:51 2021   by   Avarus Lux
while trying to use the executable version of the map generator i have been trying to get both altitude lines in the sea and on land drawn, but i cannot seem to get the -E8 and -E-4 function to combine, i have tried combinations like -E8,-4 / -E-4,8 / -E-4 -E,8 / -E8--4

is there a way to do this within the parameters or do i really have to create and merge 2 maps and hopefully not mess that up...

C:\Users...planet\planet.exe -pm -E8--4 -s 11111 -b -w 10000 -h 10000 -C C:\Users...planet\OlssonLight.col -o C:\Users...planet\tester2.bmp
 
Fri May 21 22:12:54 2021   by   Riviera71
Hi Avarus Lux,

Sorry but you can not combine both lines type at the present, you can draw whether land lines or sea lines.

Best regards.
 
Sat May 22 00:43:41 2021   by   Avarus Lux
Hi Riviera71,

Guess i'll have to render two maps then and combine them afterwards with a difference or multiply filter to get both sets of lines on one map, hopefully that feature is added or altered in the future then to make that possible in the commands
 
Sat May 22 03:28:59 2021   by   Avarus Lux
Hi Riviera71,

Guess i'll have to render two maps then and combine them afterwards with a difference or multiply filter to get both sets of lines on one map, hopefully that feature is added or altered in the future then to make that possible in the commands
 
Sun May 23 15:12:38 2021   by   Torben
I might, indeed, make it possible to combine both some time in the future.
 
Mon May 24 23:42:54 2021   by   Avarus Lux
Hi Torben,

If you could and that is a possibility then that would be great, until then i'll work with what we have which is doable as well.

Thank you for replying either way.

Best regards,
 
Tue Jun 1 12:27:13 2021   by   Torben
I have now added the option of specifying both land and sea contour lines for the same image (offline version only).  You can specify, e.g., options -E8 and -E-3 in the same command.
 
Wed Jun 2 22:30:36 2021   by   Riviera71
Hi Torben,

It's working very well!

Thank you for this add.

Best regards.
 
Sat Jun 19 17:48:03 2021   by   Avarus Lux
thank you very much Torben :D
 
Sun Jun 20 11:09:37 2021   by   Riviera71
Hi Torben,

By playing with the 2 options I noted this affects landlines.
It's like there was a superposition of 2 lines of color for the same region.

Best regards.
 
Mon Jun 21 17:33:54 2021   by   Torben
I believe this problem should be fixed now.
 
Mon Jun 21 19:51:58 2021   by   Riviera71
Thank you Torben for the fast fix.

But the render is not the same, I prefer the older.
With planet.c 2021-06-01:
https://drive.google.com/file/d/1tIsYdEc3Ao7-npbQzW8EoFe1jxSJLh7Q/view?usp=sharing
With planet.c 2021-06-21:
https://drive.google.com/file/d/1JgQT69Eywv4f5ddxUuQjNiNNIalV8jHi/view?usp=sharing

Best regards.
 
Tue Jun 22 08:59:02 2021   by   Riviera71
Hi Torben,

At line 1774:
l1 = 50.0/sqrt(lad+lac+lad+lbc+lbd+lcd+0.00001);
The value of 0.00001 is too high for the same rendering as the old version.
I tried several value, and the nearest rendering is between 0.001 and 0.0001 near 0.0005.

Thank you,

Best regards.
 
Tue Jun 22 10:36:04 2021   by   Riviera71
Hi Torben,

At line 1774:
l1 = 50.0/sqrt(lad+lac+lad+lbc+lbd+lcd+0.00001);
The value of 0.00001 is too high for the same rendering as the old version.
I tried several value, and the nearest rendering is between 0.001 and 0.0001 near 0.0005.

Thank you,

Best regards.
 
Tue Jun 22 11:03:40 2021   by   Riviera71
I apologize for the double message in the wrong topic.

Best regards.
 
Wed Jun 23 16:07:22 2021   by   Torben
I found a bug in the daylight shading.  The intention was that there should be a bumpmap contribution, so hillsides facing the sun should be lighter than those facing away from the sun, but the way I did it was quite wrong -- so wrong, in fact, that the behaviour changed when I switched compiler optimisation on and off!

In any case, I have made a better (IMO) method for doing this (which is not affected by optimisation flags).  I will post an updated version of the code shortly, and update the code used for the web version.

Riviera71: If you want to lessen the bumpmap effect on daylight shading, change the 5.0 in the line

l1 = 5.0*sqrt(x1*x1+y1*y1+z1*z1);

to a larger value.
 

Return to topic list



New message:
Topic:
Posted by:

Type the values of the dice shown below:

Return to topic list