Holes in the level after its compiled, WTF?

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
RayOfAsh
Posts: 56
Joined: Wed Dec 24, 2003 4:08 am
Location: San Diego
Contact:

Holes in the level after its compiled, WTF?

Post by RayOfAsh »

I finnaly made the camera spawn where i wanted it to.

Code: Select all

	camera->setPosition(core::vector3df(-1370,-100,-1400));
I assume i shouldnt have to do that because in the original it was:

Code: Select all

	camera->setPosition(core::vector3df(0,100,0));
But anyways. Now that i can see the level, there are GIGANTIC chunks of the level missing, all in the form of triangles. Whats going on?


I assume its something with OpenGL =/.
Image
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

Are you using DirectX and are they all white?
Programmer of the Irrlicht Scene Editor:
Homepage - Forum Thread
Version 2 on its way!!
rt
Posts: 150
Joined: Sun Nov 30, 2003 6:54 am
Location: canada
Contact:

Post by rt »

if your level is in the .bsp format then you might want to read this thread http://irrlicht.sourceforge.net/phpBB2/ ... c.php?t=82. if your level is not a .bsp then perhaps the problems are related
RayOfAsh
Posts: 56
Joined: Wed Dec 24, 2003 4:08 am
Location: San Diego
Contact:

Post by RayOfAsh »

DarkWhoppy wrote:Are you using DirectX and are they all white?

First of all, i said i was using OpenGL. And the all white bug is a bug in OpenGL, not DirectX.

And thanks for the link, it works perfectly now ^^.
Image
IrrlichNewbie

It migth be the camera...

Post by IrrlichNewbie »

Well I a quite new around Irrlicht (I haven't even run it for the first time, still downloading) but I have worked with some other (rather sucky, dunno how this one will be) engines, and, depending on where you placed the camera, you could get really nice results or a complete disaster. From your code it seems you placed the camera away from the main guy/object/wathever and it is possible falling outside the level pretty often (this problem happened sometimes with a CD game called Prince of Persia). I migth be wrong in this, or I might not.
voltare

Post by voltare »

That problem seems to happen in many games, especially when you get to the edge of an area( to the guy above my post).and it seems to me, in a portal rendering -type engine...it seems to happen even more........( re: play morrowind for a while........)
Post Reply