Scissoring or clipping questions

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Ghoti
Posts: 288
Joined: Sat Dec 31, 2005 11:06 pm

Scissoring or clipping questions

Post by Ghoti »

Hi folks,

since the clippingplanes that the psp includes are not very usefull because all my triangles are deleted to soon, i have to make my own i guess.

well sub question: i have read on the forum this thread: http://forums.ps2dev.org/viewtopic.php? ... n+clipping He has the same problem however his game does not need it.
If i turn off the clipping planes (by disabling them) my game does not crash but it just doesn't clip them it deletes them entirely when it would normally be clipped :S, so there has not been an answer to whether it is possible to turn it off. Is it possible?

My main question however is related to creating your own clipping.
I have these issues i'd like to solve before i'm going to implement something. I have tried using 2d sprite function with 3d rendering but it did not show more then one 2d sprite and i could not get it correctly on the screen. I would be able to render text to the screen with my own clipping without putting the text to far into space so that other objects can overlap them.

last but not least how do you go about making an own frustrum and correct clipping/scissor ?

greets ghoti
be2003
Posts: 144
Joined: Thu Apr 20, 2006 2:46 pm

Post by be2003 »

hope this helps, there is the source at the bottom of the page...
http://www.cubic.org/docs/3dclip.htm
- be2003
blog
Ghoti
Posts: 288
Joined: Sat Dec 31, 2005 11:06 pm

Post by Ghoti »

thanks but then i still don't know how to turn off the scissoring to do it myself.

furthermore, why did sony do the clipping like this? why did they not use a better algorithm?
Post Reply