Apparent IrrEdit-Irrlicht Display Discrepency

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mtest
Posts: 10
Joined: Mon Feb 18, 2008 8:41 pm

Apparent IrrEdit-Irrlicht Display Discrepency

Post by mtest »

Forgive me if this is relating to some trivial aspect of my ignorance, but I have noticed that when I use IrrEdit (1.4alpha, I believe) to wrap a 'flat-map' of the world around a simple sphere, it works fine. When however, Irrlicht 1.3 compiles into full-screen mode, the globe somehow becomes a billboard with a pyramidal aspect on the vertical ends.

The code is a superimposed directly unto the example for loading .irr files, to produce the result, with my filename.

It SEEMS part of the map is being duplicated on these lovely appendages to the square.

This may be one of those things with associations somewhere to its manifest, but really, I haven't the slightest idea whats causing this nor how to fix it. Perhaps directx is doing something I don't like? OpenGL produces the same shape, but completely white. In Fact, everything seems to.

Thanks for any explanation in advance, and please let me know if there is any more useful data I can provide.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

If the geometry is deformed, it could be a bug in the mesh loader. What format of mesh is your sphere, and can we have a copy for testing please?
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
mtest
Posts: 10
Joined: Mon Feb 18, 2008 8:41 pm

Post by mtest »

Gladly! I presume you won't mind my emailing the entire project directory.

I'll include a screen shot in the event you don't duplicate the error. Please forgive my messy files. Still, all spheres seem to show the behavior.

Err... And the type of mesh? I was just using the default sphere node option with irredit itself (which I presume functions similar to a mesh. In fact, I just now looked at a 'sphere mesh' source and it said 'create mesh', so I'll send you the files assuming its whatever mesh irredit creates internally.)

I hope this isn't somehow a problematic inflation of normal behavior... sorry. But be that the case, so kind as to tell me?

They will be compressed in a 7-zip archive.

If there is any other information I can possibly provide, just ask.

Err. I suppose you'll be getting this in your email shortly. Ah, well. Let the public know for initial description.

Thanks for taking a look.
Last edited by mtest on Wed Feb 20, 2008 11:59 pm, edited 1 time in total.
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The 1.3 sphere scene nodes did not have proper sphere map coords, the texture was duplicated on the node. All white meshes under OpenGL are typical for a 1.1 OpenGL driver, i.e. you have to update your gfx driver.
mtest
Posts: 10
Joined: Mon Feb 18, 2008 8:41 pm

Post by mtest »

Thanks Again. While I have the time, I'll endeavor to do address this now...

it definitely sounds like the problem.
mtest
Posts: 10
Joined: Mon Feb 18, 2008 8:41 pm

Gracias

Post by mtest »

I simply moved to 1.4 and that solved the sphere problem. I've yet to upgrade openGL, but I'll try it sometime soon.

I saw the square and its hypotenuse in wire frame mode.

Snow days are AWESOME! Though you know how back in the prop days planes would occasionally be catapulted into an airborne state off the decks of normally non-aircraft-enabled vessels? Well, stepping out the front door this morning felt something like that.

Anyhow, that was really helpful.

On the extreme off-chance I ever stop using irrlicht, I'll somehow have to drag irr-edit with me.
Post Reply