Horde3D http://horde3d.org/forums/ |
|
fast offscreen rendering http://horde3d.org/forums/viewtopic.php?f=2&t=1160 |
Page 1 of 1 |
Author: | JesusLopez [ 13.05.2010, 11:15 ] |
Post subject: | fast offscreen rendering |
Hi, I'm new to Horde. I would thank some desing advise to do optimized off-screen rendering. I read that I can do render to texture setting the OutputTex property of the camara, and I'd like to end with a frame in CPU memory, but would like to benefit of Frame Buffer Objects (or any other speedup). Can I do this with Horde3D? what would be the best philosohpy to do fast off-screen rendering with Horde3D? Thanks in advacne, Jesus |
Author: | phoenix64 [ 13.05.2010, 12:10 ] |
Post subject: | Re: fast offscreen rendering |
well, you definately could render into a texture and then use h3dMapResStream to read the data. Reading data from vram always is relatively slow though. |
Author: | JesusLopez [ 13.05.2010, 12:27 ] |
Post subject: | Re: fast offscreen rendering |
Thanks a lot, I'm nearer now. Fast answer! Quote: Reading data from vram always is relatively slow though. I need the frames for video encoding. |
Author: | phoenix64 [ 13.05.2010, 12:43 ] |
Post subject: | Re: fast offscreen rendering |
About the speed: http://www.gpgpu.org/phpBB2/viewtopic.p ... 14d4c43163 (The function is glGetTexImage, you might want to google that) Quote: Fast answer! Well, usually you have faster response times in IRC ;D |
Author: | JesusLopez [ 27.08.2010, 10:23 ] |
Post subject: | Re: fast offscreen rendering |
Hi, I'm doing my offscreen rendering quite fine via render to texture. What I would love is to be able to do this *windowless*, (I mean, I dont want to create a win32 window). Is this even possible, any hints about how it's done? Thank you in advance. |
Author: | Siavash [ 27.08.2010, 13:16 ] |
Post subject: | Re: fast offscreen rendering |
JesusLopez wrote: What I would love is to be able to do this *windowless*, (I mean, I dont want to create a win32 window). Is this even possible, any hints about how it's done? It is nearly impossible to do that, AFAIK easiest way is to use Windows Forms (dot net stuff) and set transparency/alpha for your form but application will be too slow. Have look at codeproject.com for tutorials.
|
Author: | JesusLopez [ 27.08.2010, 13:23 ] |
Post subject: | Re: fast offscreen rendering |
Siavash wrote: JesusLopez wrote: What I would love is to be able to do this *windowless*, (I mean, I dont want to create a win32 window). Is this even possible, any hints about how it's done? It is nearly impossible to do that, AFAIK easiest way is to use Windows Forms (dot net stuff) and set transparency/alpha for your form but application will be too slow. Have look at codeproject.com for tutorials.thanks Siavash |
Author: | Volker [ 27.08.2010, 14:58 ] |
Post subject: | Re: fast offscreen rendering |
JesusLopez wrote: Hi, I'm doing my offscreen rendering quite fine via render to texture. What I would love is to be able to do this *windowless*, (I mean, I dont want to create a win32 window). Is this even possible, any hints about how it's done? Thank you in advance. Depends on the platform you are using. I didn't tested it myself but a quick google showed up the following maybe interesting results: Mac http://lists.apple.com/archives/mac-opengl/2010/Mar/msg00077.html Linux / Windows http://www.gamedev.net/community/forums ... _id=534886 |
Author: | JesusLopez [ 30.08.2010, 08:51 ] |
Post subject: | Re: fast offscreen rendering |
Thanks Volker, I'm on windows, the Mesa stuff is interesting but I need to exploit the 3d hardware accel for rendering, I wonder if anybody has had good results with GDI memory or whole-screen Device Contexts and using perhaps h3dutInitOpenGL(). Kind regards, Jesus |
Author: | phoenix64 [ 30.08.2010, 16:20 ] |
Post subject: | Re: fast offscreen rendering |
And an invisible window is no viable solution for you? That one should be quite simple. |
Author: | JesusLopez [ 31.08.2010, 09:26 ] |
Post subject: | Re: fast offscreen rendering |
phoenix64 wrote: And an invisible window is no viable solution for you? That one should be quite simple. Thank you all, that works fairly well. Sort of hackish anyhow. ps: Great horde engine. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |