The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: gallo on March 13, 2006, 12:38:18 AM

Title: DirectX: Mesh and DrawPrimitive problems
Post by: gallo on March 13, 2006, 12:38:18 AM
hello there
well, it's been a long time since i used direct x and now i have a problem and i hope you guys can help me

first of all, what happened with the site http://board.win32asmcommunity.net/ ??, i can't have access to it...

well what basically happens is that i'm trying to draw some triangles with the function DrawPrimitiveUP, but before that i've already drawn some meshes stored in a X file; the thing is that those triangles that i draw with the DrawPrimitiveUP function are not being painted with their respective colors but with the last mesh's color painted, and when i turn off the lighting option in the device, the triangles appear with their right color, but the meshes appear with some weird colors

i don't know what to do, i hope that some one could give me some ideas, thank you!
Title: Re: DirectX: Mesh and DrawPrimitive problems
Post by: hutch-- on March 13, 2006, 01:35:54 AM
While I confess to being an illiterate in DirectX, I can help you with the URL for the now renamed win32asm forum.

http://win.asmcommunity.net/board/index.php
Title: Re: DirectX: Mesh and DrawPrimitive problems
Post by: gallo on March 13, 2006, 09:45:28 PM
thanks :toothy