Hi,
I'm currently trying to use Ogre for a sligthly different goal.
I'm currently working in a video surveillance software company.
I'm using Ogre to create artificial video scene to input it in our video surveillance system.
I'm trying to configure Ogre to render only on texture, and extract image from texture in a raw format.
Does anyone know how I can do this??? (I can manage to read from texture, but not to disable main screen)
Thank you
Use ogre without display screen
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
-
- Gnoblar
- Posts: 1
- Joined: Mon Apr 28, 2003 8:03 pm
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
You don't have a context without an initial window. This is true for GL under windows, I'm not sure about other platforms, I think GLX can live with a pbuffer as primary context. That's why I said "most portable solution". It's also the most easy solution to implement.
And yes, you really need a window context for the primary rendersystem initialisation. Without a context you can't create textures, hardware buffers, and other rendersystem objects.
And yes, you really need a window context for the primary rendersystem initialisation. Without a context you can't create textures, hardware buffers, and other rendersystem objects.
-
- OGRE Retired Moderator
- Posts: 4011
- Joined: Fri Sep 19, 2003 6:28 pm
- Location: Burgos, Spain
- x 2
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
-
- Gnoblar
- Posts: 21
- Joined: Sat May 07, 2005 4:41 am
Why is disabling the main screen important? I'm not suggesting you ignore the boss, but you might want to ask if rendering without a context is that important, as it will require quite a bit of work on your part. Generally, bosses are happy to change small things in the requirements if it saves the company time or money (NOTE: This does not apply if you work for the government).