leonid.yanakov Posted June 8, 2011 Posted June 8, 2011 Hello, today was playing with editor, and got it crashed, while importing simple heightmap for terrain (just R8 PNG(also tried PSD) with size 8193 x 16385). Editor crashed right after clicking on a terrain save button. Sample PNG file causing crash 19,9MB: http://zalil.ru/31219911 Engine version: Unigine-evaluation-2011-06-07.exe Editor was run on: Win 7 x64 EN, Intel Core i7, 8GB RAM, GeForce 470. Also tried importing this heightmap in reduced size - 513x513, 513x1025, they worked okey. Followed this tutorial: https://developer.unigine.com/en/docs/1.0/tutorials/terrain/ Can you find solution for this problem? Thank you.
leonid.yanakov Posted June 24, 2011 Author Posted June 24, 2011 Do you have a log file? Shure. The most interestings part: "<div class="e">12:22:11 Terrain::setHeights(): can't set heights from from RG16 image</div>" Seems like R16UI PNG heightmap is interpeted like RG16 somehow, it always happens after saving R16 PNG in Adobe PS CS5 (dunno if version really matters). Log is in attachment, thank you. log.html
Guest mrred Posted June 28, 2011 Posted June 28, 2011 We were able to reproduce this crash and will make a solution for it. As a temporal workaround try reducing the original dimensions of 8193 x 16385 in two.
leonid.yanakov Posted June 28, 2011 Author Posted June 28, 2011 waitin for patch, thanks for fast reply!
Recommended Posts