Open dpservis opened 3 years ago
Are you able to share an example so I can take a look? Thanks!
On February 19, 2021 9:19:46 PM GMT, dpservis notifications@github.com wrote:
Hi,
I am trying to build a world from several images. I have a main image and height map and everything works fine. But when I add more pairs of images then the 3D terrain is degenerated. There is no exception or problem to read the files, it just seems like irr fails to render them. Any ideas?
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/bridgecommand/bc/issues/31
I have built an application that given a min/max lat/lon it builds a 3D model of the earth terrain as well as the terrain.ini file for BC.
P.S.: willing to share it if it is of interest, it's a quick hack but it works. Also I promised to make a restructured BC repo public, I need to find the time to do this but I will :-)
Thanks, I'll test this over the coming week. Automating the world building process would be very interesting.
On 20/02/2021 10:43, dpservis wrote:
I have built an application that given a min/max lat/lon it builds a 3D model of the earth terrain as well as the terrain.ini file for BC.
output.zip https://github.com/bridgecommand/bc/files/6014678/output.zip
P.S.: willing to share it if it is of interest, it's a quick hack but it works. Also I promised to make a restructured BC repo public, I need to find the time to do this but I will :-)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bridgecommand/bc/issues/31#issuecomment-782604299, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSJLS6MFVIBD66APC34HGTS76G67ANCNFSM4X5BPKGQ.
Hi,
Two main things I noticed:
To test this out, I automatically resized the gradient.png images from 256x256 to 257x257, and changed the terrain.ini file so for all except the first TerrainHeightMapSize() from 2049 to 257.
Making these two changes, it seemed to load OK for me.
Thanks for the hints! I made the fixes but I still do not get a nice environment as I do when I do not have secondary images.
Hi, I am coming back to this, I shared the code with you are you interested to check it out?
Hi, yes, I will have another look at this shortly.
Hi, I'm still looking into any problems on the Bridge Command side, but a few observations so far:
I think there may be an issue in Bridge Command about the exact alignment of the detail tiles, but could you check these points?
Hi,
I am trying to build a world from several images. I have a main image and height map and everything works fine. But when I add more pairs of images then the 3D terrain is degenerated. There is no exception or problem to read the files, it just seems like irr fails to render them. Any ideas?