Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / [SOLVED] Scaling primitive cube objects versus scaling .obj cube objects of the same size?

Author
Message
PHeMoX
6
Years of Service
User Offline
Joined: 9th Jan 2018
Location:
Posted: 11th Nov 2018 11:42
Hi there!

Why do .obj scale differently than the cube primitives?
A 5 by 5 by 5 cube scaled way less than a .obj does using the same size, despite scale 1,1,1 being the same size.

Any ideas?

The author of this post has marked a post as an answer.

Go to answer

chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 11th Nov 2018 19:15
Hi mate.
Could you show us a piece of code to test?
I'm not a grumpy grandpa
PHeMoX
6
Years of Service
User Offline
Joined: 9th Jan 2018
Location:
Posted: 12th Nov 2018 00:30
This post has been marked by the post author as the answer.
Hey! Sorry, but I found the mistake. For some reason I had a 5 by 5 by 5 cube in mind, but my primitive cubes were actually 5,1,5 , not 5, 5, 5. The cube model .obj I tried to use to replace the tiles with (for texture reasons) was 5 by 5 by 5, instead of 5 by 1 by 5. So yep, that caused the wrong scaling.

Sorry my bad.

Login to post a reply

Server time is: 2024-04-23 12:44:09
Your offset time is: 2024-04-23 12:44:09