# [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?

Ofc you can rotate the image.

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?

DxDrawImage will not draw in 3D

Just now, Tekken said:

DxDrawImage will not draw in 3D

Then what can i do? How to rotate image?

Use DxDrawImage3D

You have a rot argument

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

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
• 1
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

## Create an account

Register a new account