Graphics FAQ

From CSWiki
Revision as of 14:27, 11 October 2007 by Fcole (talk | contribs) (Categories)

Jump to: navigation, search

This document is meant to organize answers to common task oriented problems, thereby saving Szymon some time. Feel free to add your own questions and solutions.


Categories

Making Movies

  • How do I export a good quality, small size movie from Premiere?

Making Models

  • I need a very simple shape. How do I make it?
  • Do we (Princeton Graphics Group) have good models lying around?
  • Where can I find good models on the internet?
  • How can I get models from Sketchup to a format I can use?

Mesh Processing

  • How do I subdivide a mesh?
  • How do I smooth a mesh?
  • How do I remesh (retriangulate, reparameterize) a mesh?
  • How do I decimate a mesh?
  • How can I convert from format X to format Y?
  • My mesh has holes. How can I fix it?

Qt Related

  • What magic environment variables do I need to make Qt work?
  • How can I set up the Qt Windows Open Source version to work with Visual Studio?

Making Movies

How do I export a good quality, small size movie from Premiere?

Method 1:

  • Export a 95-100% quality "Motion JPEG A" video from Premiere.
  • Compress this large (often ~1GB) file using mencoder and Szymon's toavi script, which is also reproduced below:
#!/bin/sh -
rate=1200
#codec=msmpeg4
codec=mpeg4
case $# in
 [01]) echo "$0 in.avi out.avi [bitrate]" ; exit 1 ;;
 3) rate=$3 ;;
esac

mencoder $1 -vf eq2=1.2:1.0:-0.1:1.0:1.0:1.0:1.0:1.0 -ovc lavc -oac mp3lame \ 
 -lavcopts vcodec=$codec:mbd=2:mv0:trell:cbp:vqmin=3:last_pred=2:turbo:vbitrate=$rate \
 -ffourcc MP43 -ofps 29.97 -o $2
  • If you want it to play in Windows Media Player, you may need the "msmpeg4" codec.
  • I'm sure there is something I'm forgetting about this whole thing...

Making Models

  • I need a very simple shape. How do I make it?
  • Do we (Princeton Graphics Group) have good models lying around?
  • Where can I find good models on the internet?
  • How can I get models from Sketchup to a format I can use?

Mesh Processing

  • How do I subdivide a mesh?
  • How do I smooth a mesh?
  • How do I remesh (retriangulate, reparameterize) a mesh?
  • How do I decimate a mesh?
  • How can I convert from format X to format Y?
  • My mesh has holes. How can I fix it?

Qt Related

  • What magic environment variables do I need to make Qt work?
  • How can I set up the Qt Windows Open Source version to work with Visual Studio?