Horde3D

Next-Generation Graphics Engine
It is currently 23.11.2024, 00:17

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Forward Lighting Timer
PostPosted: 29.09.2010, 19:19 
Offline

Joined: 11.09.2010, 20:21
Posts: 44
Location: Germany
Hello,

I really like the new timing features (I actually did not know about this extremely cool GL extension until seeing it in Horde3D). I think it could be useful, if there were such a timer for the forward light loop too, as currently only for the deferred loop. Although I know, that the forward loop does not have such a high priority in Horde3D, I think it would not be too difficult to add it in.


Top
 Profile  
Reply with quote  
PostPosted: 12.10.2010, 23:27 
Offline

Joined: 11.09.2010, 20:21
Posts: 44
Location: Germany
Hi, I just integrated it myself into Horde3D. I added a new FwdLightsGPUTime constant and the neccessary code in the stat module and in Renderer::drawLightGeometry. I also updated the C++ and C# bindings to allow querying this new stat and the h3dutShowFrameStats method to show it with the other GPU timers. The examples work quite well and provide more useful information now. I would really like this to be officially integrated into Horde3D.


Attachments:
Horde3D_forward_timer.patch [5.67 KiB]
Downloaded 667 times
Top
 Profile  
Reply with quote  
PostPosted: 16.10.2010, 01:05 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Thanks for your patch. We will integrate it along with a timer for shadows very soon.


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 8 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:  
cron
Powered by phpBB® Forum Software © phpBB Group