View unanswered posts | View active topics It is currently Sun Jul 22, 2018 2:20 pm



Reply to topic  [ 1 post ] 
 Bound box dimensions and scaling. 
Author Message

Joined: Mon Mar 12, 2012 5:49 am
Posts: 8
Post Bound box dimensions and scaling.
Greetings Laumaya, how you doing? Btw...
HAPPY NEW YEAR!! Best wishes for 2015. :lol:

Have a question regarding to the way the dimensions for a bound box (x, y and X lentghs are measured).

Why? Got some troubles while testing different models in different formats (3dxml, 3ds and dae) and moving their components independently in my test project.
Using the same position matrix (0.5,0.5,0.5) for these 3 cases, object move differently in them. While in 2 of these models the move action is barely perceived, objects move a huge distance in the 3rd one.

What I suppose is each model has a different "size" and glc does not scale them to default dimensions while loading them, just the viewport gets zoomed, right?

Tell me, would it be ok to use each of the worlds' bound box dimensions to calculate a sort of scaling factor to be applied to the position matrix to be used for the movement or what other solution could be there?

Thanks a lot.


Sun Jan 04, 2015 2:00 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.