Page 7 of 7

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

Posted: Wed Dec 18, 2013 9:31 pm
by holocronweaver
Thanks. :) Though I admit that is probably at least partially due to me disabling many of the samples that are broken. :lol:

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

Posted: Thu Dec 19, 2013 12:04 am
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...

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

Posted: Thu Dec 19, 2013 12:09 am
by masterfalcon
You should be using the default branch. It's quite possible that it's been fixed there already.

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

Posted: Thu Dec 19, 2013 12:14 am
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 ?

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

Posted: Thu Dec 19, 2013 12:29 am
by Wolfmanfx
No this code is still not merged.

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

Posted: Thu Dec 19, 2013 12:59 am
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.

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

Posted: Thu Dec 19, 2013 1:08 am
by Gwenn_
I shouldn't have doubted :mrgreen:

Thanks a lot, sorry for the false alarm. I'll try the correct branch.

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

Posted: Mon Dec 30, 2013 8:24 pm
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.