Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Hippo on November 16, 2003, 01:31:31 pm

Title: Adding a texture in the middle of another...
Post by: Hippo on November 16, 2003, 01:31:31 pm
How can I put a new, small texture in the middle of a repeating one, without it showing up in each part? in other words, I want to put a texture on the side of an orion, (the side that would be opposite the nameplate)... I have lithunwrap, and the texture... Anyone have any instructions on how i can do this?
Title: Adding a texture in the middle of another...
Post by: StratComm on November 16, 2003, 01:33:38 pm
You would have to inset a section into the Orion model that would be mapped in a different texture.  Lith by itself probably won't cut it.  If the section you want to change just happens to be one or two polies that contain exactly one repeat of the texture then it may be doable, simlpy by swapping out the texture there, but that's probably not going to be the case on the Orion.
Title: Adding a texture in the middle of another...
Post by: Bobboau on November 16, 2003, 02:39:16 pm
actualy I think you can add very simple primitives in lith, like a plane, wich is what you would need in this situation. however I don't think lith would be very helpfull with anything after this point, it's unlikely to save directly in a format relyable for FS conversion
Title: Adding a texture in the middle of another...
Post by: Hippo on November 16, 2003, 03:21:57 pm
Psyco over at VWBB did it with his Nike i belive...
Title: Adding a texture in the middle of another...
Post by: diamondgeezer on November 16, 2003, 03:27:25 pm
I think what you want to do will require the additon of an extra poly in the place you want to add the new tex. A very simple operation even in TS, but bear in mind you'll have to jiggy with the UV mapping...
Title: Adding a texture in the middle of another...
Post by: Hippo on November 16, 2003, 03:31:41 pm
there HAS to be some way to do it though...
Title: Adding a texture in the middle of another...
Post by: StratComm on November 16, 2003, 03:44:19 pm
You could do something like a Squad logo over the area you want this thing to go, making sure that you only put the polygon where your new texture is supposed to go.  There's nothing saying that FS's z-buffer issues will allow this to work though, so you almost have to actually edit the model's proper geometry.
Title: Adding a texture in the middle of another...
Post by: Hippo on November 16, 2003, 03:45:44 pm
FS1 doesn't support squad logos anyway...
Title: Adding a texture in the middle of another...
Post by: StratComm on November 16, 2003, 03:53:25 pm
It wouldn't actually be a squad logo, you would simply create an additional plane over the spot where you want your custom texture and map it on.  That's how squad logos are done too, in theory (although I still haven't seen one that works correctly) However, as I said before, the poor z-buffering of the Freespace engine may nullify this suggestion.
Title: Adding a texture in the middle of another...
Post by: Hippo on November 16, 2003, 03:54:51 pm
hm... perhaps i'll recruit a modeler to do it...
Title: Adding a texture in the middle of another...
Post by: diamondgeezer on November 16, 2003, 04:29:57 pm
It would literally take about thirty seconds to put the poly where you want it and rejig the geometry around it
Title: Adding a texture in the middle of another...
Post by: karajorma on November 16, 2003, 05:41:13 pm
Quote
Originally posted by Hippo
Psyco over at VWBB did it with his Nike i belive...


Psycho did a primative version of the texture replacement system FS2 now has. He simply made a textures with the squad images he wanted and replaced the default one with them whenever he wanted a non-default nike. Basically the same thing that [V] did in FS1 with the Galatea and Bastion.
Title: Adding a texture in the middle of another...
Post by: Hippo on November 16, 2003, 06:12:14 pm
ah... hey dg... :nervous: (or someone else?)  interested in giving it a shot?
Title: Adding a texture in the middle of another...
Post by: diamondgeezer on November 16, 2003, 10:07:26 pm
I can easily do the geometry, and I'd volunteer to do it for you. But you see when you adjust geometry you usually have to reset the UV maps, and I suck egg at UV mapping. So it's unlikely I'd be able to get the textures looking the way they were before I fiddled with them, see? That's the tricky part for me :nod:
Title: Adding a texture in the middle of another...
Post by: Krackers87 on November 16, 2003, 10:25:06 pm
no

if you make a new plane hovering like a milimeter over the hull of the orion you could tex it in lith no prob.

Edit: Ill do it, give me 15 minutes.
Title: Adding a texture in the middle of another...
Post by: diamondgeezer on November 16, 2003, 10:36:20 pm
Yeah but that's not exactly profesional is it? I know that we can ignore most of the rules what with the new SCP builds but it just feels better to build a solid model. And Hippo, if you use Krackers' method, vanilla FS2 won't appreciate it.

Oh hold on... is this for FS1? In that case it's definitely not a good idea since you're liable for all sorts of dodgy clipping issues...
Title: Adding a texture in the middle of another...
Post by: Bobboau on November 16, 2003, 10:37:19 pm
tick-tock time's almost up
Title: Adding a texture in the middle of another...
Post by: Krackers87 on November 16, 2003, 10:38:07 pm
:doubt:  fine if your going to be that way ill just split the damn polys then. nothing wrong with that.


... my computers so damn slow right now, im unpacking Fallout 2 files from the original compressed files and its slowing everyting down.
Title: Adding a texture in the middle of another...
Post by: Bobboau on November 16, 2003, 10:38:26 pm
stop useing FS1, use FSO, it is superior!
make the poly (s) in a seperate subobject that way they will always be drawen after the hull of the ship
Title: Adding a texture in the middle of another...
Post by: diamondgeezer on November 16, 2003, 10:39:45 pm
All I'm saying mate is that rough hacks are not a good idea when it comes to geometry with something as delicate as FS2. Without HTL you'd get horrendous clipping doing that, and even the latest build are not 100% clip proof...
Title: Adding a texture in the middle of another...
Post by: Krackers87 on November 16, 2003, 11:00:10 pm
Quote
Originally posted by Krackers87
:doubt:  fine if your going to be that way ill just split the damn polys then. nothing wrong with that.
 


i take it back

new face as bob said or notin, just tried spliting faces and TS decided to be "Kind" and make completely new ones while deleting others i needed.  :blah: now i stare in disbeleif....
Title: Adding a texture in the middle of another...
Post by: Krackers87 on November 16, 2003, 11:02:40 pm
oh yeah and id just like to mention i know how to make ships appear untextured in game, not invisible, untextured:D. Lags like hell tho.