Home / PlyViewer / README
Name Modified Size InfoDownloads / Week
Parent folder
assign3 CG.pdf 2010-04-22 795.0 kB
shortcuts.pdf 2010-04-22 48.6 kB
README.txt 2010-04-22 1.8 kB
Totals: 3 Items   845.4 kB 0
README for test.c


by-08CS1004-Arun.M.Mallya
   
   08CS3010-Arpit Agarwal 



Points to be noted:



1)Lighting is not enabled by default.To begin lighting,open a ply/obj file,right-click,select Render->No of sources->1/2/../8
  
  To view object in required color,pass same parameters for light color,ambience and specular entities. 

2)To manually compile file,go to the folder containing files and use the command "cc -lglut -lm test.c rply.o"

3)This program uses rply.h header(from http://www.tecgraf.puc/rio.br/~diego/professional/rply/),so please do not change location of the header file from the oroginal folder.

4)Decimation can be selected from the menu, and then a number between 0-100 can be entered and saved as example.ply


Functions not yet implemented in program:


1)EDIT menu option is not available.

2)In FILE menu option,screenshot is not available.



Known Bugs:


1)When large files(~ >10MB) are opened in the same window in succession(without running the program again),the program exits or gives a segfault.
 
  This however does not occur when small files are used.This is probably due to memory restrictions.

2)Similar memory shortage occurs resulting in ABORT when we try to display normals for large files(~ >10MB). 

3)Merged surfaces are not being displayed properly, the front being uncovered, whereas the back get almost completely covered.We are working on this problem and will be fixed by the next release.


PLY FILES THAT CAN BE OPENED:
airplane 
apple 
bunny: large | medium | small | tiny 
canstick
cow 
cube
dodecahedron 
elk (4 spheres) | elk 2 (4 spheres) 
flowervase 
fighter plane f16 
p20 | p120 
kerosene lamp 
mug 
pickup van 
stratocaster 
street lamp 
teapot 
trashcan 
turbine 


 
Source: README.txt, updated 2010-04-22