DowNlOaD.uk Posted July 30, 2013 Share Posted July 30, 2013 Hello, As the topic title says, how can I draw with dxDrawImage the object texture. I saw dxCreateTexture but I don't want to create a new texture, I just want to get the texture element of an object. Thanks Link to comment
xXMADEXx Posted July 30, 2013 Share Posted July 30, 2013 As in apply an image to an object? As far as i know, this requires a shader.. (it may not, but i don't really know.) Link to comment
DowNlOaD.uk Posted July 30, 2013 Author Share Posted July 30, 2013 Naah, I want to draw the texture from the object on to player screen as 2d image Link to comment
Vector Posted July 30, 2013 Share Posted July 30, 2013 you can´t do that. dxDrawImage is just for textures created via dxCreateTexture and not for world textures. Link to comment
bandi94 Posted July 30, 2013 Share Posted July 30, 2013 Well you can unpack GTA:SA txd's search your object's txd then extract the image from it , after you can draw it with dxDrawImage Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now