No BSD License  

Highlights from
Modal Warping

4.0

4.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 115.56 KB File ID: #11343
image thumbnail

Modal Warping

by Ofek Shilon

 

08 Jun 2006 (Updated 31 Jul 2006)

Modal-Warping graphical demo

| Watch this File

File Information
Description

This work was concerned in RT simulation of elastic objects. Specifically, it is a prototype test of the work of Ko & Choi titled 'Modal Warping' (http://cg.kw.ac.kr/modal_warping/), which synthesises former works under the name of 'stiffness warping' (http://www.cs.unc.edu/~mcmillan/papers/SSCA02_muller.pdf) and the classical approach known in CG circles as 'modal analysis' (e.g., http://www.cs.berkeley.edu/b-cam/Papers/Hauser-2003-IDU/index.html) .

This prototype mainly illustrates some graphics and optimization techniques.
The main function is ModalWarpingCheckModes, which takes as argument a valid VOL-file name. VOL is the output format of the freeware NETGEN - which is a rough and simple textual encoding of tetrahedral mesh info. Several VOL models are included (from small to large): 'y', 'sphere', 'stomach' and 'tissue_cut2'.

The routine performs a certain generalized eigen-decomposition (which can take several minutes for the larger models, depending on your system), and saves the results to a mat-file in the current folder. Future calls to the function would look for the appropriate mat-file, and compute the eigendecomposition only if it isn't found - so from 2nd launch on the init would be much, much faster.

The generated mat files range in size from 80K (for 'y') to 40M (for 'tissue_cut2') - that's why i didn't include them in the archive - so allow for sufficient disk space.

example:

ModalWarpingCheckModes('y')
ModalWarpingCheckModes('sphere')
ModalWarpingCheckModes('stomach')
ModalWarpingCheckModes('tissue_cut2')

enjoy!

Ofek

MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
06 Jul 2007 Omer CAKIR

I have been doing research on FEM and this project is the one that I was looking for but when I tried to run with (y) argument, it gave an error like this:

"Undefined function or variable 'y'"

y.vol file is in the same directory of .m files. I use MATLAB 7.0. Could you tell me how to fix this error?
  

11 Jul 2007 Ofek Shilon

Omar,
i suspect you just omitted the single-quotes around y.
Ofek

Please login to add a comment or rating.
Updates
31 Jul 2006

Category change

Tag Activity for this File
Tag Applied By Date/Time
gallery Ofek Shilon 22 Oct 2008 08:28:22
eigenmodes Ofek Shilon 22 Oct 2008 08:28:22
realtime Ofek Shilon 22 Oct 2008 08:28:22
interactive Ofek Shilon 22 Oct 2008 08:28:22
graphics Ofek Shilon 22 Oct 2008 08:28:22
modal Ofek Shilon 22 Oct 2008 08:28:22
analysis Ofek Shilon 22 Oct 2008 08:28:22

Contact us at files@mathworks.com