This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unsupported bezier patches patch_div_s Fix
#7
(10-07-2012, 11:31 PM)sum2012 Wrote:
Code:
VideoEngine.java

    private void drawBezier(int ucount, int vcount) {
        if ((ucount - 1) % 3 != 0 || (vcount - 1) % 3 != 0) {
            log.warn("Unsupported bezier parameters ucount=" + ucount + " vcount=" + vcount);
            return;
        }
        
        if (context.patch_div_s <= 0 || context.patch_div_t <= 0) {
        log.warn("Testing fix for Unsupported bezier patches patch_div_s=" + context.patch_div_s + " patch_div_t=" + context.patch_div_t); //change here
        if (context.patch_div_s < 1){ context.patch_div_s = 1 ;}//change here
        if (context.patch_div_t < 1){ context.patch_div_t = 1;}//change here
         // return;  //change here
        }
        initRendering();
      ...

Second Novel Kanojo no Natsu 15 fun no Kioku Menu
Rev2758
http://imageshack.us/a/img141/1503/menubad.jpg
Rev2758 fixed version
http://imageshack.us/a/img715/8963/menuok.jpg

Hope apply the offical version.Thanks

Edit:Add log file
Thank you for your research!
I've tested different parameter combinations on a real PSP using the splinesurface demo.
The problem should now be fixed in r2760.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply


Messages In This Thread
RE: Unsupported bezier patches patch_div_s Fix - by gid15 - 10-09-2012, 04:15 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)