[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
slicing planes in inventor
- To: Building Model Generation Group <bmg@graphics.lcs.mit.edu>
- Subject: slicing planes in inventor
- From: Seth Teller <teller@lcs.mit.edu>
- Date: Wed, 12 Jun 2002 13:06:53 -0400
- Organization: MIT Computer Graphics Group
- Sender: seth
here's an interesting inventor snippet (insert
it just after the inventor header). it's a
rotating clip plane, which shows you the innards
of your object.
the arguments x y z to translation should be
the centroid (or negated centroid) of your object.
Group {
Translation { translation 1000 1000 0 }
Rotor {
rotation 0 0 1 0
speed 0.01
on TRUE
}
ClipPlane {
plane 1 0 0 0
on TRUE
}
Rotor {
rotation 0 0 1 0
speed -0.01
on TRUE
}
Translation { translation -1000 -1000 0 }
}