Planetside Software Forums

General => Terragen Discussion => Topic started by: zionner on September 16, 2007, 07:40:08 AM

Title: Problems with Bitmaps..
Post by: zionner on September 16, 2007, 07:40:08 AM
Hi all

I have a problem when Using bitmaps (Like the Texture files used in games) I've Concerted all the files from 3DS to Obj through poseray...and I have all of the Maps Applied on to the object in Pose ray...but when I import it into a picture in TG it comes out with No bitmaps...

Anyone have any idea whats going on?

Thanks
Zionner
Title: Re: Problems with Bitmaps..
Post by: Harvey Birdman on September 16, 2007, 07:52:57 AM
Yeah, this comes up all the time. The usual cause is a space in the path to a texture. TG2 doesn't like spaces in file names/paths. Move all the images into the same directory as the .obj and .mtl. Open the .mtl with a text editor (NotePad) and edit the paths to give just the file name (the relative path to the file, which is now in the same directory).
Title: Re: Problems with Bitmaps..
Post by: zionner on September 16, 2007, 08:00:16 AM
I had a look over the mtl files and all of the objects in use in TG have no spaces in their path names..

I had a look over the shader..and It looks like its coming out as a load of...dots?
Title: Re: Problems with Bitmaps..
Post by: Harvey Birdman on September 16, 2007, 08:03:22 AM
Well - so much for the easy fix.   ;) 

That doesn't sound like one I'm familiar with.
Title: Re: Problems with Bitmaps..
Post by: zionner on September 16, 2007, 08:05:28 AM
Ok, Thanks for your help :D

Anyone else have any ideas?

Edit: This probably has nothing to do with it, but do you think quality settings may have a factor in it?
Title: Re: Problems with Bitmaps..
Post by: Harvey Birdman on September 16, 2007, 08:12:12 AM
If all else fails and you can't get it to work you can email me the model and I'll take a look at it, if you like.
Title: Re: Problems with Bitmaps..
Post by: zionner on September 16, 2007, 08:14:03 AM
Ok, Im sending it in a PM now..Cause I have no idea whats wrong..Do you want me to send the Bitmap as well?
Title: Re: Problems with Bitmaps..
Post by: Harvey Birdman on September 16, 2007, 08:29:49 AM
Yeah, zip the textures up and send me the whole thing. No guarantees, but I'll take a look.

:)
Title: Re: Problems with Bitmaps..
Post by: zionner on September 16, 2007, 08:33:13 AM
is there an E-mail i can send it to As PM dosent allow you to sena attachments
Title: Re: Problems with Bitmaps..
Post by: DeathTwister on September 16, 2007, 09:03:37 AM
My quick sents as well about file names.
I. have found the best way to make file naming is to one, never have spaces in names,
2. never use underscores like we do all the time as some apps hate that very much, and really bad when working with video game engines.
3. I always use a period/dot Between names when using naming conventions as it works pretty much cross platform instead of underscores.
4. and textures should always be to the power of 2 in sizing, like 256x1024, or 512x512 and so on when making textures.
5. tgd2 does not support multi textures or sub mapping yet, and that can kill us for those that use this for making things in larger apps or if we wanted to bring in people. Although I have not tried to import a .obj person in yet, I am pretty sure it won't fly.  But please oh please say I am wrong /smiles......

DT
Title: Re: Problems with Bitmaps..
Post by: Harvey Birdman on September 16, 2007, 09:04:53 AM
I just PM'd my email to you.
Title: Re: Problems with Bitmaps..
Post by: zionner on September 16, 2007, 09:06:45 AM
Thanks for The Tips Death,

I have got One of my models to Texture Correctly..and I can see the diffrence in the two...So Before I do anything Im going to try and see if this changes anything...

Thanks
Title: Re: Problems with Bitmaps..
Post by: zionner on September 16, 2007, 09:08:58 AM
I've Fixed it now, The Problem was in the mtl file, on most cases the Textures were being told to blend...So All I need to do is correct that, and everything works,

Thanks for your help! I'll be posting the Screenshots soon ;)

Thanks again
Zionner