Jump to content
IGNORED

Anyone here familar with Direct3d?


Shannon

Recommended Posts

I have some code that draws a colored in square/rectangle.

 

 __
[_]

 

I wanna turn it into a trapezoid but for some reason it eludes me.

 

  _
/_/

 

Sorry for the lousy approximation. Anyways I can post a little code if needed as an example. The code that draws a square/rectangle.

Link to comment
Share on other sites

I have some code that draws a colored in square/rectangle.

 

 __
[_]

 

I wanna turn it into a trapezoid but for some reason it eludes me.

 

  _
/_/

 

Sorry for the lousy approximation. Anyways I can post a little code if needed as an example. The code that draws a square/rectangle.

That's a parallelogram.

 

This is a trapezoid:

   _
 /_\

Sorry, other than this I don't have any help for you.

Link to comment
Share on other sites

Yep. :D It looks kinda goofy with just a square. :P

 

Funny thing is while messing around the the map_to_texture stuff I actually stumbled across how to do it but for some reason I cannot remember what I did. The little goof reminded me of some of the neat stuff the Activision collection for the PS2 had.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...