Jump to content

  • Log In with Google      Sign In   
  • Create Account

Rollin' the bones...


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Goodlife   Members   -  Reputation: 122

Like
Likes
Like

Posted 27 January 2000 - 03:02 AM

Hi all, I''m looking for someone who''s got some code done on flexible vertex formats. What I essentially want is a D3DTLVERTEX with more than one set of texture coordinates hooked to it. Does anyone have a scrap of code that they could send me? I''m using execute buffers, and my code is something like this: LPD3DLVERTEX->dcX=xpos; LPD3DLVERTEX->dcY=ypos; LPD3DLVERTEX->dcZ=zpos; LPD3DLVERTEX->dcColor=whatevercolor; LPD3DLVERTEX->dcSpecular=whatever; LPD3DLVERTEX->dvTU=textureucoord; LPD3DLVERTEX->dvTV=texturevcoord; Then I reference it with a triangle call something like this: LPTRIANGLE->wV1=thevertexabove; LPTRIANGLE->wV2=someothervertex; LPTRIANGLE->wV3=yetathirdvertex; How can I set that first part to dump up to 8 uv coords into the TU/TV area, and how can I reference a particular texture coordinate when I dump the triangle? Assistance! Assistance!

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS