Mock render system
-
- OGRE Expert User
- Posts: 1227
- Joined: Thu Dec 11, 2008 7:56 pm
- Location: Bristol, UK
- x 157
Mock render system
I know this topic has been mentioned a few times in the past, and I am not sure it really fits under the title of a "Papercut".
However building an engine around Ogre will normally involve some decent testing and often some form of auto build system. Anyway, when testing the logic of your code you do not, or even sometimes cannot, launch a 3D window to do so (I am thinking more Auto build systems). So can I reopen the discussions about creating a mock render system which will still let Ogre run but not need any 3d hardware or drivers.
However building an engine around Ogre will normally involve some decent testing and often some form of auto build system. Anyway, when testing the logic of your code you do not, or even sometimes cannot, launch a 3D window to do so (I am thinking more Auto build systems). So can I reopen the discussions about creating a mock render system which will still let Ogre run but not need any 3d hardware or drivers.
- so0os
- Bugbear
- Posts: 833
- Joined: Thu Apr 15, 2010 7:42 am
- Location: Poznan, Poland
- x 33
Re: Mock render system
Do you mean Null Renderer? or software rendering?
Sos Sosowski
http://www.sos.gd
http://www.sos.gd
- betajaen
- OGRE Moderator
- Posts: 3447
- Joined: Mon Jul 18, 2005 4:15 pm
- Location: Wales, UK
- x 58
- Contact:
Re: Mock render system
Your talking about a NullRenderer. It's been discussed to death for a very long time now and there should be a few threads about various efforts.
It isn't really a paper cut though.
It isn't really a paper cut though.
- so0os
- Bugbear
- Posts: 833
- Joined: Thu Apr 15, 2010 7:42 am
- Location: Poznan, Poland
- x 33
Re: Mock render system
betajaen's right, think such renderer would have to do everything that normal renderer does to suffice calls to hardware buffers and such, and it would do it all in CPU too, i bet that would be slower than an actual renderer
Sos Sosowski
http://www.sos.gd
http://www.sos.gd
-
- OGRE Expert User
- Posts: 1227
- Joined: Thu Dec 11, 2008 7:56 pm
- Location: Bristol, UK
- x 157
Re: Mock render system
Yeah i know its been talked to death before and probably not a papercut! Its just something I need!! . As i have not looked at the render systems at all in Ogre, can anyone give me any idea how much effort it would be to create a NULL renderer, ie one that does no 3D calculations but still lets the system run. (NOT a software renderer)?
- so0os
- Bugbear
- Posts: 833
- Joined: Thu Apr 15, 2010 7:42 am
- Location: Poznan, Poland
- x 33
Re: Mock render system
Dirty hacks ftw!
Code: Select all
ShowWindow(mRenderWindow->getcustomAttribute("WINDOW"),SW_HIDE);
Sos Sosowski
http://www.sos.gd
http://www.sos.gd
- betajaen
- OGRE Moderator
- Posts: 3447
- Joined: Mon Jul 18, 2005 4:15 pm
- Location: Wales, UK
- x 58
- Contact:
Re: Mock render system
You'd effectively have to design an Ogre Render System. At least, you'd have to fill out every required function and give an expected result. It's quite complicated which why nobody hasn't written one yet.al2950 wrote:Yeah i know its been talked to death before and probably not a papercut! Its just something I need!! . As i have not looked at the render systems at all in Ogre, can anyone give me any idea how much effort it would be to create a NULL renderer, ie one that does no 3D calculations but still lets the system run. (NOT a software renderer)?
- syedhs
- Silver Sponsor
- Posts: 2703
- Joined: Mon Aug 29, 2005 3:24 pm
- Location: Kuala Lumpur, Malaysia
- x 51
Re: Mock render system
Actually there were already aquite a few attempts to write a null renderer, you can read about it here. There file there is still download-able, but need some love to port it to at least 1.7.x.
A willow deeply scarred, somebody's broken heart
And a washed-out dream
They follow the pattern of the wind, ya' see
Cause they got no place to be
That's why I'm starting with me
And a washed-out dream
They follow the pattern of the wind, ya' see
Cause they got no place to be
That's why I'm starting with me
-
- OGRE Expert User
- Posts: 1227
- Joined: Thu Dec 11, 2008 7:56 pm
- Location: Bristol, UK
- x 157
Re: Mock render system
@syedhs Thank you very much. I must admit i tried everything apart from "null" renderer when searching the forums
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Mock render system
If this was a papercut, it would require a **MONSTROUS** pair of scissors!
I think someone actually did make mock rendersystem, to be honest.
Can't be [s]arsed[/s] bothered to find the topic right now, but it should be easy enough: search for 'mock' in Using Ogre in Practice.
I think someone actually did make mock rendersystem, to be honest.
Can't be [s]arsed[/s] bothered to find the topic right now, but it should be easy enough: search for 'mock' in Using Ogre in Practice.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- xavier
- OGRE Retired Moderator
- Posts: 9481
- Joined: Fri Feb 18, 2005 2:03 am
- Location: Dublin, CA, US
- x 22
Re: Mock render system
Moved to Feature Requests (this is *so* NOT a Papercut) and locked.