Mobility model and camera
In Director 8.5, the more than one way to move the model and the camera. Model and the camera can be compared to their own, other models or the live 3D world of mobile. In addition, these objects can make use of two different procedures to move Lingo. No matter which method you choose will have significant effect on the appearance of your 3D actors.
Pattern Videos
Paper-like film is Moving_model_and_camera.dir. You can open the program to see it, if you like, you can change it. (Click here to download the relevant Annex)
See scene 1
The first scene the film shows how simple Lingo commands rotate and translate to move the model and the camera.
Stage consists of a 3D Wizard - a model with four letters. There are a number of models and camera wizard is to show the current position and rotation angle of the text field. When you press the bottom left corner of the stage described in the text description of the key, you can move and rotate the camera and model. (Note that if you want to rotate is to hold down the shift key)
View called "Interface 1" script actor, it is to control the 3D model and camera movement. The beginning of this script checks whether the hold down the Shift key to rotate or translate the decision is an order.
member (''3d''). model (''A''). rotate (-1, 0, 0, # world)
When using the rotate command, the event will be pressed in a button each time a slight change in the orientation of a model point of view. When using the translate command, the event will be pressed in a button each time a slight change in the location of a model. Each key press will be in a position to change the model axis and rotation angle of a unit value. You can position and rotate the stage to see the field values for each axis depends on which button is pressed to change the.
Noted that rotate and translate commands include a "# world" argument. This tells Lingo model motion is relative to the 3D world, rather than relative to the 3D world of other objects.
Video provides a substitute program, Alternate Interface, you can replace the "Interface 1" program. The amendments replace the program to fulfill the position and rotation property values of the same task, but not using the rotate and translate commands.
See scene 2
The second scene the film shows how the mobile models and the camera relative to other objects. In this scene in the 3D world, including three models instead of one. Each model has four letters are big model uppercase "P" of the child objects. Because of this relationship, a small model can object relative to the parent capital letter "P" and movement, as opposed to relative to the 3D world, or the same as their own.
Scene1 now looks the same stage, but more than three buttons, is used to allow you to select a small model were compared to their own and their parent or an entire 3D world of sports. You can select the tag is "Self" button to select a small model were compared to their own campaigns, select the tag is "Parent" button to select a small model were compared to their parent movement, selection marker is the "World" of button to select a small model of their movement relative to the 3D world.
Called "selfBeh, parentBeh and worldBeh" The role of the script is to update the record "# self, # parent, or # world" of the global variable gRelativeTo. For example:
on mouseUp
gRelativeTo = # self
Recommended links:
JSF will not repeat the mistakes EJB
Evaluate Cartoons - Screen SAVERS
Wang Yukun: Power in the UNION Heavy Industry "butterfly"
Storage Dictionaries Education
Wizard Icon Tools
"Torchlight" HARDCORE mode Survival Guide
The new VPN strength
MKV to FLV
Why Engage in career planning?
remove Drm from itunes m4v video movie
TS To MPG
Taboo boss (below)
RMVB to MP4
Comments: Haier bid for Maytag out of mountains and rivers to be epigenetic re-
Honeywell Process Solutions User Group Conference Held In Zhuhai
Easy Cataloging
No comments:
Post a Comment