Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / How can I prevent the models in DB PRO from becoming choppy?

Author
Message
Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 10th Feb 2010 05:23 Edited at: 12th Feb 2010 15:37
For example: http://img682.imageshack.us/img682/6051/89503004.jpg

[Mod Edit] You can use the Image or Link buttons at the top of the edit box to include your images in your post or link directly to them.

I Didn't do it for you as your image is far too big - if you use the Image button, try to keep them a reasonable size (640x480 is forum friendly).
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 12th Feb 2010 14:31
I think you need to use Anti-Aliasing.

Where is a will, there is a way.
jfroco
14
Years of Service
User Offline
Joined: 1st Dec 2009
Location: Chile
Posted: 12th Feb 2010 16:37
Hello Blazed666,

I think luskos is right. You should use Anti-aliasing.

Fortunately you can do it using multisampling in the "set display mode" command in DBPro.

[href=http://en.wikipedia.org/wiki/Multisample_anti-aliasing
]http://en.wikipedia.org/wiki/Multisample_anti-aliasing
[/href]

Try changing the value of D3DMULTISAMPLE_TYPE in the following code to find a value that suits your needs (I use 4). NB: this will reduce your FPS.


Hope this helps.

Best regards

JF
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 13th Feb 2010 16:10
jfroco:

Thank you for sharing that! Very good info

I did not see where it is necessary to turn VSYNC on as you have done in your example. The VSYNC will limit the display refresh rate to whatever your monitor's refresh rate is (mine is 60 FPS). When I turned off the VSYNC, it ran at 480 FPS and looked the same.

Thanks again

jfroco
14
Years of Service
User Offline
Joined: 1st Dec 2009
Location: Chile
Posted: 13th Feb 2010 18:57
Hi LBFN,

Yes you're right... most of the time I left the VSYNC turned off, the problem is that sometimes I see some tearing in the screen.

Best regards

JF

Login to post a reply

Server time is: 2024-11-23 20:00:41
Your offset time is: 2024-11-23 20:00:41