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
Material Drag and Drop
last update: 26 june 2011
 
A material can be applied to an Object by performing a Drag and Drop action from the HTML catalog of materials into the View.
 
Wireframe Solid Textured Realistic
DefaultView
Textile Parquet
Textile 10087-12 parquet1
Textile 10089-12 parquet2
Textile 10131-02 parquet4
Textile 10132-02 parquet7
Textile 10133-02 parquet8
Textile 10133-09 parquet10
Camera Orbit Camera Plane Move
 
 
 
A Drag and Drop Material action generally takes place in two steps. Click first on HTML elements and then, holding the left mouse button, perfom the Drag and Drop action by moving the mouse on the View.

In this example, the entire catalog of materials is being loaded. When the mouse button is released, a progress bar will appear in the View which will display the time needed to download the entire catalog materials from the internet. It will be necessary to wait a few seconds to continue and view the result (download speeds vary depending on internet connection and the size of the material file). Using this method, when a Drag and Drop operation is performed in the future, the result will be immediate and it will not be necessary to wait for the single materials to be downloaded.

When dropping a material that already exists in the scene, it will not need to be downloaded again and can be instantly dropped, therefore avoiding any waste of system memory.
 
Using the Drag and Drop Material Command
 
 

1) Left click on the icon of a Material displayed in the "catalog", for exemple, a textile;
2) While holding the left mouse button, drag the mouse cursor to the point in the View where you want to drop the material, such as the cushion of the sofa;
3) Release the mouse button to complete the drop Material 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 material in the chosen position. Positioning restrictions can be a consequence of the behaviour associated to the material.

Indicates that it is not possible to drop the material in this position.
Indicates that the material 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