G3D object display problem
by Jason Nabors · in General Game Discussion · 08/16/2003 (6:43 pm) · 1 replies
Hi all, throwing this out here in hopes maybe someone can point out what I am doing wrong.
I added an object to example 3. Its a ball I made in Maya and I added a sand texture to it.
I exported the ball to an .x file, then used the x2g3d converter to make the object a .g3d object.
I loaded the object in the G3D viewer and all looks good. I add in the code needed to display the object in the example 3 of the RE sdk. I basically copied the Box settings and changed names to ball. I also repositioned it.
I created a folder for the ball.g3d and included the texture file there.
When I run it, I see no ball, but if I only change the .g3d file in the source, say to the box, A box appears on the screen where i expect the ball to appear.
to
So I know I have the Allocation, Initialize, render, manipulate and update all satisfied.
Any help would be appreciated, I can email the .g3d file and texture to any who want to try it for themselves.
Thanks
I added an object to example 3. Its a ball I made in Maya and I added a sand texture to it.
I exported the ball to an .x file, then used the x2g3d converter to make the object a .g3d object.
I loaded the object in the G3D viewer and all looks good. I add in the code needed to display the object in the example 3 of the RE sdk. I basically copied the Box settings and changed names to ball. I also repositioned it.
I created a folder for the ball.g3d and included the texture file there.
When I run it, I see no ball, but if I only change the .g3d file in the source, say to the box, A box appears on the screen where i expect the ball to appear.
Ball->Create ("Ball\ball.g3d");to
Ball->Create ("Box\box.g3d");So I know I have the Allocation, Initialize, render, manipulate and update all satisfied.
Any help would be appreciated, I can email the .g3d file and texture to any who want to try it for themselves.
Thanks
About the author
Torque 3D Owner Jason Nabors
It had been awhile since I messed around with RE and I went to the folder with the highest version. 1.2 didn't put the version on the install folder by default like 1.1 did.