Hi
I need a little help, I am trying to make a camera view (top view) sit
in the top corner of my main view (perspective). In the tutorial I'm
using it works, the tutorial refers to a blank 3d world, but I'm
guessing this would be the same as one I've imported.
I cannot get it to work, maybe I have missed something
Here's my code, any ideas would be much appreciated!!
-Regards-
-KEV-
------------------------main camera positioning--------------
scene.camera[1].transform.identity()
scene.model("CONE01").addchild(scene.camera[1], #preserveparent)
scene.camera[1].fieldofview = 45
scene.camera[1].translate(0,-100,75,#parent)
scene.camera[1].rotate(50,0,0)
--
scene.camera[1].clone("dummy")
scene.camera[1].parent = scene.group("world")
-----------------------make new top view---------------------------
cam = scene.newcamera("topview")
cam.fieldofview = 90
cam.transform.identity()
scene.model("CONE01").addchild(cam, #preserveparent)
cam.translate(0,40,0)
cam.pointat(scene.model("CONE01"))
sprite(1).addcamera(cam)
PP = sprite(1).rect
scene.camera[3].rect = rect(440,10,630,200)
end
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]