Hi!
 
I am writing a 3DS loader. So far, I am able to load the object with reasonable success. Looking at the ObjectFile class, the one that loads .obj objects, I would like to offer services like the one offered by the RESIZE flag. With this flag, the loaded object's vertices will be changed so that the object is centered at (0,0,0) and the coordinate positions are all in the range of (-1,-1,-1) to (1,1,1). Any idea if there is a quick and dirty trick to do this ?!
 
Thanks!
 
Stéphane Vermette

 

Reply via email to