1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Like RaceDepartment on Facebook.

BTB 1.0.0.1 Crash Cloud

Discussion in 'Bob's Track Builder' started by BrackoNe, Dec 5, 2015.

  1. I have the following problem:
    I can't load whole scanned track, but even when I manually short the track, and when I try to show it on the map, I get the following error:

    Frame work is installed. I'm using Windows 10 Pro (Serbian localization).

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentException: Value of '-2147483393' is not valid for 'green'. 'green' should be greater than or equal to 0 and less than or equal to 255.
    at System.Drawing.Color.CheckByte(Int32 value, String name)
    at System.Drawing.Color.FromArgb(Int32 alpha, Int32 red, Int32 green, Int32 blue)
    at System.Drawing.Color.FromArgb(Int32 red, Int32 green, Int32 blue)
    at †††
    †††Š’‰.†††
    †††Š’ˆ.†††
    †††˜ž(Int32 , Int32 , Int32 )
    at †††
    †††Š’‰.†††
    †††Š’ˆ.GetPointCloudSignalColor(Single Signal, Single MaxRange, Boolean InvertPercentage)
    at †††
    †††Š’‰.†††
    †††Š’ˆ.CreateVertexBuffer(GraphicsStream loVertexBufferData_PointCloud, Int32& miPointCloudCount, Int32 MaterialColor, †††
    †††Š‘ ColorByStyle, Color SolidColor, †††
    †††‹‘‰ ExcludeCloud)
    at †††
    †††Š’‰.†††
    †††Š’ˆ.CreateVertexBuffer(GraphicsStream loVertexBufferData_PointCloud, Int32& miPointCloudCount, Int32 MaterialColor, †††
    †††Š‘ ColorByStyle, Color SolidColor, †††
    †††‹‘‰ ExcludeCloud)
    at †††
    †††Šž†.†††
    †††Šž.CreateVertexBuffer(GraphicsStream loVertexBufferData_PointCloud, Int32& miPointCloudCount, Boolean CreateRoad, Boolean CreateGround, Boolean CreateTree, Boolean CreateWall, Boolean CreateBuilding, Boolean CreateOther, †††
    †††Š‘ ColorByStyle, Boolean ColorBySolidByCloud)
    at †††
    ††††’.†††
    ††††‘.CreateVertexBuffer_PointCloud()
    at †††
    †††‡—.†††
    †††‡—Œ.†††
    †††‘ŽŠ(Object )
    at †††
    †††‡—.†††
    †††‡—Œ.CreateVertexBuffer_PointCloud()
    at †††
    †††‡‘‘.†††
    †††‡‘.†††
    †††—(Object )
    at †††
    †††‡‘‘.†††
    †††‡‘.ShowHideScans(Boolean Show)
    at †††
    †††‡‘‘.†††
    †††‡‘.butScansShowAll_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    _
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    BobsTrackBuilder
    Assembly Version: 1.0.0.1
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    ab2ac01b-e79d-4bed-b8f1-ae75dc122121
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8662 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    Microsoft.DirectX
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/Microsoft.DirectX.DLL
    ----------------------------------------
    Microsoft.DirectX.Direct3D
    Assembly Version: 1.0.2902.0
    Win32 Version: 9.05.132.0000
    CodeBase: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/Microsoft.DirectX.Direct3D.DLL
    ----------------------------------------
    Microsoft.DirectX.Direct3DX
    Assembly Version: 1.0.2911.0
    Win32 Version: 9.12.589.0000
    CodeBase: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/Microsoft.DirectX.Direct3DX.DLL
    ----------------------------------------
    Microsoft.VisualC
    Assembly Version: 8.0.0.0
    Win32 Version: 8.00.50727.9185
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
    ----------------------------------------
    ICSharpCode.SharpZipLib
    Assembly Version: 0.85.5.452
    Win32 Version: 0.85.5.452
    CodeBase: file:///C:/Program%20Files%20(x86)/BobsTrackBuilder/ICSharpCode.SharpZipLib.DLL
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     
  2. Test file is in the attachment.
     

    Attached Files:

    • tst.txt
      File size:
      913.3 KB
      Views:
      23
  3. ebrich

    ebrich
    Premium Member

  4. Put a 4th column in for the intensity. Fill it with a fake number in the 100-600 range; you might have to use a different number for the first row, but the rest can be the same number. Move your elevation/altitude column from the 3rd column to the 2nd column.

    It's advisable to translate your easting & northing so that it centers on 0,0 (or at least puts one corner of your import to 0,0). Elevation works better if the lowest point is brought down near 0 meters, too.

    My columns for importing are:
    Easting(UTM meters),Elevation (meters),Northing(UTM meters),Intensity
     
    • Winner Winner x 1