Send me an email (firstname.lastname@example.org) if you have questions.
- Start up trireme.exe
- Open some OBJ/PLY mesh file, for instance data/skull.obj provided in this distribution.
- a mesh view window should appear
- in any view window: pressing ‘e’ toggles edge rendering, PgUp/Dn changes line thickness
- In order to create a remesh you will first need to create charts:
- press Seed charts button, it uses Error field to determine when to stop refining charts, you can use the default value of 0.1 for now.
- a chart view window appears, markers denote chart centers (you can resize them by pressing 3/4
- these initially created charts are not optimal, so press Seed charts button again, this will create a better distributed charts. Look at the console window to see how the processing is going. It would have messages on how many charts were added and other information. When it says “done adding — 0 added” that probably means that your chartification is good enough.
- Now you can create a coarse level of the semi-regular mesh:
- Press ‘parameterize’ button
- Look at the console, it should show parameterization process. When done, a remesh view window will appear. Again, you can press ‘e’ in that view to see edges.
- In the chart view window, you can now press ‘t’ to toggle parameterization visualization.
- The next step is to run some optimization on the parameterization.
- Press ‘cut patches’ button, and wait! It may take some time to converge, see the console window for the progress (this is the slowest step, it runs a bunch of non-linear parameterizations as described in the original paper).
- note that the view windows run in separate threads so they should be responsive while the process is going, although you may see some ’work-in-progress’ results while optimization is running.
- When the main dialog becomes responsive again, press ‘opt rhos’ button, and wait again (this step is a bit faster).
- optionally: if you have some time to spare you can repeat ‘cut patches’ and ‘opt rhos’ stop another time or two.
- Now you are ready to remesh:
- Enter the desired number of levels in the ‘level’ text field, or you may use the default value of 3.
- Press remesh button, and wait a bit. This should not take long. Look at the console window for messages.
- Press ‘up arrow’ key while in the remesh view window. It should show you the resulting remesh. Pressing ‘down arrow key’ will show you the base (level 0) mesh again. Note that no intermediate levels are shown, just level 0 and the finest level.
- If you need a finer (or coarser) remesh, change the level field and press ’remesh’ button again. (No need to redo parameterization), you may need to press ‘e’ twice to get the updated view in the remesh view window.
- Save the remesh in DAT format, using ’save remesh…’ button. You are done!
- See http://www.multires.caltech.edu/software/pgc/ for tools to process DAT meshes (it also has a viewer mview.exe for loading them).
- If you need to remesh another model, I recommend that you restart the application.