hey, everyone my journey in the QTVR field goes on and on grrrrrrrrrrrr.
I am working with a nice script that is helping me to get around the
content of my movie using markers. through the interaction in the QTVR
movie the script is getting informations to which marker it should jump...
this is working just fine as long as the markers are in the same movie.
as soon as I have to use a marker in an other movie it's getting hairy.
so far I worked around the problem by creating "jump" markers, meaning
markers in the movie with an "on exitFrame" command with the adequate
marker to the foreign movie on it. this is working fine but it looks rather
uggly. I cant use a direct "go to" command since one shouldnt use this
command directly on a QTVR since director is crashing pretty often if you
do...
here is my script:
--------------------------
----------
----------
----------
----------
----------
----------
----------
global gQTVRmch, pMarker
property SpriteNum
on beginSprite me
the VRnode of sprite SpriteNum=128
the VRnodeEnterCallback of sprite SpriteNum = #HotSpotgeklickt
end
on exitFrame me
go pMarker
end
on endSprite me
the VRnodeEnterCallback of sprite SpriteNum = 0
end
on HotSpotgeklickt me, NodeID
the marker of gQTVRmch = pMarker
the node of gQTVRmch = the VRnode of sprite SpriteNum
the pan of gQTVRmch = the VRpan of sprite SpriteNum
gQTVRmch.tilt = sprite(SpriteNum).VRtilt
gQTVRmch.view = sprite(SpriteNum).VRfieldO
fView
case NodeID of
137: pMarker ="l_mobiliar"
138: pMarker ="l_models"
end case
return #continue
end
--------------------------
----------
----------
----------
----------
----------
---------
any ideas?
thank's guys
Start Free Trial