Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Rollin' the bones...

4: Adsense

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   

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!




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.