WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-16-2011, 09:17 AM
kopper kopper is offline
Member
 
Join Date: Apr 2010
Posts: 18
Frame rate issue

This applies to Vizard R3 as well, but since I'm using R4, I'll post it here.

What is happening is that the application frame rate seems to always go down to the nearest (lower) round value.

I have a complex model that has about 1.5M primitives. Vizard has frustum culling by default, so that if I look away from the model, the frame rate gets up to 60, due to vsync.

The problem is, when I look at the model, the frame rate starts to get lower, which is normal. What's not normal is that the frame rate is always at a round number! from what I could tell, the fps is either at 60, 30, 20 or 15, or within 0.01 of those values.

By adjusting the view frustum such that only a few more primitives are added to the rendered scene, the frame rate goes, immediately, in a matter of 2 or 3 frames, from for example 30 to 20fps. This is really odd, and I wonder if there's any option that sets the frame rate to these fixed numbers, as it would be much better if I could run my app at 26fps, rather then always going down to 20.

Thanks!
Reply With Quote
  #2  
Old 03-16-2011, 09:24 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
That's the nature of having vsync enabled. If your frame rate drops below 1/60th of a second, then it will have to wait for every other vertical refresh, which equals 30 fps. And if you drop below 1/30th, then it will make every 3rd refresh, which is 20 fps, and so on...

You can disable vsync with the viz.vsync() command. Your framerate will run as fast as possible, however you might notice tearing in the image.
Reply With Quote
  #3  
Old 06-09-2013, 10:53 AM
pankaj bansal pankaj bansal is offline
Member
 
Join Date: Nov 2012
Posts: 14
hi farshizzo

I am having the same isues. Can I enable triple buffering in vizard to overcome this problem.

Regards
Pankaj Bansal
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Vizard Expiration Timer Rate mizutani_jun Vizard 2 02-23-2011 09:13 PM
how frame rate varies? chepotenza Precision Position Tracker (PPT) 4 04-05-2009 03:18 PM
quad buffered frame rate confusion michaelrepucci Vizard 11 09-17-2008 08:55 AM
Linking problems with Live Character Frank Verberne Vizard 5 06-04-2008 11:42 AM
frame rate lock? kgarr Vizard 1 02-23-2006 12:34 PM


All times are GMT -7. The time now is 05:39 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC