Inartis
About Inartis  |   Shopping Cart  |  
Kribi 3D
Product
Resources
Download
Purchase
Resources Feature Lab Getting Started Basic Concepts Api’s References
Kribi 3D Player Feature Lab
 
  • Interactive Tools
    • Camera Orbit
    • Camera Walk
    • Camera Rotate
    • Camera Move
    • Camera Zooming
    • Camera Clipping Plane
    • Object Move
    • Object Rotate
    • Object Sizing
  • Camera
  • Object
  • Instance Object
  • Experiencing Script
  • View
  • Background
  • Rendering
  • Colors
  • Pictures
  • Materials
  • Lighting
  • Animation
  • Polygonal Modeling
Object Drag and Drop
last update: 26 june 2011
 
The Drag and Drop Object action allows you to interactively insert objects from the catalog of objects into the scene performing a Drag and Drop action.

The dropping of each object can be conditioned by a behavior set and managed by the Object Manager Frame Work (OMF) Engine integrated in Kribi 3D.

For example, a chair can be dropped only on the floor and moved only on that same plane; a portrait can be dropped only on a wall and then moved only horizontally on the same wall, a glass can be dropped on a table but not on the floor and so on. When objects are dropped, they are linked together following a series of rules and they form groups of objects according to a precise hierarchy. For example if there are a cup and a vase of flowers on a table, when the table is moved, the objects on the table move with it and don’t remain floating in the air.
 
Wireframe Solid Textured Realistic
DefaultView
Object Catalog
 Instance Horizontal Plane Move  Instance Rotate SX 45  Instance Rotate DX 45 Camera Plane Move
Rotate: 
Move: 
 
 
 
A Drag and Drop Object action generally takes place in two steps. Left click first on HTML elements and then, holding the left mouse button, perform the Drag and Drop action by moving the mouse on the View.

In this example, in order to reduce system overheads, objects are only downloaded when needed. When the mouse button is released, a progress bar will appear in the View which displays the time needed to download the object from the internet. It will be necessary to wait a few seconds to continue and see the result (download speeds vary depending on the internet connection and the size of the object file).
 
When dropping an object that already exists in the scene, it won't be downloaded again but will be instantly dropped, avoiding any waste of system memory.
 
Using the Drag and Drop Object Command
 
 

1) Left click on the icon of an object displayed in the "catalog" on the left, for instance, the chair;
2) While holding the left mouse button, drag the cursor to the point in the View where you want to drop the object;
3) Release the mouse button to complete the drop Object action.
   
 
When initiating a Drag and Drop action, the mouse cursor will change to a hand and this will inform the user whether or not it is possible to drop the object in the chosen position. Positioning restrictions can be a consequence of the behaviour associated to the object.

Indicates that it is not possible to drop the object in this position.
Indicates that the object can be dropped in this position
 
Programming
The skeleton source code for the above example web page is the following:
 
 
Kribi 3D Engine
 
Kribi 3D Player
Get Kribi 3D Player
License
Plug-in test page
Release Notes
Resources
Feature Lab
Basic Concepts
Getting Started
Api's References
  Kribi 3D Designer
  Download 90 day Trial
  Compare and Buy
  License
  Release Notes
  Product Faq
  About Inartis
  Contact Us
  Services
 
 
Copyrights © 2010-2012 Inartis SA. | PRIVACY | TERMS OF USE