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
#1
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


Attached Files
.zip   Log_r2758(32bit)_FIX.zip (Size: 3.33 KB / Downloads: 98)
Reply
#2
Cant you add the code directly to google svn so that you version appears on buildbot.orphis.net for example ?
Or do you have to be aproved by gid15 fist ? I dont know how this works ?
Reply
#3
I don't know how to add the code directly to google svn.
I also don't know have to be aproved by gid15 fist.
Offical code do not render the graphic when "context.patch_div_s <= 0 or context.patch_div_t <= 0)"
I also change the value to 1 to prevent Indexoutofbound.
(10-08-2012, 01:06 PM)digiadventures Wrote: Cant you add the code directly to google svn so that you version appears on buildbot.orphis.net for example ?
Or do you have to be aproved by gid15 fist ? I dont know how this works ?

Reply
#4
Well I went to google svn and this is what it says:
"How-to: Join this project by contacting the project owners, usually through participating in a mailing list"

So yeah you need to contact gid15 to add you to the list and then you can just change the code and new versions will be automatically made of what ever changes you make on for example buildbot.

In the meantime,can you provide download for this version I want to test something Smile
Reply
#5
Just create a bug report and attach your tag there, the one responsible for the project will review it and apply it if they find it good enough (i.e. not breaking anything else).
Reply
#6
someone have helped me to create a bug report.
But he don't add these 2 lines
Code:
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
I have mention him in there

To digiadventures
Please test Big Grin
http://www.mediafire.com/download.php?81ez23g1p9752ay
Reply
#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
#8
Yes fixed,thanks you.
Attach R2762 log
(10-09-2012, 04:15 PM)gid15 Wrote: 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.



Attached Files
.html   R2762log.html (Size: 35.48 KB / Downloads: 110)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)