I'm having an issue with my textures not displaying unless I'm using SOFTWARE rendering. I've tried this on 3 different computers. Running VS 2005 c# project. If I use software things look good, if I use DIRECT3D9(8) or OPENGL i get the SceneNodes just no textures on them. I'm in the process now of downloading the DX SDK to try and recompile the library to see if that has any effect.
Any ideas?
Thanks
No textures rendered unless SOFTWARE method used
As an addition: I'm using some minimalized code here, and it still isn't working :/
This code is based on IrrNet CP, because I wanted to see if that works any better.
I'm getting the same result on both wrappers:
Doesn't anyone have any ideas?
Code: Select all
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using IrrlichtNETCP;
namespace Muh
{
public partial class Form1 : Form
{
private IrrlichtDevice Device;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
Device = new IrrlichtDevice(DriverType.OpenGL, new Dimension2D(640, 640), 32, false, false, false, false);
Device.SceneManager.AddCameraSceneNodeMaya(null, -250, 100, 100, -1);
AnimatedMesh Mesh = Device.SceneManager.GetMesh("C:\\fighter.x");
Device.SceneManager.AddAnimatedMeshSceneNode(Mesh);
while (Device.Run())
{
Device.VideoDriver.BeginScene(true, true, new IrrlichtNETCP.Color(255,255,255,255));
Device.SceneManager.DrawAll();
Device.VideoDriver.EndScene();
}
}
}
}
I'm getting the same result on both wrappers:
Doesn't anyone have any ideas?