[Opensim-users] terrain load-tile questions

jon cundill jcundill at gmail.com
Sat Nov 1 21:38:36 UTC 2008


>command is supported by the png fileloader
whoops, is NOT supported by the png fileloader

jonc

2008/11/1 jon cundill <jcundill at gmail.com>

> Hi
>
>
> >For a PNG or RAW file to be loaded for all 4 regions it has to be sized
> >512x512.  Is that correct?
>
> For RAW files this is correct. However the load-tile command is supported
> by the png fileloader - currently you can only load tile with secondlife and
> L3DT files
>
> >When I load it using the terrain load-tile command I would use what
> >information?
> >
> >terrain load-tile myterrain.png 2 2 ? ?
> >
> >What goes in the question marks is this the bottom left region
> >coordinations?
>
> Correct, so terrain load-tile myterrain.raw 2 2 100 100 in your example
>
>
> >Do I need to do "change-region" to the bottom left region first?
>
> No, you need to make sure you are in the root region, so change-region ..,
> or change-region root before you load the terrain.
>
> terrain load-tile won't work properly if you've changed into one of your
> regions when you issue the command
>
> Note: terrain load and terrain load-tile take the filename extension of the
> terrain file to decide which loader to use. For L3DT the expected extension
> is .f32 or .r32. The file needs to be renamed to this extension for it to
> load with the L3DT loader. Any file with a .raw extension is assumed to be a
> second life terrain file, which also has a .raw extension but a completely
> different file format.
>
> See http://opensimulator.org/wiki/Using_L3DT <http://opensimulator.org/wiki/Using_L3DT>
>
> for details on using L3DT
>
> Regards
>
> jonc
>
>
> 2008/11/1 matt raffel <matt.raffel at mindspring.com>
>
> I have seen that error as well when I expect the .RAW from L3DT.   I
>> export PNG and it works.  I assume that L3DT does not make the RAW file
>> correctly.   The RAW files I downloaded from the opensimulator wiki
>> loaded fine if I put my sims at 1 1.
>>
>> Anyone have some help on the terrain load-tile questions I posted earlier?
>>
>> Thnx
>> Matt
>>
>> Generic Email wrote:
>> > When I try to load a terrain, I get
>> >
>> >
>> > terrain load 1x1-island.f32.raw
>> > 09:44:00 - [Console]: Command [terrain load 1x1-island.f32.raw] failed
>> > with exception System.IO.EndOfStreamException: Failed to read past end
>> > of stream.
>> >    at System.IO.BinaryReader.ReadByte () [0x00000]
>> >    at
>> > OpenSim
>> > .Region.Environment.Modules.World.Terrain.FileLoaders.LLRAW.LoadStream
>> > (System.IO.Stream s) [0x00000]
>> >    at
>> > OpenSim
>> > .Region.Environment.Modules.World.Terrain.FileLoaders.LLRAW.LoadFile
>> > (System.String filename) [0x00000]
>> >    at
>> > OpenSim
>> > .Region.Environment.Modules.World.Terrain.TerrainModule.LoadFromFile
>> > (System.String filename) [0x00000]
>> >    at
>> > OpenSim
>> > .Region
>> > .Environment.Modules.World.Terrain.TerrainModule.InterfaceLoadFile
>> > (System.Object[] args) [0x00000]
>> >    at
>> > OpenSim
>> > .Region.Environment.Modules.Framework.InterfaceCommander.Command.Run
>> > (System.Object[] args) [0x00000]
>> >    at
>> > OpenSim
>> > .Region
>> > .Environment
>> > .Modules.Framework.InterfaceCommander.Commander.ProcessConsoleCommand
>> > (System.String function, System.String[] args) [0x00000]
>> >    at
>> > OpenSim
>> > .Region
>> > .Environment
>> > .Modules.World.Terrain.TerrainModule.EventManager_OnPluginConsole
>> > (System.String[] args) [0x00000]
>> >    at (wrapper delegate-invoke)
>> > System.MulticastDelegate:invoke_void_string[] (string[])
>> >    at (wrapper delegate-invoke)
>> > System.MulticastDelegate:invoke_void_string[] (string[])
>> >    at (wrapper delegate-invoke)
>> > System.MulticastDelegate:invoke_void_string[] (string[])
>> >    at
>> > OpenSim.Region.Environment.Scenes.EventManager.TriggerOnPluginConsole
>> > (System.String[] args) [0x00000]
>> >    at OpenSim.Region.Environment.Scenes.Scene.SendCommandToPlugins
>> > (System.String[] args) [0x00000]
>> >    at OpenSim.Region.Environment.Scenes.SceneManager
>> > +<>c__CompilerGenerated23.<SendCommandToPluginModules>c__83[Scene]
>> > (OpenSim.Region.Environment.Scenes.Scene scene) [0x00000]
>> >    at
>> > OpenSim.Region.Environment.Scenes.SceneManager.ForEachCurrentScene
>> > (System.Action`1 func) [0x00000]
>> >    at
>> > OpenSim
>> > .Region.Environment.Scenes.SceneManager.SendCommandToPluginModules
>> > (System.String[] cmdparams) [0x00000]
>> >    at OpenSim.OpenSim.RunCmd (System.String command, System.String[]
>> > cmdparams) [0x00000]
>> >    at OpenSim.Framework.Console.ConsoleBase.RunCmd (System.String Cmd,
>> > System.String[] cmdparams) [0x00000]
>> >    at OpenSim.Framework.Console.ConsoleBase.RunCommand (System.String
>> > cmdline) [0x00000]
>> >
>> >
>> >
>> > On Nov 1, 2008, at 10:06 AM, matt raffel wrote:
>> >
>> >
>> >> I have 4 regions in a 2x2 grid setup.  Their coordinates are:
>> >> 100, 100
>> >> 101, 100
>> >> 100, 101
>> >> 101, 101
>> >>
>> >> Now I'm working on making some terrain (getting L3DT to actually work
>> >> woot!)   I'm having no success getting the terrain to load.
>> >>
>> >> For a PNG or RAW file to be loaded for all 4 regions it has to be
>> >> sized
>> >> 512x512.  Is that correct?
>> >>
>> >> When I load it using the terrain load-tile command I would use what
>> >> information?
>> >>
>> >> terrain load-tile myterrain.png 2 2 ? ?
>> >>
>> >> What goes in the question marks is this the bottom left region
>> >> coordinations?
>> >>
>> >> Do I need to do "change-region" to the bottom left region first?
>> >>
>> >> Thnx
>> >> Matt
>> >>
>> >>
>> >> _______________________________________________
>> >> Opensim-users mailing list
>> >> Opensim-users at lists.berlios.de
>> >> https://lists.berlios.de/mailman/listinfo/opensim-users
>> >>
>> >
>> > _______________________________________________
>> > Opensim-users mailing list
>> > Opensim-users at lists.berlios.de
>> > https://lists.berlios.de/mailman/listinfo/opensim-users
>> >
>> >
>> >
>>
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20081101/ec3d4f7f/attachment.html>


More information about the Opensim-users mailing list