Game Development Community

ARGH! What is causing this to happen?

by Kenn · in Artist Corner · 11/27/2006 (10:06 am) · 14 replies

Two questions/enquiries!

1) I export the mesh just fine! Buuut, when it comes to bringing it into Torque, poly's don't show up properly, it shows up like, half of each poly, help?

2) how do you bring in the texture with it? I cant get the textures/surfaces to show up, it's just white!

Please help? Thanks! =)

#1
11/27/2006 (10:27 am)
Your model is being rendered white because you don't have its textures in the same folder as the model. If, by chance, you do and the model is still shown as white then check the texture for errors. The texture may be one or two pixels off in resolution, meaning instead of 512x512 your texture may be 512x513.

Also, sometimes Photoshop will foul up the texture on save to another format. In the past I've had to copy artwork from a bad texture to another texture that I know is good and resave.

I'm not sure about the half poly thing. I don't think I've seen that before. I would double check the geometry for flipped normals.

P.S. Maybe you have double faces on your geometry. That would cause z-buffer conflict and may render it as a split poly.
#2
11/27/2006 (3:45 pm)
Okay I know this probably would have helped with my original post! But:

The model in Lightwave:


The exported model in Torque:
#3
11/27/2006 (3:46 pm)
Ok I didn't realise that it's different to html. Lets try this again

Model in Lightwave:
i32.photobucket.com/albums/d50/Kenn_San/torque/torqueimage2.gif
Exported model in Lightwave:
i32.photobucket.com/albums/d50/Kenn_San/torque/torqueimage1.gif
#4
11/27/2006 (3:46 pm)
The second is in torque I mean! >.<;;
#5
11/27/2006 (5:22 pm)
Did you make sure you only have triangle polygons? Use the Triple command in lightwave to do this automatically. That image from Torque looks like my models do when I forget to do this.
#6
11/27/2006 (6:35 pm)
Triple command
#7
11/28/2006 (11:40 am)
Okay sweet! Thanks- that sorted the problem, but the texture one is a big problem! I've tried sorting it out, the only time I got any sort of texture response was an error about the texture being too big, so I tried using a smaller texture, still nothing, tried using a texture the same Y and X axis size, is there maybe something in the export options I'm missing? or is there anything else that could be causing it?
#8
11/28/2006 (11:49 am)
The texture needs to be a power of 2, ie., 128x128, 256x256 or 512x512. I suppose you could go to 1024x1024, but I don't think that would be easy on video memory. Just having the X and Y axis be the same size won't work (ie., 300x300). You can also use something like 256x512, just as long as each axis is a power of 2.

Also, you need to use either UV, planar or cylindrical mapping, IIRC -- don't know if you can use spherical texture mapping. I know that you cannot use cubic texture mapping.
#9
11/28/2006 (12:41 pm)
Awesome! I seem to have the textures working too now! I'm sorry for such newbie questions, but I'm totally new to 3d game making entirely! All I'm stuck with is Lightwave, torque, and a little pocket of dreams!

I appretiate all the help big time from all you guys! I'm sure I won't hesitate if I have any trouble in the future cause you seem to be great guys on this forum! =)

*~KENN~*
#10
11/28/2006 (2:05 pm)
Okay, I'm ALMOST out the deep end with this, when I tried a test object with a random image it worked, the image is showing, the mesh is showing, but can someone tell me why this is happening

Lightwave:
i32.photobucket.com/albums/d50/Kenn_San/torque/torqueimage4.gif
Torque:
i32.photobucket.com/albums/d50/Kenn_San/torque/torqueimage3.gif
I'm sorry for all the bother on everyone! I'm praying this is the final thing that will bug me in the beginning steps of creation!
#11
11/28/2006 (2:12 pm)
That dosnt seem to be using UV, it seems to be using planar projection, or cube.

You need to UV the object.
#12
11/28/2006 (2:44 pm)
Okay, I'm ALMOST out the deep end with this, when I tried a test object with a random image it worked, the image is showing, the mesh is showing, but can someone tell me why this is happening

Lightwave:
i32.photobucket.com/albums/d50/Kenn_San/torque/torqueimage4.gif
Torque:
i32.photobucket.com/albums/d50/Kenn_San/torque/torqueimage3.gif
I'm sorry for all the bother on everyone! I'm praying this is the final thing that will bug me in the beginning steps of creation!
#13
11/28/2006 (3:04 pm)
UV? (sorry about the multiposting >.< must have happened when I refreshed the page) Okay, I'll give it a blast, I've not tried UV mapping yet, you are right though, I've been using plannar. So looks like I'll have to have a play around.
#14
05/24/2007 (7:31 am)
Yeah, you will have to use UV mapping with that.
Here is a tutorial
http://www.newtek.com/products/lightwave/tutorials/uvmapping/uvmapping/index.html