1 / 3

Install FLTK on Mac

Install FLTK on Mac. If ./configure && make && make install has errors, try mac ports. Go to http://www.macports.org/ or google Macports and download mac ports. In terminal, sudo port install fltk You will find fluid and fltk-config in /opt/local/bin

sonel
Télécharger la présentation

Install FLTK on Mac

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Install FLTK on Mac • If ./configure && make && make install has errors, try mac ports. • Go to http://www.macports.org/ or google Macports and download mac ports. • In terminal, • sudoport install fltk • You will find fluid and fltk-config in /opt/local/bin • fltk-config  --compile  myprogram.cpp • ./myprogram

  2. User defined class Inherit Fl_Gl_Window Your user interface Fl_Window Fl_Slider

  3. Normalization Before Normalization (x_max, y_max, z_max) • For every vertex (x,y,z) in the obj mesh file • Find x_min,y_min,z_minx_max,y_max,z_max • Find the max length max_length = max( x_max-x_min, y_max-y_min, z_max-z_min) • For vertex (x, y, z) the new position will be ((x-x_min)/max_length, (y-y_min)/max_length, (z-z_min)/max_length) (x, y, z) (x_min, y_min, z_min) After Normalization <=1 <=1 <=1

More Related