Skip to content

unic8 Studios

Dokumentationen Anleitungen FAQs Links Erweiterte Suche
You are here: Home arrow Neuigkeiten arrow Labor arrow Erweiterte Kamera in PV3D
Erweiterte Kamera in PV3D
Sunday, 29. July 2007

Heute habe ich ein 3D Rennspiel gespielt... ist doch egal? Ok, der Grund warum ich dies schreibe war speziell das "Replay" nach dem Rennen. Jeder der jemals ein 3D Rennspiel gespielt hat kennt das und erinnert sich an die Ansicht von vielen Kameras rund um die Strecke die das Rennen erneut abspielen. Diese Kameras rotieren um ein Auto zu fokusieren, zoomen heran und zurück und wechseln auch zur nächsten Kamera wenn die Distanz des Autos näher zu dieser ist. Das ist es was ich mit PV3D nachgebaut habe. Ich habe 3 verschiedene Kameras platziert (Vorne, Diagonal und Seite), eine Fläche (als Basis) und einen Würfel. Der Würfel bewegt sich und rotiert mittels der Tweener Klasse

  • Camera selection: "Auto" detects the nearest camera to the cube but you can also select a specific camera.
  • Camera control: Defines the focused object
  • Mouse pitch:Enables the mouse to change the view angles
  • Zoom control: "Auto" enables camera to zoom in by using the distance to the object. With "Manual" you can setup the factor and "Reset" restores the default value.
Trackback(0)
Kommentare (4)add comment

Frank Fuhrmann said:

 
It's breathtaking awesome, dude!
2007-07-31 11:45:01 | url

alex said:

 
Great example. Why source is not supplied. If control is not for selling, source supplement will be good as a teaching point. Thx anyway. Alex Winx (www.winx.ws)
2008-01-23 12:33:06 | url

sshong said:

 
hi, friend, i have a problem about cube's rotation, when i add rotations together, the result seems to be wrong, but when i add just single rotation, it seems right, is there any bug in pv3d's displayobject3d's rotation?
2008-08-04 00:38:26 | url

erik said:

 
Hi sshong,

could you please specify which rotations you tried to add. As far as I know there's no bug with DO3D's rotation. If you would like to you can also send me a code sample with shows the problem.
2008-08-04 10:14:53 | url

Kommentar schreiben
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley

security image
Bitte den folgenden Code eintragen


busy
 
< zurück   weiter >

Umfragen

Which data exchange technology do you prefer?