News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DirectX: Mesh and DrawPrimitive problems

Started by gallo, March 13, 2006, 12:38:18 AM

Previous topic - Next topic

gallo

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!

hutch--

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
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php