[GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellation

Threads related to Google Summer of Code
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

Thanks. :) Though I admit that is probably at least partially due to me disabling many of the samples that are broken. :lol:
Gwenn_
Kobold
Posts: 30
Joined: Tue Dec 10, 2013 11:08 pm
x 1

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by Gwenn_ »

FYI, the GL3+ renderer doesn't build on Windows as of the last 2.0 commit (the one I checked).

Code: Select all

1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(817): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(817): error C2228: left of '.left' must have class/struct/union
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(817): error C2228: left of '.right' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(818): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(818): error C2228: left of '.top' must have class/struct/union
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(818): error C2228: left of '.bottom' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(819): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(819): error C2228: left of '.front' must have class/struct/union
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(819): error C2228: left of '.back' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(831): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(831): error C2228: left of '.format' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(832): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(832): error C2228: left of '.format' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(846): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(846): error C2228: left of '.getWidth' must have class/struct/union
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(846): error C2228: left of '.rowPitch' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(847): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(847): error C2228: left of '.rowPitch' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(852): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(852): error C2228: left of '.getHeight' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(853): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(853): error C2228: left of '.getWidth' must have class/struct/union
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(853): error C2228: left of '.getHeight' must have class/struct/union
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(854): error C2027: use of undefined type 'Ogre::PixelBox'
1>          c:\ogre2\ogremain\include\OgrePrerequisites.h(232) : see declaration of 'Ogre::PixelBox'
1>..\..\..\RenderSystems\GL3Plus\src\win32\OgreWin32Window.cpp(854): error C2228: left of '.getTopLeftFrontPixelPtr' must have class/struct/union
Could be an issue on my end but maybe this is useful...
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by masterfalcon »

You should be using the default branch. It's quite possible that it's been fixed there already.
Gwenn_
Kobold
Posts: 30
Joined: Tue Dec 10, 2013 11:08 pm
x 1

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by Gwenn_ »

Okay, I was working with Ogre2 and thought that could help. The default branch is 1.9 as far as I understand, so GL3+ work is done on this branch ?
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 99

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by Wolfmanfx »

No this code is still not merged.
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

Anyone wishing to test the latest GL3+ should use the default branch from the ogre-gl3plus-clean repo.

Also it is worth mentioning that I have tested on both Windows and Linux using gcc, MinGW and Visual Studio 2012 on both AMD and NVIDIA hardware. All work fine with the latest drivers.
Gwenn_
Kobold
Posts: 30
Joined: Tue Dec 10, 2013 11:08 pm
x 1

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by Gwenn_ »

I shouldn't have doubted :mrgreen:

Thanks a lot, sorry for the false alarm. I'll try the correct branch.
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

My GSoC work has been merged into ogre/default. I have created a new ogre-gl3plus-beta fork that will contain my post-GSoC work, including merging in the GSoC work that I did not have time to fully test and debug. I aim to submit my GL3+ beta pull request by January 15th, though I will see if I cannot get it done sooner.

Otherwise, my near future plans remain largely the same:
holocronweaver wrote:[s]Once finals are over this week[/s] Once I return from my holiday travels I will begin merging in the rest of the summer's GSoC work, flatten out any remaining issues with the visual tests and samples, and then proceed to work on feature completion. After a bit of testing (with your help!), I will dub the release beta and create a second upstream pull request. The first 'stable' release will happen sometime in January and will include me adding my GSoC samples, tests, and any features I did not get around to during beta.

I will try with all my might to make beta release feature complete so that we can have a chance to thoroughly stress test prior to stable release. The samples and visual tests will help, but I will also be counting on users to begin playing with / practically using GL3+ in their own applications to really pick out the weak points. To this end I will be adding an updated basic framework to the OGRE wiki which will allow for building your own applications with the GL3+ RS. The new framework will use a purely shader based approach without using RTSS. No fixed-function pipeline allowed. :)
In addition, as soon as the GL3+ stable release is merged, I will begin helping out with Ogre 2.0, including making sure the GL3+ RS and its samples work. Like the GL3+ RS, I plan to use Ogre 2.0 in my personal projects, so I have a vested interest in seeing the whole come together.

This concludes my GSoC forum posts. To continue following my work, please see the OpenGL 3+ render system thread.