PDA

View Full Version : UED crashes when building terrains larger than 64x64


EHO
14th Apr 2006, 02:03 AM
Anyone have any idea why UED keeps crashing when I try to create terrains larger than 64x64?

I get the following crash message:


OS: Windows XP 5.1 (Build: 2600)
CPU: GenuineIntel Unknown processor @ 2660 MHz with 1023MB RAM
Video: RADEON 9800 PRO (6525)

General protection fault!

History: FD3DTexture::Cache <- FD3DRenderInterface::CacheTexture <- FD3DRenderInterface::HandleCombinedMaterial <- FD3DRenderInterface::SetSimpleMaterial <- FD3DRenderInterface::SetMaterial <- FCanvasUtil::Flush <- DrawAlphaMap <- DrawLayer <- DrawTerrainLayers <- REN_TerrainLayers <- UUnrealEdEngine::Draw <- (Cam=TerrainLayers,Flags=640 <- UWindowsViewport::Repaint <- WPageToolsLayers::RefreshViewport <- WPageToolsLayers::OnNew <- WButton::InterceptControlCommand <- WWindow::WndProc <- WWindow::StaticProc <- WWindow::WndProc <- WWindow::StaticProc <- MessagePump <- MainLoop

Angel_Mapper
14th Apr 2006, 02:18 AM
Be sure to use powers of two.

EHO
14th Apr 2006, 01:20 PM
Ahhh... *powers* of two. I was using even numbers (96 and 160) but you're saying I can only use things like 64, 128 and 256? Thanks for the tip

Angel_Mapper
14th Apr 2006, 06:25 PM
Yep. Terrains create textures for the heightmap and alpha maps, and textures can only be powers of two. If you need to adjust the size of your terrain, there's a TerrainScale property in the TerrainInfo.