Yuav Ua Li Cas Pab Kom Ntsug Ntsug

Cov txheej txheem:

Yuav Ua Li Cas Pab Kom Ntsug Ntsug
Yuav Ua Li Cas Pab Kom Ntsug Ntsug

Video: Yuav Ua Li Cas Pab Kom Ntsug Ntsug

Video: Yuav Ua Li Cas Pab Kom Ntsug Ntsug
Video: Yuav Ua Li Cas Tiv Thaiv Koj Tus Kheej Thaum Neeg Ua Saib Tsis Tau. 2024, Hlis ntuj nqeg
Anonim

Ntsug Synchronization, VSync, lossis synchronization ntsug yog ib qho tshwj xeeb ntxiv ntawm cov npav tsav tsheb. Enable Vsync feem ntau yog kev txaus siab rau avid gamers, vim nws tuaj yeem txhim kho cov duab ntawm ntau cov kev ua si.

Yuav ua li cas pab kom ntsug ntsug
Yuav ua li cas pab kom ntsug ntsug

Cov Lus Qhia

Kauj ruam 1

Kev ua kom tiav ntawm cov ntsug hloov tau tuaj yeem ua tiav los ntawm tus neeg siv nrog ntau txoj kev. Txoj kev yooj yim tshaj plaws yog kom hu rau lub ntsiab lus teb ntawm lub tshuab raj los ntawm txoj cai-nias ntawm qhov chaw khoob ntawm lub rooj thiab xaiv cov khoom "Saib". Nthuav Daim Ntawv Qhia Cov Khoom Txuas thiab txuas mus rau Chaw Chaw hauv lub thawv ntawv qhib. Siv khawm Advanced thiab tso cai rau qhov xav tau nyob hauv Ntu tos kom qhia tau ntsug Sync.

Kauj ruam 2

Yuav kom programmatically ua haujlwm ntsug sync hauv OpenGL, siv cov cai:

tsis muaj dab tsi set_vsync (bool enabled) // muaj tseeb

{

PFNWGLSWAPINTERVALEXTPROC wglSwapInterval = NULL;

wglSwapInterval = (PFNWGLSWAPINTERVALEXTPROC) wglGetProcAddress ("wglSwapIntervalEXT");

yog (wglSwapInterval) wglSwapInterval (puas tau? 1: 0);

}.

Kauj ruam 3

Siv DirectX 9 los pab kom cov ntsug sync. Txhawm rau ua qhov no, ua ntej pib D3DDevice, hloov cov nqi ntawm qhov parameter

g_d3d9Parameters. SwapEffect rau D3DSWAPEFFECT_COPY. Tom qab ntawd tseem teeb tsa g_d3d9Parameters. PresentationInterval parameter rau D3DPRESENT_INTERVAL_ONE.

Kauj ruam 4

Txhawm rau ua kom nVidia ntsug synchronization, qhib cov ntsiab lus teb ntawm lub computer desktop los ntawm txhaj sab xis nas khawm thiab xaiv cov khoom "nVidia Control Panel". Qhib "Saib" cov ntawv qhia zaub mov ntawm cov kev pabcuam sab saud ntawm qhib lub thawv qhib thiab xaiv cov khoom "Advanced". Nthuav cov "Txheeb xyuas 3D tsis muaj" node nyob rau hauv cov ntoo ntawm sab laug ntawm lub tswj vaj huam sib luag lub qhov rai thiab xaiv "Ua kom" hais kom ua nyob rau hauv daim ntawv teev cia-ntawm "Ntsuas sync mem tes" kab hauv cov thawv txuas ntxiv Txuag koj cov kev hloov pauv los ntawm nias OK thiab rov pib dua lub system siv cov kev hloov no.

Kauj ruam 5

Thov nco ntsoov tias qee zaum siv cov vais tawm es tsis txhob siv cov ntawv teev cia. Hauv qhov no, koj yuav tsum txav mus rau lub zawv zawg mus rau qhov chaw sab xis.

Pom zoo: