Turbesz Posted January 16, 2021 Posted January 16, 2021 I want to draw a image on the ground where to park a vehicle, but i dont know how to make this possible... I tried: dxDrawMaterialLine3D (not a good solution, because i cannot rotate the image), and dxDrawImage3D (same problem...). Then how can i do this?
Turbesz Posted January 16, 2021 Author Posted January 16, 2021 2 minutes ago, Tekken said: Ofc you can rotate the image. I tried many ways, but did not work, sadly.. (i know, the last 3 xyz value is for rotation, but no...) So with a simple dxDrawImage this not possible somehow?
Turbesz Posted January 16, 2021 Author Posted January 16, 2021 Just now, Tekken said: DxDrawImage will not draw in 3D Then what can i do? How to rotate image?
Turbesz Posted January 16, 2021 Author Posted January 16, 2021 40 minutes ago, Tekken said: Use DxDrawImage3D You have a rot argument i tried to use that function but i dont understand the logic, as well as in dxDrawMaterialLine3D for the same reason... when i draw the image on the ground, i cannot rotate that, because if i set the rot then the image goes up the sky from the ground... I want to rotate image clockwise/counterclockwise on the ground
Hydra Posted January 16, 2021 Posted January 16, 2021 (edited) 5 hours ago, Turbesz said: i tried to use that function but i dont understand the logic, as well as in dxDrawMaterialLine3D for the same reason... when i draw the image on the ground, i cannot rotate that, because if i set the rot then the image goes up the sky from the ground... I want to rotate image clockwise/counterclockwise on the ground For dxDrawImage3D you need to put faceTowardX/Y/Z argument too if you want to rotate image on the ground. Edited January 16, 2021 by Hydra 1
Turbesz Posted January 16, 2021 Author Posted January 16, 2021 3 minutes ago, Hydra said: For dxDrawImage3D you need to put faceTowardX/Y/Z argument too if you want to rotate image on the ground. Meanwhile i realized how to use it, so now works properly
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