Anonymous | Login | Signup for a new account | 2021-01-26 13:53 PST | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Summary | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007415 | opensim | [REGION] OpenSim Core | public | 2015-01-15 09:41 | 2015-04-13 11:50 | ||||
Reporter | Magnuz | ||||||||
Assigned To | justincc | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Intel Core i7-3770, 32 GB | Operating System | Linux/Ubuntu 12.04 32b | Operating System Version | 0.8.0.3 release | ||||
Product Version | |||||||||
Target Version | Fixed in Version | master (dev code) | |||||||
Summary | 0007415: Var region can not load .raw (LLRAW) terrains bigger than 256x256 | ||||||||
Description | If trying to load a 768x768 .raw (LLRAW) terrain file into a 768x768 var region, it fails with the error message: 2015-01-15 15:38:24,779 ERROR - OpenSim.Region.Framework.Scenes.EventManager [EVENT MANAGER]: Delegate for TriggerOnPluginConsole failed - continuing. Unable to load heightmap: wrong size, use a file with size 768 x 768 at OpenSim.Region.CoreModules.World.Terrain.Ter rainModule.LoadFromFile (System.String filename) [0x00000] in <filename unknown>:0 at OpenSim.Region.CoreModules.World.Terrain.TerrainModule.InterfaceLoadFile (System.Object[] args) [0x00000] in <filename unknown>:0 at OpenSim.Region.CoreModules.Framework.InterfaceCommander.Command.Run (System.Object[] args) [0x00000] in <filename unknown>:0 at OpenSim.Region.CoreModules.Framework.InterfaceCommander.Commander.ProcessConsoleCommand (System.String function, System.String[] args) [0x00000] in <filename unknown>:0 at OpenSim.Region.CoreModules.World.Terrain.TerrainModule.EventManager_OnPluginConsole (System.String[] args) [0x00000] in <filename unknown>:0 at OpenSim.Region.Framework.Scenes.EventManager.TriggerOnPluginConsole (System.String[] args) [0x00000] in <filename unknown>:0 The same terrain loads fine as a .png or .r32/.f32 file, saves apparently fine as a new .raw (LLRAW) file, but can't be reloaded as a .raw, while it reloads fine if saved as a new .png or .r32/.f32 file. The length and structure of both original and freshly saved .raw file appears correct with a size of 7667712 (768x768x13) bytes and similar 13 byte repeat sequences. My guess is the LLRAW loader either calculates the dimensions wrong or uses hard-coded 256x256 dimensions still for .raw files. | ||||||||
Steps To Reproduce | Create a 768x768 var region. Try loading a 768x768 .raw (LLRAW) file. See error in console and log. | ||||||||
Tags | No tags attached. | ||||||||
Git Revision or version number | 0.8.0.3 | ||||||||
Run Mode | Grid (1 Region per Sim) | ||||||||
Physics Engine | BulletSim | ||||||||
Script Engine | |||||||||
Environment | Mono / Linux32 | ||||||||
Mono Version | 2.10 | ||||||||
Viewer | Singularity 1.8.6 for OSX | ||||||||
Attached Files | ![]() | ||||||||
![]() |
|
(0027380) Magnuz (reporter) 2015-01-28 09:12 |
Added patch calculating the terrain size for LLRAW the same way as for RAW32 instead of assuming default 256x256. |
(0027636) justincc (administrator) 2015-02-27 16:43 |
Committed as git master fad4d4d. In this case, I had to add the missing "using OpenSim.Framework" statement to get it to compile. |
(0028001) Magnuz (reporter) 2015-04-13 11:50 |
Verified and closing. |
![]() |
|||
Date Modified | Username | Field | Change |
2015-01-15 09:41 | Magnuz | New Issue | |
2015-01-28 09:09 | Magnuz | File Added: 0001-Permit-loading-of-LLRAW-files-bigger-than-256x256.patch | |
2015-01-28 09:12 | Magnuz | Note Added: 0027380 | |
2015-01-28 09:12 | Magnuz | Status | new => patch included |
2015-01-28 09:14 | Magnuz | Operating System | OpenSim release => Linux/Ubuntu 12.04 32b |
2015-01-28 09:14 | Magnuz | Operating System Version | 0.8.0.3 => 0.8.0.3 release |
2015-01-28 09:14 | Magnuz | Platform | Linux/Ubuntu 12.04 32b => Intel Core i7-3770, 32 GB |
2015-02-27 16:43 | justincc | Note Added: 0027636 | |
2015-02-27 16:43 | justincc | Status | patch included => resolved |
2015-02-27 16:43 | justincc | Resolution | open => fixed |
2015-02-27 16:43 | justincc | Assigned To | => justincc |
2015-04-13 11:50 | Magnuz | Note Added: 0028001 | |
2015-04-13 11:50 | Magnuz | Status | resolved => closed |
2015-04-13 11:50 | Magnuz | Fixed in Version | => master (dev code) |
Copyright © 2000 - 2012 MantisBT Group |