Horde3D

Next-Generation Graphics Engine
It is currently 24.11.2024, 08:12

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 04.08.2011, 20:26 
Offline

Joined: 09.09.2009, 18:58
Posts: 107
You can ask pretty much anyone who has used the engine about using raw opengl alongside Horde3D and they will probably tell you that it is a rather big pain in the ass. So I propose an extension to the API that allows for low level drawing through Horde3D's device abstraction. It could be implemented as a single node on the scenegraph that stores a queue of drawing commands and then goes through them when the engine renders. I would personally love to implement this, as I already have something similar, however finicky. This however is limited to 2D only as a sort of "canvas". However, I find myself very short on time these days and am polling the forum for anyone who would like to assist me in this.

Such an extension could prove to be very effective at allowing things such as debug rendering for systems such as Bullet and PhysX, Heads up displays, and other debug information. I am actually a bit confused as to why such an API was not implemented from the beginning.

So... thoughts?


Top
 Profile  
Reply with quote  
PostPosted: 05.08.2011, 13:39 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
This might make some things more convenient for sure. But if you want to render between some specific steps of the currently used Horde3D pipeline, you have to make sure, all states are properly saved and restored. If you only want to draw over the currently used framebuffer, it may sufficient to have a function for restoring states.


Top
 Profile  
Reply with quote  
PostPosted: 05.08.2011, 14:05 
Offline

Joined: 09.09.2009, 18:58
Posts: 107
Its not so much an issue with rendering between stages so much as it is rendering outside horde at all. Since the rendering device is already abstractee it could be easy to add such functionality.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group