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 DBPro Corner / Object(.x) not rotateing on its axis

Author
Message
HardBoot
21
Years of Service
User Offline
Joined: 10th Sep 2003
Location: Earth
Posted: 23rd Sep 2003 05:52
first off, im a newb. Dont know much about programming besides my Java and modding the torque engine.

Im writing a very simple program to see what DBPro can do, and to help me learn. The full source is below.

The object "Thing"(2) is moving in a big circle instead of spinning on its axis. But if i take out "Thing" and just use a 'make object cube' it works fine.

Im realy stumped here!
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 06:17
i think your object .x isn't centered or indexed to 0,0,0 (x,y,z) in the .x format
so your model is off

i have the same problem when i use wings3d

My advice is free -
unfortunately you get what you pay for (-:
HardBoot
21
Years of Service
User Offline
Joined: 10th Sep 2003
Location: Earth
Posted: 23rd Sep 2003 06:31
uhh.. what? :p

Im using 3DCanvasPro to make the model and export it to a .X
The exporter doesnt have any options, it just exports. So would i have to place the object on 0,0,0 in 3Dc before i export? hmm.. ill go try
HardBoot
21
Years of Service
User Offline
Joined: 10th Sep 2003
Location: Earth
Posted: 23rd Sep 2003 06:45
hey! it worked! lol
thanks zzabb!

wow, thats strange. Its been 3 years of seriously learning computer shtuff, and the more i learn the dumber i get

I Looked through the .X file to see if there was a way to just change the coordinates, but it looks like i would have to edit each of the 20billion lines?
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 06:58
glad it helped

My advice is free -
unfortunately you get what you pay for (-:
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 23rd Sep 2003 08:55
in most 3d packages theres a reference widget that shows the center point of the worlds ground zero.

if u want canvas to make it in the center of the default workspace.

goto tools /options then in the Grid parameters set the X and Z to both -5

http://www.lunarpixel.com
It's already tomorrow in Australia
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 09:01
hey cool
normally its hit and miss when i make a model, i'll have to try that
thanx

My advice is free -
unfortunately you get what you pay for (-:

Login to post a reply

Server time is: 2024-09-21 01:13:07
Your offset time is: 2024-09-21 01:13:07