I just installed and I hardcoded this -
string path="C:/Program Files/irrlicht-0.14.0/media/";
but i get an error on this statement-
node.SetMaterialTexture(0, driver.GetTexture(path + "wall.bmp"));
Error -
An unhandled exception of type 'System.NullReferenceException' occurred in irrlicht.net.dll
I quickwatch and it LOOKS ok ??
Help !!! Randy
MS .NET 1.03705
MS VS 20027.0.9955
Help with Path
.net 1.0 ???
Eeeeek.
1.0 is ancient, which probably means you are stuck using visual studio 2002, which is also ancient, and well known as problematic. The 2003 version introduced .net 1.1 which is an improvement, but lucky for you, the 2005 version of visual studio is FREE so upgrade already![Smile :)](./images/smilies/icon_smile.gif)
http://msdn.microsoft.com/vstudio/express/
(Different versions for VB, C#, J#, C++ and web development)
This will bring you up to the latest 2.0 .net - Though I'm not sure of the compatability of the Irrlicht.Net assemblies with the ancient 1.0 setup or if it will directly fix your problem. Paths in Irrlicht.Net can be a pain in the neck at the best of times.
2.0 introduces a LOT of new, very usefull stuff that is just not available anywhere else - and is completely compatable with the current Irrlicht.Net assemblies.
Eeeeek.
1.0 is ancient, which probably means you are stuck using visual studio 2002, which is also ancient, and well known as problematic. The 2003 version introduced .net 1.1 which is an improvement, but lucky for you, the 2005 version of visual studio is FREE so upgrade already
![Smile :)](./images/smilies/icon_smile.gif)
http://msdn.microsoft.com/vstudio/express/
(Different versions for VB, C#, J#, C++ and web development)
This will bring you up to the latest 2.0 .net - Though I'm not sure of the compatability of the Irrlicht.Net assemblies with the ancient 1.0 setup or if it will directly fix your problem. Paths in Irrlicht.Net can be a pain in the neck at the best of times.
2.0 introduces a LOT of new, very usefull stuff that is just not available anywhere else - and is completely compatable with the current Irrlicht.Net assemblies.
Sometimes you've just gotta say, the laws of time and space, who gives a smeg ?!
Irrlicht.Net Information - http://www.irrforge.org/index.php/.net
Irrlicht# (aka the C# port) - http://irrlichtsharp.sourceforge.net
Irrlicht.Net Information - http://www.irrforge.org/index.php/.net
Irrlicht# (aka the C# port) - http://irrlichtsharp.sourceforge.net
-
- Posts: 12
- Joined: Fri Feb 17, 2006 11:53 pm