Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Rampage on April 11, 2003, 07:57:04 am

Title: "Holes" in Models
Post by: Rampage on April 11, 2003, 07:57:04 am
This has been asked before:

I have been having this problem for a long time now.  There are models with "holes" in them.  Now trueSpace doesn't like models with "holes" very much.  Most of these models have "holes" (possibly glitches) that are invisible.  Is there a way to repair the model?  (I don't want to look at every nook and cranny for the hole because I can't see them!)

Rampage
Title: "Holes" in Models
Post by: ShadowPuppet on April 11, 2003, 08:05:47 am
From what I understand, if a polygon is 'bad' in terms of accepted geometry, the game engine won't render it. A problem not unique to FS2 :D

There is a simple way to fix it, which involves triangulating the offending polygon. Fixes the problem, but incerases the models poly count!!!

Basically, you must have co-planar non concave polygons ...or...in english...

If you could take a sheet of 'virtual glass' and lay it on the polygon, ALL vertices should touch the glass ... This must be true for EVERY polygon

Secondly... if you drew a line from one vertex of a polygon to another vertex, it must NOT go outside the polygon. Must be true for all vertices within a polygon.

You will need to find which polygons are missing, and fix them. The holes should go away!
Title: "Holes" in Models
Post by: diamondgeezer on April 11, 2003, 11:01:56 am
Basically, this chap means all your polys should be flat. Thus, you should triangulate your model, since triangles are always flat. Be aware that your poly count will quite often shoot up when a model is triangulated, and I'm unsure as to whether individual faces can be traingulated so that you affect only the offending ones...
Title: "Holes" in Models
Post by: HotSnoJ on April 11, 2003, 12:06:12 pm
or use solidify a ts plugin!


Sorry no link for it, but do a search.
Title: "Holes" in Models
Post by: TrashMan on April 11, 2003, 12:16:59 pm
truespace 5.1 has the fix holes command....
Title: "Holes" in Models
Post by: wojta on April 11, 2003, 01:48:26 pm
What can I do when I have only TS3.2 ?
Soldify doesn't work there.
Title: "Holes" in Models
Post by: Killfrenzy on April 11, 2003, 05:46:07 pm
Quote
Originally posted by TrashMan
truespace 5.1 has the fix holes command....


Where?

And if it's that 'turn hole into face' command then it doesn't always work. In fact, it works about 1% of the time.
Title: "Holes" in Models
Post by: KARMA on April 11, 2003, 06:48:20 pm
****!!!!
i tried the change hole into face with old truespace, i can't remember how it was working to be honest, but i became curious with your post and tried it with ts6....
i wans't able to figure how it works in the couple of minutes i spent on it, but i also tried the opposite (chane face into hole)...........
now you select a face, press the change face into hole button, select a second face.................
and it connect the two faces!!!!!!!!!!!!!!!!!!
it isn't exactly how i expected it to work......
but this is even more useful!!!
i can think of hundred of situations where i can use it!!
i have to test this deeper
Title: "Holes" in Models
Post by: Galemp on April 11, 2003, 11:10:51 pm
Ah, but with Max you can do fun stuff like this.

(http://www.3dap.com/hlp/hosted/fsport/working/before.jpg)
(http://www.3dap.com/hlp/hosted/fsport/working/after.jpg)
Title: "Holes" in Models
Post by: diamondgeezer on April 11, 2003, 11:16:49 pm
The GTD, um... er... :nervous:... Pink... Thingie?
Title: "Holes" in Models
Post by: Galemp on April 12, 2003, 01:32:17 am
I mean you can punch holes in two different parts and bridge them with a click of a button. Very handy for what I'm doing. :drevil:
Title: "Holes" in Models
Post by: KARMA on April 12, 2003, 04:40:56 am
well actually you can do the same (with faces, not holes) in truespace, but with a specific plugin, until the faces have the same number of vertices
or you have to manually connect the edges...
Title: "Holes" in Models
Post by: TrashMan on April 12, 2003, 05:51:27 am
Does anyone know if TS has a plug-in that works like UWWrap form 3D Max (you know...select a face, then select a piece of the textures shaped like your face, and the face has that texture piece)?
Until now I tought that was Uniwrap, but I tried it yesterday and It wasn't...
So....is there one?....it would sure make textuing a lot easier...
Title: "Holes" in Models
Post by: KARMA on April 12, 2003, 09:00:08 am
http://underworld.fortunecity.com/pacman/106/fs2mods/shipcreationguide/index.html
Title: "Holes" in Models
Post by: Rampage on April 12, 2003, 06:04:50 pm
Thanks.  If what you're saying is correct, then The Taiidan Destroyer will be released in due time! :nod:
Title: "Holes" in Models
Post by: TrashMan on April 13, 2003, 03:15:19 pm
A trail version...cannot save!:( And I fiddled with it long enough to learn how to texture real good!

Does anyone know where I can find a version of the Lithium Unwrapper that actually works?
Title: "Holes" in Models
Post by: wojta on April 13, 2003, 03:28:28 pm
http://underworld.fortunecity.com/pacman/106/fs2mods/shipcreationguide/whatyoullneed.html

Don't use the latest version. It's only trial. Use 1.3.

Warning !! LithUnwrap 1.3 destroys object hierarchy. So do UV mapping before gluing model together.
Title: "Holes" in Models
Post by: tomcat on April 14, 2003, 02:12:26 am
Lithium..doesn't destroy the Hyerachy...it just change it..you will still have yout turrets after uv mapping the ship.
Title: "Holes" in Models
Post by: TrashMan on April 14, 2003, 03:09:28 am
Thanks....so, lets see...I'll have to save each LOD as a separate object, texture it, and then put it back together?

That doesn't sound right.....Bah! What the hell...
Lets give it a go!:devil:
Title: "Holes" in Models
Post by: IPAndrews on April 14, 2003, 03:10:14 am
Well if you save out a .cob with a hierarchy it will replace the hierarchy with a new (meaningless) hierarchy. Working on pieces of geometry seperately and swapping them into the .cob using trueSpace is a good idea and obviously gets around the problem. There are times though when you'll need to work on multiple bits of geometry at once. Like when you want multiple pieces of geometry sharing the same texture file. In this case you just have to accept the damage and rebuild the hierarchy in trueSpace afterwards. It's just a case of planning your work so you have to do this as little as possible.

When working in Lithium Unwrapper by the way, save as Lithium's native format as often as possible. Only save out as .cob when you've finished your uv mapping and need to move back to trueSpace.
Title: "Holes" in Models
Post by: TrashMan on April 14, 2003, 03:39:32 am
Boy...this is easy once you get the hang of it.....
thanks for the tips...any more good ones?
Title: "Holes" in Models
Post by: KARMA on April 14, 2003, 04:14:11 am
in truespace apply a solid color to the parts you are going to map with same detail in the texture (example: black for cockpit, green for guns, yellow for wings and so long)
it will be far easyer to select em in lithunwrap
Title: "Holes" in Models
Post by: TrashMan on April 14, 2003, 04:19:42 am
My first attempt:

(http://www.inet.hr/~tstanici/PhoenTest.jpg)
 (http://www.inet.hr/~tstanici/PhoenTest2.jpg)
Title: "Holes" in Models
Post by: IPAndrews on April 14, 2003, 04:41:53 am
Quote
Originally posted by KARMA
in truespace apply a solid color to the parts you are going to map with same detail in the texture (example: black for cockpit, green for guns, yellow for wings and so long)
it will be far easyer to select em in lithunwrap


It you create your model with this tip in mind you make life a lot easier for yourself in the long run. As a backup plan you can always select faces using the Lithium Unwrap preview window. Use S to toggle rotate view and select modes. The fighter looks great by the way. The design works for me. Then again it looks like a Colonial Viper so it probably would work for me :)
Title: "Holes" in Models
Post by: Killfrenzy on April 14, 2003, 06:54:03 am
How does it look like a Viper? Besides the wings, of course and perhaps the front of the nose.
Title: "Holes" in Models
Post by: IPAndrews on April 14, 2003, 07:00:31 am
Quote
Originally posted by Killfrenzy
How does it look like a Viper? Besides the wings, of course and perhaps the front of the nose.


And the engines. And the cockpit. And the guns. You are correct though. Aside from the nose, wings, cockpit, engines, and guns it looks nothing like a Viper.
Title: "Holes" in Models
Post by: Killfrenzy on April 14, 2003, 07:02:08 am
No, the cockpit's not 'big' enough for a Viper. The guns are too big and too long. Engines are also unlike a Viper.
Title: "Holes" in Models
Post by: tomcat on April 14, 2003, 07:47:01 am
Quote
Originally posted by IPAndrews


And the engines. And the cockpit. And the guns. You are correct though. Aside from the nose, wings, cockpit, engines, and guns it looks nothing like a Viper.


Damn IP :D u are obsessed with Viper!!:))
Title: "Holes" in Models
Post by: TrashMan on April 14, 2003, 08:15:35 am
Actually, this is an old model of mine.... had bad textures and geomety problems....
Fixed the geometry, working on better textures now....

B.t.w. - what Viper fighter?
Title: "Holes" in Models
Post by: KARMA on April 14, 2003, 08:30:36 am
battlestar galactica of coure:)
Title: "Holes" in Models
Post by: IPAndrews on April 14, 2003, 08:31:54 am
Quote
Originally posted by tomcat
Damn IP :D u are obsessed with Viper!!:))


Nah. I like the Viper. I'm obsessed with the Raider!
Title: "Holes" in Models
Post by: TrashMan on April 14, 2003, 09:00:16 am
Ahhh...
I remember that show...Saw it on a german chanell....
Nice show...
But...doesn't the fighter there have 3 wings?
Title: "Holes" in Models
Post by: IPAndrews on April 14, 2003, 09:21:05 am
Quote
Originally posted by TrashMan
Ahhh...
I remember that show...Saw it on a german chanell....
Nice show...
But...doesn't the fighter there have 3 wings?


2 and a largish tail fin.
Title: "Holes" in Models
Post by: Sandwich on April 14, 2003, 09:21:38 am
Quote
Originally posted by GalacticEmperor
I mean you can punch holes in two different parts and bridge them with a click of a button. Very handy for what I'm doing. :drevil:


Ahh, yes... the ******** from the *** *** that ******* had. :D