[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
SloGameDev.net • Poglej temo - Index buffer v dx9 - koji?

Index buffer v dx9 - koji?

Vsi tehnični vidiki izdelovanja iger - programiranje vseh vrst in oblik, modeliranje, animacija, risanje, dizajn, grafika, glasba in zvok, umetna inteligenca, matematika, fizika itd.

Index buffer v dx9 - koji?

OdgovorNapisal/-a pohištvo » Sr Jul 02, 2003 10:05 am

Mam en zlo banalen problem z dx9 in sicer nikakor mi ne rata renderirat trikotnikov s pomočjo index bufferja. Naredu sm točno tako kot sm mel v osemki, s popravki pač ki jih rabi 9ka. Niti Lock niti DrawIndexedPrimitive mi ne vrneta nobenega errorja, vse je lepo in prav, samo nariše se nić. Če renderiram direktno iz vertex bufferja dela, samo z indexbufferjem ne. Sem izklopu culling, sem dal wireframe, naštiman je material, vse je tko ko bi moglo bit sam vidi se NIĆ. Bom postal kodo ko pridem domov, zdej sem v službi. Me pa zanima če ima gdo kak košček kode z index bufferjem, ki mu dela, če bi ga delil z mano (nami).

Morebitnemu dobrotniku se močno zahvaljujem ..
V: Zakaj gre djed čez cesto?
O: Se ne ve.
pohištvo
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: To Mar 18, 2003 4:47 pm

OdgovorNapisal/-a Kavan » Sr Jul 02, 2003 11:49 am

Saj vem da to sigurno si naredil, ampak a nastaviš index buffer preden rendraš? Bomo vidli ko kodo postaš.
Slika
Kavan
inštruktor
inštruktor
 
Prispevkov: 314
Pridružen: Pe Jan 10, 2003 12:57 pm
Kraj: Los Angeles

OdgovorNapisal/-a pohištvo » Sr Jul 02, 2003 12:04 pm

SetIndices(m_pIB)? sem ja. Po moje je bol problem v tem kako napolnim index buffer, ker vztrajam pri tem da ko lockam buffer na en pointer, potem delam tkole .. *pIndices = 0; pIndices++; *pIndices = 1; pIndices++; ... itd.

v osemki mi je to delal, tle pa (skor) ista koda ne dela. No sej, postam kodo čimprej. Hvala.
V: Zakaj gre djed čez cesto?
O: Se ne ve.
pohištvo
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: To Mar 18, 2003 4:47 pm

OdgovorNapisal/-a pohištvo » Sr Jul 02, 2003 4:20 pm

V: Zakaj gre djed čez cesto?
O: Se ne ve.
pohištvo
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: To Mar 18, 2003 4:47 pm

OdgovorNapisal/-a Senitel » Sr Jul 02, 2003 5:04 pm

Senitel
wannabe
wannabe
 
Prispevkov: 127
Pridružen: Sr Jul 02, 2003 5:01 pm

OdgovorNapisal/-a pohištvo » Sr Jul 02, 2003 5:06 pm

V: Zakaj gre djed čez cesto?
O: Se ne ve.
pohištvo
poizvedovalec
poizvedovalec
 
Prispevkov: 51
Pridružen: To Mar 18, 2003 4:47 pm


Vrni se na Izdelovanje iger

Kdo je na strani

Po forumu brska: 0 registriranih uporabnikov in 0 gostov

cron