Author Topic: Improving Yabause.  (Read 19221 times)

devmiyax

  • Newbie
  • *
  • Posts: 41
    • View Profile
Improving Yabause.
« on: November 05, 2011, 02:57:03 AM »
Hi,

These days, I'm improving Yabause.
At first I've implement "Window".

check out below.
http://www.youtube.com/watch?v=GsgLooE8dkY

To whom can I send patches?
Can I commit my code?


Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Improving Yabause.
« Reply #1 on: November 05, 2011, 12:47:27 PM »
Great!

You can post your patch(es) here: https://sourceforge.net/tracker/?atid=592128&group_id=89991&func=browse
We usually provide svn write access after a few patches.

You can meet us on IRC: irc://irc.freenode.net/yabause but you may to wait "a bit" as we're all on different timezones :)

devmiyax

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Improving Yabause.
« Reply #2 on: November 06, 2011, 08:10:01 AM »
I submited my patches.
I'll be happy,if you accept them.

By the way,what country do you live?

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Improving Yabause.
« Reply #3 on: November 06, 2011, 02:04:51 PM »
I applied your patch to the cmake branch, not to trunk.
The rationale is that this branch will "soon" be merged in trunk (in fact as soon as possible now) and it's easier for me to keep all new stuff in that branch...
anyways, thanks for the patch :)

I live in France :)

devmiyax

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Improving Yabause.
« Reply #4 on: November 12, 2011, 04:34:41 AM »
I added the patch for perspective correction.
http://www.youtube.com/watch?v=TzITZgtchMU&sns=em
« Last Edit: November 12, 2011, 08:15:10 AM by smiyax73 »

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Improving Yabause.
« Reply #5 on: November 15, 2011, 09:31:54 PM »
Patch applied :)

devmiyax

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Improving Yabause.
« Reply #6 on: November 20, 2011, 12:27:08 AM »
I added patch for gouraud shading including little shader management.

https://sourceforge.net/tracker/?func=detail&aid=3440358&group_id=89991&atid=592128

http://www.youtube.com/watch?v=xSvLecTHi8o

I changed my account name.
previous one is same as my gmail account. ;D

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Improving Yabause.
« Reply #7 on: November 28, 2011, 08:48:10 PM »
The patch apply cleanly against trunk, it does compile too... but if fails at runtime with "Compile error in vertex shader."

devmiyax

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Improving Yabause.
« Reply #8 on: December 03, 2011, 12:12:40 AM »
In my environment,this path works fine.
Does your GPU support OpenGL 2.0?
 

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Improving Yabause.
« Reply #9 on: December 03, 2011, 02:30:48 PM »
I have no idea...

is there any way to detect dependencies for you patch at compile time and/or runtime and use a fallback if they are not found?

devmiyax

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Improving Yabause.
« Reply #10 on: December 04, 2011, 03:38:48 AM »

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Improving Yabause.
« Reply #11 on: December 05, 2011, 11:04:40 AM »
Yeah, it does works :)
I'll include the patch this evening...

Btw, I'm getting a different error message now:
---------------
$ src/gtk/yabause
Compile error in vertex shader.
Shaderlog:
0:7(2): error: syntax error, unexpected ';', expecting $end
---------------

devmiyax

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Improving Yabause.
« Reply #12 on: December 05, 2011, 02:31:06 PM »
>0:7(2): error: syntax error, unexpected ';', expecting $end

it seems the shader compiler compatibility problem.
I can't reproduce your problem.But,may be,I can fix that.
Try below.

https://sourceforge.net/tracker/download.php?group_id=89991&atid=592128&file_id=430064&aid=3440358

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Improving Yabause.
« Reply #13 on: December 05, 2011, 07:53:16 PM »
Ok, I'm not getting any error at all with this patch, but I didn't included it... I'll let you do it :)

I gave you write access to the Yabause repository and created a new branch:

http://yabause.svn.sourceforge.net/viewvc/yabause/branches/yabause-opengl/

Please commit your changes to this branch for now, I want to make sure those OpenGL
changes doesn't break any ports before merging them to the trunk.

devmiyax

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Improving Yabause.
« Reply #14 on: December 06, 2011, 03:47:23 PM »
Thank you for the branch!
I've committed my patch.

If I commit my code, I'll report it here or on my youtube channel.

See you.