Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 DX8 Surface problem

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
Stormy Posted - Jul 15 2004 : 04:24:44 AM
Hi there, i have a problem with surface in directx8. i want to move with the surface, but i dont know how. can anybody help me, please? Thx.
5   L A T E S T    R E P L I E S    (Newest First)
Eric Coleman Posted - Jul 15 2004 : 12:58:08 PM
You can't move a surface. You can render the surface on another surface (generally the backbuffer) in different locations. For this, you'll need some sort of geometry since directx 8 doesn't support a bitblt. You will need to create a "quad" that uses the surface as a texture. You then modify the World matrix by either creating a translation matrix as the world matrix or multiplying the current world matrix with a translation matrix.
Stormy Posted - Jul 15 2004 : 12:02:54 PM
quote:
Originally posted by VBBR

Uh... I guess "surface" isn't the right term... you mean a quad? Then you just change the x,y coordinates of each vertex by the amount you want to move.


no, i really mean surface -- Direct3DSurface8 object
VBBR Posted - Jul 15 2004 : 11:09:19 AM
Uh... I guess "surface" isn't the right term... you mean a quad? Then you just change the x,y coordinates of each vertex by the amount you want to move.
Stormy Posted - Jul 15 2004 : 06:39:23 AM
quote:
Originally posted by cjb0087

what do you mean by 'move with the surface'?


i mean changing xy position
cjb0087 Posted - Jul 15 2004 : 05:59:38 AM
what do you mean by 'move with the surface'?

VBGamer © Go To Top Of Page
This page was generated in 0.06 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.