Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Advanced Terrain Clipped....Using DBPro 7.7

Author
Message
JoeOh
17
Years of Service
User Offline
Joined: 25th Feb 2009
Location:
Posted: 5th Nov 2012 07:24 Edited at: 5th Nov 2012 08:44
I am now noticing that the first 5 or so lines of the texture I am using are clipped or not being shown. I am using 24-bit bitmaps. The camera has plenty of rendering distance. The rest of the terrain shows just fine, but is clipped at the top of the texture....if this is a bug, is there a fix for it yet?

Edit: the maps used are 512x512 pixels wide

Thanks.

Home is where my souped-up computer is...
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 5th Nov 2012 12:15 Edited at: 5th Nov 2012 13:10
Someone mentioned that problem before. I've never been bothered by it but then my terrain textures are usually fairly random stuff so the effect isn't very noticeable. There should be a simple fix. I'll post back later when I've had a chance to do some tests.

Is it just the main texture or the detail texture as well?

Edit Just done a quick test and it seems that the terrain's size is slightly smaller than it should be and the UV coordinates are off too as you say. The amounts probably depend on your heightmap dimensions which is unhelpful. The only real fix is to recalculate the terrain's position and UV coordinates yourself - or just live with it. This slight unpredictability of Advanced Terrain dimensions is one reason many people use their own terrains or one of the other terrain plugins. It's a shame really because it was a good idea marred by unnecessarily sloppy implementation.
JoeOh
17
Years of Service
User Offline
Joined: 25th Feb 2009
Location:
Posted: 6th Nov 2012 03:07
The heightmap and color-texture map match up with each other just fine.

I understand that I'll have to buy blitzwerks down the road once I confirm my project can be reasonably completed. this advanced terrain will suffice for now.....Just checking things out-

Thanks

Home is where my souped-up computer is...

Login to post a reply

Server time is: 2026-07-09 01:51:43
Your offset time is: 2026-07-09 01:51:43