Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forum
Open Source community
Training and e-learning
A la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forum / objects moving simulation

Forum

objects moving simulation
c.h.Liu2010/03/04 11:48
Hi, I am still in my early asessment of occ. Can any one answer my questions:

Different objects can start moving (or called 'fly') to their preset locations, and with different speed at same time? (like a simple explosion simulation)
If true, how?

Tilman Leune2010/03/05 07:35
Hi,

You will have to provide your own functions to calculate the movement, but animation is possible.
Every diplayed object can have a so called location, which is the objects transformation matrix.
Manipulating this matrix will result in the object being rendered in another place.

Things you ought to look at for this:
  • AIS_InteractiveObject and it's decendents to display and manipulate your objects
  • gp_Trsf (a class representing a transformation) which can be used as a parameter for functions expecting a Location
  • good luck
c.h.Liu2010/03/05 10:14
Thanks, Tilman, it sounds reasonable.
I will try it.
 
 
Latest news
  • FAQ section updated
  • OPEN CASCADE Uses Intel ® Parallel Studio XE to Introduce Parallelism into SALOME SMESH Module
  • Open CASCADE Technology 6.5.2 is available for download!

  • © OPEN CASCADE 2000 - 2012  |  Search  |  Contacts   |  Site map