here's some code...
;create interface camera
icam = CreateCamera()
PositionEntity icam,0,0,0
RotateEntity icam,0,215,0
CameraViewport icam,0,640,840,480
CameraProjMode icam,2
CameraZoom icam,0.1
;create interface light
ilight = CreateLight()
PositionEntity ilight,0,50,0
RotateEntity ilight,40,215,0
bsprite = CreateSprite()
PositionEntity bsprite,-2.8,-.8,-10
ScaleSprite bsprite,3,6
ScaleTexture view,.9,.9
EntityTexture bsprite,view
lmsprite = CreateSprite()
ScaleSprite lmsprite,.15,.15
PositionEntity lmsprite,-4.92,3.44,-8
EntityTexture lmsprite,checkr
;other stuff
;main camera
cam = CreateCamera()
PositionEntity cam,0,0,0
CameraViewport cam,0,0,640,480
cube = LoadMesh(file$)
light = CreateLight()
tex = LoadTexture(tex$)
flortex = LoadTexture("images\floor.jpg")
ScaleTexture flortex,50,50
PositionEntity cam,0,0,0
PositionEntity cube,0,5,40
PositionEntity light,0,50,0
RotateEntity cube,30,20,0
RotateEntity light,40,0,0
ScaleEntity cube,3,3,3
EntityTexture cube,tex
;ScaleTexture tex,5,5
pln = CreatePlane()
EntityAlpha pln,0.5
EntityTexture pln,flortex
PositionEntity pln,10,-9,50
mir = CreateMirror()
PositionEntity mir,0,-10,0
whilde not keydown(1)
If mx>650 And my<58 And mx<684 And my>26
If MouseDown(1)
EntityTexture lmsprite,loadmd
Else
EntityTexture lmsprite,loadm
EndIf
EndIf
;stuff
renderworld()
flip
wend
end
then i have a while loop where it checks if you click a button i made, and if it does it changes the texture of the sprite (doesnt work).
so, i tried having it move sminsprite behind bsprite (this should make it invisible.. right?) i moved it so far i could see it in the main camera, but still see it with the orthographic one...
so, i dont think it's re-rendering, because when i push the button and have it change the texture of the floor plane that works fine, but if i have the sprite change texture nothing happens.
also, i created this post today, when after 20 hours noone had replied to my first one.