Ok i was able to reproduce an error 3 times in a row here is how i did
Start a new project
Add a terrain
objects >add mesh
select the Grass.tvm as filename
select generationmode fromfile and hit yes
select alpharef 128 and alphatest true
under C-Textures select Stage0Tex = None
Terain > add vegetation
choose mesh1 and hit yes
choose terain terrain1
Now start draw some Vegetations
Now select to undraw vegetations and undraw some
Now try to select media > add
if it works try click on the terainmap
Now i defenetly crash
here is the information from the Errorbox that appers (in swedish)
Translated this for you (Obejct reference is not given to an instace of a object.)
Information om att aktivera JIT-felsökning i stället för den
här dialogrutan finns i slutet av det här meddelandet.
************** Undantagstext **************
System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
vid a.w()
vid t.b()
vid ad.dx(Object A_0, EventArgs A_1)
vid System.Windows.Forms.Form.OnLoad(EventArgs e)
vid System.Windows.Forms.Form.OnCreateControl()
vid System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
vid System.Windows.Forms.Control.CreateControl()
vid System.Windows.Forms.Control.WmShowWindow(Message& m)
vid System.Windows.Forms.Control.WndProc(Message& m)
vid System.Windows.Forms.ScrollableControl.WndProc(Message& m)
vid System.Windows.Forms.ContainerControl.WndProc(Message& m)
vid System.Windows.Forms.Form.WmShowWindow(Message& m)
vid System.Windows.Forms.Form.WndProc(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Inlästa sammansättningar **************
mscorlib
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PlanetX Map Editor
Sammansättningsversion: 1.0.0.1
Win32-version: 1.0.0.1
CodeBase: file:///C:/Documents%20and%20Settings/MoonWolf.SMARTWEBB/Skrivbord/PXMERelease/PXME%20Release/PlanetX%20Map%20Editor.exe
----------------------------------------
Microsoft.VisualBasic
Sammansättningsversion: 8.0.0.0
Win32-version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
MTV3D65
Sammansättningsversion: 1.0.2737.32712
Win32-version:
CodeBase: file:///C:/Documents%20and%20Settings/MoonWolf.SMARTWEBB/Skrivbord/PXMERelease/PXME%20Release/MTV3D65.DLL
----------------------------------------
PlugInDefinition
Sammansättningsversion: 1.0.0.0
Win32-version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/MoonWolf.SMARTWEBB/Skrivbord/PXMERelease/PXME%20Release/PlugInDefinition.DLL
----------------------------------------
Manco.Licensing
Sammansättningsversion: 2.9.0.0
Win32-version: 2.9.0.0
CodeBase: file:///C:/Documents%20and%20Settings/MoonWolf.SMARTWEBB/Skrivbord/PXMERelease/PXME%20Release/Manco.Licensing.DLL
----------------------------------------
System.Web
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Xml
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web.resources
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.resources/2.0.0.0_sv_b03f5f7f11d50a3a/System.Web.resources.dll
----------------------------------------
wtdomg-h
Sammansättningsversion: 0.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Security
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
System.Management
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
mscorlib.resources
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.VisualBasic.resources
Sammansättningsversion: 8.0.0.0
Win32-version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_sv_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
System.Windows.Forms.resources
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Microsoft.VisualC
Sammansättningsversion: 8.0.0.0
Win32-version: 8.00.50727.42
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
System.resources
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.resources/2.0.0.0_sv_b77a5c561934e089/System.resources.dll
----------------------------------------
System.Design
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Accessibility
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Design.resources
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design.resources/2.0.0.0_sv_b03f5f7f11d50a3a/System.Design.resources.dll
----------------------------------------
System.Drawing.Design
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------
************** JIT-felsökning **************
För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för det här
tillämpningsprogrammet eller datorn (machine.config) ha
jitDebugging-värdet angivet i avsnittet system.windows.forms.
Tillämpningsprogrammet måste också vara kompilerat med felsökning
aktiverat.
Till exempel:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
När JIT-felsökning är aktiverad kommer alla undantag som inte hanteras
att skickas till JIT-felsökaren som är registrerad på datorn
snarare än att hanteras av den här dialogrutan.
HERE IS debugfile.txt
07-20-2007 15:37:10 | --------------------------------------------
07-20-2007 15:37:10 | Truevision3D Debug/Log File
07-20-2007 15:37:10 | --------------------------------------------
07-20-2007 15:37:10 | Engine Version : 6.5
07-20-2007 15:37:10 | DEVICE INIT : Calling process : C:\Documents and Settings\MoonWolf.SMARTWEBB\Skrivbord\PXMERelease\PXME Release\PlanetX Map Editor.exe Size : 5668864
07-20-2007 15:37:10 | ENGINE INFO : DLL Compilation time Jun 30 2007 19:08:33
07-20-2007 15:37:10 | DEVICE INIT : Initialize Depth
07-20-2007 15:37:10 | DEVICE INIT : Initializing the device in windowed mode, with a render surface size of 1094x762, format 22, depthbuffer 75
07-20-2007 15:37:10 | VIEWPORT MANAGER : Main viewport initialization
07-20-2007 15:37:10 | VIEWPORT MANAGER : Main viewport initialized (1094x762)
07-20-2007 15:37:10 | DEVICE INIT : Initialization successful !
07-20-2007 15:37:10 | DEVICE INFO : 3D Card : NVIDIA GeForce 7300 GS | Card ID : 479 | Driver ID : 663625
07-20-2007 15:37:10 | DEVICE INFO : Available texture memory : 471 MB
07-20-2007 15:37:10 | DEVICE INFO : Vertex Shaders 3.0 supported in hardware.
07-20-2007 15:37:10 | Debug info : vs fffe0300 ps ffff0300
07-20-2007 15:37:10 | DEVICE INFO : Pixel Shaders 3.0 supported in hardware.
07-20-2007 15:37:10 | DEVICE INFO : Driver used is a DirectX9-level driver 'nv4_disp.dll'. Excellent
07-20-2007 15:37:10 | DEVICE INFO : Card Type Geforce6xxx/7xxx/8xxx/ATIRadeonX1xxx Level card, third generation of programmable card
07-20-2007 15:37:10 | DEVICE INIT : Using Antialiasing with 2x1392664 samples
07-20-2007 15:37:10 | TEXTURE MANAGER : Loading of 'C:\Documents and Settings\MoonWolf.SMARTWEBB\Skrivbord\PXMERelease\PXME Release\media\Texture.bmp' successful 'GridTex5353434' on index 2
07-20-2007 15:37:10 | DEVICE INIT : Using Antialiasing with 4x1392664 samples
07-20-2007 15:37:10 | MESH TVM LOADER : Mesh 'Entity25' successfully loaded in 0 ms. 60 faces, 123 vertices, 3 groups
07-20-2007 15:37:10 | MESH TVM LOADER : Mesh 'Entity26' successfully loaded in 0 ms. 72 faces, 147 vertices, 4 groups
07-20-2007 15:37:10 | MESH TVM LOADER : Mesh 'Entity27' successfully loaded in 0 ms. 432 faces, 456 vertices, 3 groups
07-20-2007 15:37:10 | TEXTURE MANAGER : Successfully created a render surface 1094x762 on slot 3
07-20-2007 15:37:10 | TEXTURE MANAGER : Successfully created a render surface 1094x762 on slot 4
07-20-2007 15:37:10 | TEXTURE MANAGER : Successfully created a render surface 64x64 on slot 5
07-20-2007 15:37:12 | LANDSCAPE : Landscape object #0 has been initialized
07-20-2007 15:37:12 | LANDSCAPE : heightmap filename is a NULL ! Creating a empty terrain #0
07-20-2007 15:37:12 | LANDSCAPE : 1x1 Landscape successfully generated with 4225 vertices and 25350 indices in 0 milliseconds.
07-20-2007 15:37:12 | LANDSCAPE : Quadtree created for the landscape in 0 milliseconds.
07-20-2007 15:37:18 | VERTEX ELEM : 0 0 0 2 POSITION 0
07-20-2007 15:37:18 | VERTEX ELEM : 0 12 0 2 NORMAL 0
07-20-2007 15:37:18 | VERTEX ELEM : 0 24 0 2 BINORMAL 0
07-20-2007 15:37:18 | VERTEX ELEM : 0 36 0 2 TANGENT 0
07-20-2007 15:37:18 | VERTEX ELEM : 0 48 0 1 TEXCOORD 0
07-20-2007 15:38:16 | TEXTURE MANAGER : Loading of 'Grass.png' successful 'Grass.png' on index 6
07-20-2007 15:38:16 | MESH TVM LOADER : Mesh 'Mesh1' successfully loaded in 0 ms. 8 faces, 16 vertices, 1 groups
07-20-2007 15:38:16 | TEXTURE MANAGER : Couldn't save the texture to the file 'C:\Documents and Settings\MoonWolf.SMARTWEBB\Skrivbord\PXMERelease\PXME Release\temp\Grass.bmp'. Error Directx : -2005529767
07-20-2007 15:40:39 | MINI MESH MANAGER : Minimesh created with 50 items
07-20-2007 15:40:39 | MINI MESH MANAGER : Minimesh created with 50 items
07-20-2007 15:44:07 | START UNLOAD
07-20-2007 15:44:07 | RESSOURCE MANAGER : Engine successfully unloaded
HERE IS pxmdebug.txt
------------------------------------------------
PlanetX Map Editor Debug/Log File
------------------------------------------------
CORE : PlanetX Map Editor Version 1.0 Started.
SPLASH SCREEN : Splash screen shown.
LICENSE MANAGER : License data loaded. The editor evaulation has been expired.
SETTINGS : Attempting to load App.dat
SETTINGS : App.dat successfully loaded.
SETTINGS : Loading settings from App.dat.
SETTINGS : App.dat successfully closed.
SETTINGS : Attempting to load beta settings from file.
SETTINGS : Beta settings successfully loaded!
CORE : Closing Beta Info form, opening Project Manager form.
MENU : Refreshing projects list.
MENU : New project created. Closing menu, opening main form.
CORE : Begining core initialization.
CORE : Temporary folder cleared.
CORE : TrueVision3D 6.5 Initialization completed.
CORE : Default textures, materials, and settings associated with a new project set.
CORE : Rendering settings loaded.
CORE : Cameras initialized.
CORE : Terrain brushes initialized.
CORE : Manipulation meshes initialized.
CORE : Water surfaces initialized.
CORE : Grid recorded.
CORE : Initialization completed.
-----------------------------------------------------
CORE : Terrain added.
CORE : Mesh added.
PROP GRID : Mesh property Filename changed from to C:\Documents and Settings\MoonWolf.SMARTWEBB\Skrivbord\tv3d\PXMERelease\PXME Release\Backups\DemoScene_Medieval\Textures\Grass.tvm(Mesh1)
PROP GRID : Mesh property (GenerationMode) changed from Primitive to 1(Mesh1)
CORE : Mesh/Actor generated from file.
PROP GRID : Mesh property AlphaTest changed from False to True(Mesh1)
PROP GRID : Mesh property AlphaRef changed from 0 to 128(Mesh1)
CORE : Terrain Terrain1 selected.
CORE : Mesh Mesh1 selected.
PROP GRID : Mesh property Stage0Tex changed from Grid to (Mesh1)
CORE : Vegetation added.
PROP GRID : Vegetation property Mesh changed from to Mesh1(Vegetation1)
PROP GRID : Vegetation property Terrain changed from to Terrain1(Vegetation1)
CORE : Texture added.
I hope you can resolve things like this errors.
I alos noticed that when you add vegetations and changes the height of the terrain the vegetaitions height aint recalculated with it. so the dissapear if you choose to raise the terrain.
Regards,
MoonWolf