Polygons abruptly cut-off

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
Guest

Polygons abruptly cut-off

Post by Guest »

Hi!

This is my first post in these forums, I downloaded Irrlicht 3 days ago and I’ve been messing around with Object (nodes/meshes whatever you want to call them) movement, and rotation... this isn't difficult at all and I’m impressed with Irrlicht so far, and plan to use it for my next game.

my problem is though that when an object gets close to the edge of the screen it doesn't render the polygons that are sticking even a tiny bit out of the window... :!: here's an example.

Next to the edge it cuts off all the polygons that aren't completely in the window.
Image

In the middle of the window the object shows up fine
Image

I appreciate this aggressive "culling", but is there someway to turn it off so that when an object gets next to the window edge it looks like this?

Image
(I made this image in m$ paint from the other two, not a real screenshot :roll: )

Thanks in advance. :D

--Peter
Peter
Posts: 4
Joined: Tue Apr 04, 2006 5:43 pm
Location: Witness Protection Program

Post by Peter »

Doh! That was me...
I thought I was registered and logged in when I made the post! :oops:
There are 10 kinds of people in this world...
Those who understand binary...
And those who don't.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

I guess you're using the software device (first parameter in createDevice). The old software device doesn't clip triangles at all, but all the other devices do - try using software2, opengl, or direct3d instead
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Peter
Posts: 4
Joined: Tue Apr 04, 2006 5:43 pm
Location: Witness Protection Program

Post by Peter »

Thanks! You were right!
i was using EDT_SOFTWARE for some reason... :shock:

i changed it to EDT_OPENGL and not only does it no longer do that nasty culling stuff, but it looks alot nicer (i was starting to worry about the way it looked :wink: )
There are 10 kinds of people in this world...
Those who understand binary...
And those who don't.
Post Reply