@edapx wrote:
Hello, I'm loading a model through ofxAssimpModelLoader, and I need to scale proportionally, on the Y axis, to a defined length, let's say to 30.0.
In order to scale the model to the defined length, i was thinking to simply get the dimension of the model, calculate the ratio between this dimension and my final lenght, and then multiplying the original dimension of the model for the ratio.
The problem that I'm facing is that ofxAssimpModelLoader does not provide a method to query the dimensions of the mesh contained in the model.
Any idea about how to proceed?
Posts: 3
Participants: 2