IRIT Solid Modeler 3 D MAP Lab JoonKyung
IRIT Solid Modeler 3 D MAP Lab. Joon-Kyung Seong
Contents v Introduction v How to install? v Implementation Examples v How to implement? v Irit script and enhancing results v Related links
Introduction v Solid Modeler § Interpret script language § Support many operations for solid modeling v Library for geometric modeling and CAGD § Curves and surfaces v Developed by Prof. Gershon Elber (Technion, Israel)
How to install? v 1. § v 2. § § v 3. § § § v 4. § § Get a source code www. cs. technion. ac. il/~irit/irit-sm. zip Compile the source code Unix : edit makeflag. unx Windows : you can get pre-compiled version Set environments for IRIT set IRIT_PATH=c: /irit-sm/ntbin/ set IRIT_DISPLAY=wntgdrvs –sset IRIT_BIN_IPC=1 Test Run irit (in DOS window). Type “include(“demo. irt”); ”
Implementation Examples v Ruled-Ruled Surfaces Intersection v Ringed-Ringed Surfaces Intersection § Solve constraint equation § Display the result (intersection curve) § Algorithm is developed by H. -S. Heo. § Irit demo…
Implementation Examples (Ringed-Ringed Intersection)
Implementation Examples (Bisector Surface)
Implementation Examples (Convex Hull)
Implementation Examples (Convex Hull)
How to implement? v Just C code and link irit library. v First, understand some structures (surface, curve, polygon…). v Refer other source code when you want to use an irit function. v Example : Ringed-Ringed surface intersection.
Irit Script and Enhancing results v You can use many built-in operations. v Script language is similar to C language v Example : rrinter. irt v Should refer user’s manual (www. cs. technion. ac. il/~irit/user_man. ht ml. index. html)
Irit Script and Enhancing results v Make a ps file § Command : irit 2 ps ( dat ps ) § Enhancing reality : illustrt – simple line illustration filter § Eg : illustrt –f 0 512 –l 0. 01 –t 0. 01 eg. mat eg. dat|irit 2 ps –d – 0. 8 0. 2 –u -> eg. ps v Make a rendered image § Command : irender ( dat ppm, rle ) § Eg : irender –s 700 –M Flat –b 255 255 – A sync –i rle eg. mat eg. dat > eg. rle
Related Links v www. cs. technion. ac. il/~gershon : gershon elber’s v v v homepage www. cs. technion. ac. il/~irit : irit homepage www. cs. technion. ac. il/Labs/Isl/Project_done/q uaternion/quat_interpol_project. html www. cs. technion. ac. il/Labs/Isl/Project_done/fil ters/index. html www. cs. technion. ac. il/Labs/Isl/Project_done/I RIT_plugin/index. html www. cs. technion. ac. il/Labs/Isl/Project_done/I B/index. html
- Slides: 13