ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator Getting started... not working right
person icon
Ertai
Registered User
Quote
2007-05-30 14:50:52

I have a question. I manage to make my scene (simple scene: one house, one tree and terrain). Make the tutorial 15 for Irrlicht engine site (program) and try to view results of my "work". And I'm unable to see the terrain. I see sky box, see tree, see house but not the terrain.

On IrrEdit I have (objects): startup skybox, mesh (house), ocTree (tree), camera, terrain.

I've copy the texture folder and the mes folder to the main program folder.

I'm getting this messages on the console:

Irrlicht Engine version 1.3
Microsoft Windows XP Professional Dodatek Service Pack 2 (Build 2600)
Using renderer: OpenGL 2.0.6067
RADEON 9600 x86/MMX/3DNow!/SSE2: ATI Technologies Inc.
OpenGL driver version is 1.2 or better.
Loaded texture: textures/editor_defaults/default_skybox2.jpg
Loaded texture: textures/editor_defaults/default_skybox3.jpg
Loaded texture: textures/editor_defaults/default_skybox0.jpg
Loaded texture: textures/editor_defaults/default_skybox1.jpg
Loaded texture: textures/editor_defaults/default_skyboxup.jpg
Loaded texture: textures/editor_defaults/default_skyboxdn.jpg
Could not open file of texture: fw12b.jpg
Loaded texture: meshes/fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Could not open file of texture: fw12b.jpg
Loaded mesh: meshes/house.3ds
Could not open file of texture: PLANTS09.JPG
Loaded texture: meshes/PLANTS09.JPG
Could not open file of texture: LEAFS.JPG
Could not open file of texture: meshes/LEAFS.JPG
Could not load a texture for entry in 3ds file: LEAFS.JPG
Could not open file of texture: LEAFSA.PNG
Loaded texture: meshes/LEAFSA.PNG
Loaded mesh: meshes/tree_cluster_13.3ds
Needed 38ms to create OctTree SceneNode.(69 nodes, 3472 polys)
Loaded texture: textures/editor_defaults/default_particle.png
Could not load terrain, because file could not be opened.:
Could not create scene node of unknown type: terrain
Loaded texture: textures/editor_defaults/default_terrain_texture.jpg
Loaded texture: textures/editor_defaults/default_detailmap.jpg


My program is like this:

[code]#include <irrlicht.h>
#include <iostream>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;

#pragma comment(lib, "Irrlicht.lib")
int main()
{
     // ask user for driver

     video::E_DRIVER_TYPE driverType;

     printf("Please select the driver you want for this example:\n"\
          " (a) Direct3D 9.0c\n (b) Direct3D 8.1\n (c) OpenGL 1.5\n"\
          " (d) Software Renderer\n (e) Apfelbaum Software Renderer\n"\
          " (f) NullDevice\n (otherKey) exit\n\n");

     char i;
     std::cin >> i;

  &

person icon
Virion
Registered User
Quote
2007-05-31 12:51:49

did you used the latest irredit?

person icon
niko
Moderator
Quote
2007-05-31 14:12:36

Or just use the irrlicht version from the svn or the one included in the irredit package under 'source'.

person icon
Vacuus
Guest
Quote
2007-07-13 08:18:36

Errr, have you copied the textures across? They *should* be in your programs working directory. If that don't work, edit the .irr file with notepad or another text editor (As it's just XML), and search for the file coming up in your errors. Then make sure it's in the right folder (relative to the exe)..

Dunno, but sound like a path issue to me.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |