Game Development Community

Textures on objects problems

by Rich · in Artist Corner · 04/27/2007 (6:17 am) · 10 replies

I have a problem I can get nice textures in milkshape however when I open my models up in torgue just get dark shades no matter what I try and the textures are in the folder I saved the dts file too. Plus I'm sharing texture jpgs. from the torque material library directory. Also when I make native objects in torque like sphere, box whatever I can't seem to find the technique to take textures from library and put textures on them, only one I could do it with was the testcube perfab or whatever it was the example I think it was I could change textures on it, but even from looking at its files I can't seem to get textures on anything I make in torque constructor or my 3d models dts. from milkshape transfers. and I have noticed if you try to take anything and make it dts in milkshape without textures say you've stripped the textures then it errors when you try to open up the file in torque constructor everytime, was trying different things thought I was getting layers of textures and it was causing it but doesn't seem to be it seems like to me it has to see a texture in the dts file just to get it in. But I would think if I could figure out constructors methods to delete the texture it came in with and simply apply new, everything would be cool......however I can't seem to put my finger on it so I'd appr.if someone could untwist me on this would be much apprcted.

#1
04/27/2007 (11:07 am)
Ok I can get textures on objects like the native shperes and boxes and so on, seems I got confused when I couldn't get textures on my models transported in via MS.
I was trying to put some of my textures on I imported in to constructors textures folder, seems after I saw I could put the originals of constructors textures on and not mine I figured make them 512 like theirs and so I resized them and that fixed that.

Still the problem of my own models via MS which are multiple piece models I impoted each piece of the model in separately seemed MS wouldn't take whole model well, so I smartly when I constructed model in my modeler I was saving pieces as I built it for safety in case of problems and fixes. Well when I put each piece in MS they snapped precisely together very nicely and the whole model was in MS, much better than trying to put all in at once.

I made the point in first post you have to leave some texture on the object or objects wheather it be the originals or replaced in MS or else the dts. file or files will not open in Constuctor so with that in mind leaving or putting some texture on when I have all the dts.files or file of the model in Constructor I can't put textures on anything and I can't figure it out appreciate some help with this. Also was gonna add if you make dts. pieces of your multi piece model with MS and Import them separately in Constructor they snap together and you have your whole object nicely there too, as I say I just can't figure out how to clean the old textures off in Constructor and put any textures on that object.
#2
04/27/2007 (12:59 pm)
Why would you want to remove the old textures in constructor? If you try to retextures a dts in constructor you will probably need to write a script. Or you could place the dts in Constructor/staticshapes in separate folders and rename the texture file. But I am not sure if I understand what you asking.

Example : I have one barrel with different color textures. The texture file all have same name but are different.

Blue Barrel folder, barrel.dts, base.png (blue texture)
Red Barrel folder, barrel.dts, base.png (red texture)
Yellow Barrel folder, barrel.dts, base.png (yellow texture)
#3
04/27/2007 (1:10 pm)
I think you misunderstood, I just added more textures in from some of my own and then found that for them to work successfully on a barrel for instance, I had to resize the new additions to the size of the Constructor native texture files (512x512)that came with the program when I downloaded it and installed and looked in the textures folders.

So anyways now that i got that long statement out(I hope you understand it now) do you understand what the rest of the post ment and can you offer any solutions? Hope someone can reflect to that same problem there has to be something thats stopping a texture from going on imported dts. objects self constructed that I'm not doing correctly in Constructer or when I set it up in MS and exported.
#4
04/27/2007 (4:33 pm)
I will look into this but i dont think you can change texture on dts in constructor. If I misunderstand please give example what you try to do. Unless you said that no dts export with Milkshape will show texture in constructor.
#5
04/27/2007 (5:39 pm)
It seems strange that you can't change skins or textures, if you are correct then the only way is to import them with a texture? You have to have some texture on to export from MS to Constructor or it errors going in, and the textures are comming thru as a solid shade with no recognition of a nice texture whatsoever. So the remaing question to the qwirk would be what good would it do to model nice 3d objects just to not be able to skin them once you got them in to Constructor at least thats the thought that just flshed thru my mind. So in retrospect thats why I find it hard to believe but at least you see what I mean. There must be a solution if you can help or anyone for that matter thanks, and I'll check post later see whats up.
#6
04/27/2007 (7:23 pm)
Constructor is not design right now to change the skins on dts model only map or dif. But if you look at my early post about the folder for constructor/staticshapes you can export the model from MS with the different skins and put them in constructor that way. This the way I do and there is no problems with doing it. It actually work pretty good. I am going to try to get setskins in constructor if I do I will share the script.

Here picture of the work around I am talking about.

i141.photobucket.com/albums/r72/fuciferTorque/folders.jpg
#7
04/27/2007 (9:24 pm)
What purpose does it serve if you can't physically get that skin to go on selected dts model in Constructor, you can't lift it off- if it never goes on or change textures. Then the other question arises to mind why does Constructor have to have a texture on from the MS dts export to open if it doesn't show it, and it appears they do not have a textures attached because when you click the (lift) button to see what texture is attached it reads as (none).

What I'm beginning to think is that the texture is there and shows in game but doesn't make sense it would be really right.

Or you can only do it in showpro possibly tool, change textures pop objects back in game engine and so on, I haven't gotten to that stage needed to figure out how to get my models to the point of textures I guess yet.

Or you have to script in proper file extensions in scripts with game engine possibly only way, maybe showpro won't do what I think it could.

And obviously you may have more to tell me about the start of my post and I'm still doing something wrong but am starting to think not. And apparently your not to an advanced state of this I don't think cause you haven't described a senario to how to work thru the Constructor and into game with files, I might be wrong but I would be telling someone myself what the process was if I had done it yet which I have not. Sorry to be blunt but this is really aggrevating and inconvenient to blunder thru issues like this.

I tried saving as csx. from the dts in Constructor and that would make it texture changeble however it appears thsat for some reason that file doesn't get written correctly and that would either be MS is not doing a thing, that Constructor allows imported in but when Constructor saves as csx it writes the csx file inadequately to modify textures.

So unless you have to have engine and to what extent showpro tool actually does I'm goin nowhere I don't think I'll run write out the keyboard and spend 150 bucks to find out. Is there a total working demo of tourque with showpro in it for trial does anyone know?
#8
04/29/2007 (8:33 am)
K, conquered the dts figures showing up with textures on them when they get opened in Constructor seems they look good in MS however they maynot be, you have to mess with the texture coordinator maybe several times and then save the dts file and look at it in Constructor to see if you hit paydirt.

But that still didn't solve the problem of changing the textures at all in Constructor I believe that you just cannot, even if saved as a csx, prolly have to have the TGE version 1.5.1. now that includes showpro tool and you can alter away I'm thinking, however I don't know I tried to download demo and still don't know if its a full working version cause it would never open always generated an error so anyways I wrote support still haven't got back. So if anyone knows if its a full working demo and showpro tool lets you alter like I'm thinking would appr. some input.

K got the demo figured out have to have at least a 64 meg video card or it doesn't work maybe by design or maybe the graphics are heavy dunno but thats it, its just a walk thru anyways so does anyone else know if you can change skins and alter their looks,paint, map, ect. in showpro tool also? Would like to know what the total features of showpro tool are, thanks in advance.
#9
05/17/2007 (8:57 am)
Constructor isn't meant to edit DTS objects, the skins or anything. When you're importing a reference DTS object, it needs to be setup beforehand. Remember, static shapes baked into an interior are for static shapes, not ones you'll want to script later. I don't know what gives you the idea that constructor _should_ be able to do this...

And no, show tool doesn't edit anything. it "shows" thats why its called the "show tool".



As far as features, read the list of features for both Show tool Pro and Constructor.
Trust me, if its not on there, it doesn't do it.
#10
05/17/2007 (9:25 am)
So in other words it has to be done in the script code is what your referring to I imagine and that is the only way to achieve anything done out of Constructors abilities?

The ideas I have are from someone who would like to have it that way versus if I'm correct and have to work in the code, and I'm not much into code at all not implying I couldn't just don't seem to like it.

And if you are following my questions you can see that I haven't used these tools before and I'm trying to ask questions I'm having problems and wonders about as I go, granted I may be lax at picking up everything from trying to read manuals and so on at first but I've got it down fairly well now Constructor does have some other features that in time I will figure out. I got my model in the engine and it looks nice.

If I'm right in assumming outside geometry and mapping has to be inserted in code how well does it work or is it jousting match to any degrees?