|
Author Topic:   About LithUnwrap
TheDarkOne
New Member
posted January 05, 2002 04:33 AM            
I have a question about LithUnwrap. When opening a .peo or any other file and saving it as another file like .lwo, why does the surfaces that were made on the model before it was saved as .lwo disappear? like i built a model in PEO format and converted it to .Lwo format and all the surfaces i made disappeared. why does it do that? is there a way around that? or is that how the program works.


IP:

Dreamer
Member
posted January 06, 2002 10:23 AM         
?the surfaces disappear?

Sounds like the texture mapping is lost upon saving to lwo, right?
That's not intended, but a limitation to that kind of lwo files. You'll have to export your texture mappings seperately to a .luv file if you want to have correct texture mapping in TM.

IP:

JVortex
Member
posted January 06, 2002 11:59 AM            
OH! ok, now i get it. ya, what Dreamer said.

after making all your texture mapping alterations in Unwrapper you need to:

1) save your model as an lwo, assuming you havent done this already.
2) and then go to File -> Export to export your luv file.

make sure that your luv has the same name as your lwo model that it goes with. so for example CoolTankBody.lwo would go with CoolTankBody.luv.

also, you dont need to re-save your lwo model itself when you alter the texture info of it, just so you know. all you need to save after changing stuff is the exported luv file. unless of course you actually did modify the model in some way .

a couple tips:
if youre planning on doing some additional work to the model in another program that involves altering the number of faces of the model or the size/ scale of it AFTER you have already done some texture mapping to it and made an luv file its best to export from unwrapper as an obj file. obj files are pretty universal and will hold your mapping info for later conversion. ive made this mistake before and altered a textured lwo file and lo and behold, it was no longer compatable w/ its luv file, so i had to start the mapping over again from scratch.

also remember that you can take your various different texture pieces and lay them on top of each other if those areas are to look alike (such as the right and left side of a tank, they could share the same texture info placement).

using the Tools -> Optimize Model function is also handy. this has the potential to get rid of a few garbage faces on your model and thus making it easier for TM to use it. youll need to save BOTH your lwo and luv after using this.

hope that helps ya out. have fun!

------------------
Let the rocks roll and the battle commence. www.bzrpg.com .
Check out the site! Loads of Tread Marks support and AddOns. Home of the S.T.O.R.M Pack.
The Storm has arived!! :)

IP:

Lithium
Member
posted January 06, 2002 02:28 PM         
quote:

I have a question about LithUnwrap. When opening a .peo or any other file and saving it as another file like .lwo, why does the surfaces that were made on the model before it was saved as .lwo disappear?

I'm not sure what you mean by the word 'surfaces'. Either you mean
groups, texture coordinates, or the textures themselves (i.e. bitmap files).

LithUnwrap only saves LWO 5.6 files, and I don't believe LWO 5.6 or earlier
versions supports any of the above elements. You can test this using a
program like 3D Exploration and see what happens. For me, none of the
above elements are saved to a LWO 5.6 file.

I would use the above advice and only save the final model to a LWO.
Keep the original copy in a format like OBJ which saves everything
you need.

IP:

TheDarkOne
New Member
posted January 07, 2002 01:17 AM            
actually what i meant was that when i save it as a lwo file, i end up getting only the default surface and all the other surfaces that i made are gone. do you understand what i am getting at?

IP:

Lithium
Member
posted January 07, 2002 11:46 AM         
Can you define what a 'surface' is? Do you mean a group, a material, or
a texture?

Groups and textures are not saved. Materials should still be there.

IP:

A2597
Member
posted January 07, 2002 02:47 PM            
Told ya you'd get more help here DarkOne.
(He started at Freespace, then Firstones, the B5-Blender, and now here. )

------------------
### Hi, I'm a sig virus. Please add me to the end of your signature so I can take over the world. ### - Caught from excaliber @ B5mg.com

IP:

TheDarkOne
New Member
posted January 08, 2002 02:01 AM            
ok what i mean by surface is.. in lightwave you have a surface menu, where you can apply textures to them.. so a object might have 6 surfaces which means that is can have 6 textures applied to it. surface meaning what the polygons are called, basically giving the polygons names.... do you follow?

IP:

Lithium
Member
posted January 08, 2002 01:35 PM         
Ok, I see that you mean LightWave surfaces.

From the LWO specs:

quote:

The data in LightWave 3D object files comprise the points, polygons and surfaces that describe the geometry and appearance of an object. "Polygons" here means any of several geometric elements (faces, curves or patches, for example) defined by an ordered list of points, and "surfaces" refers to the collection of attributes, sometimes called materials, that define the visual surface properties of polygons.

Lightwave surfaces are called materials. But these are not the same
as object/group/mesh/polygon names. Object names define a collection of
faces, even if those faces are assigned to different materials. Since object
names are not stored in LWO 5.6 files, what some programs like LithUnwrap,
MilkShape, etc... do is convert material names to group names. Which
is why it might be confusing to think that LWO files contain group names,
which in fact it does not.

IP:

TheDarkOne
New Member
posted January 09, 2002 09:33 PM            
ok so how do i fix it so that all the material names show up when i convert it. or is there a way to fix it?

IP:

swisher
Member
posted January 09, 2002 11:12 PM            
Ooops.

[This message has been edited by swisher (edited January 09, 2002).]

IP:

Lithium
Member
posted January 10, 2002 12:36 AM         
Lightwave materials, as defined above, will not disappear.

For example, I can load a file called mothership.peo into LithUnwrap.
It has 2 groups and 12 materials.

When I save it to a LWO 5.6 file using LithUnwrap, and then load the
LWO file back in, it has 12 groups and 12 materials. The 2 groups
were lost because of the file format, but it now has 12 groups
because the materials have been converted over. The materials
are still there.

So, if I haven't given you enough information by now to fix your
problem, then it probably isn't fixable.

[This message has been edited by Lithium (edited January 10, 2002).]

IP: