Quote: "hi, i've loaded a background image as 2d sprite.
now i want to display a 3d model on top of it."
to make a 3D object appear over a sprite, turn backdrop off, and then use the command
draw to back
sync on : sync rate 0
`Turn backdrop off
backdrop off
`Create a simple sprite
cls rgb(255, 0, 0)
get image 1, 0, 0, 50, 50, 1
`Create object
make object cube 1, 1
draw to back
do
`Make sprite
sprite 1, mousex() ,mousey(), 1
`Rotate object
yrotate object 1, wrapvalue(object angle y(1) - 0.2)
sync
loop
It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.