Jump to content

[HELP] How to draw a image on the map?


Recommended Posts

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? 

Link to post
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? 

Link to post
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

Link to post
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 by Hydra
  • Like 1
Link to post
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 :D

Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...