I am importing a static mesh from an OBJ file,
but set in *.OBJ poligon normals and smoothing groups are not saved, and UnrealEd smoothes static mesh per material
UnrealEd used Smoothing Groups only per material ?
To create 6 smoothing groups on a one texture, do I need to create 6 materials?
Maybe there is another way to solve this problem?
For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
Staticmesh Smoothing Groups (import from OBJ)
- Reborn
- OldUnreal Member
- Posts: 47
- Joined: Thu Mar 16, 2017 6:55 am
- Reborn
- OldUnreal Member
- Posts: 47
- Joined: Thu Mar 16, 2017 6:55 am
Re: Staticmesh Smoothing Groups (import from OBJ)
Problem solved.
When importing, UnrealEd used every poligon group as smoothing group, and combined same names of materials into one material, but for this it is necessary that the names of the materials match to the actual textures UnrealEd, and differ from "DefaultTexture". If the name of the material does not match the actual texture, or material is named "DefaultTexture", no merging will occur.
It's not obvious.
When importing, UnrealEd used every poligon group as smoothing group, and combined same names of materials into one material, but for this it is necessary that the names of the materials match to the actual textures UnrealEd, and differ from "DefaultTexture". If the name of the material does not match the actual texture, or material is named "DefaultTexture", no merging will occur.
It's not obvious.
- Hellkeeper
- Global Moderator
- Posts: 3260
- Joined: Wed May 21, 2008 8:24 pm
- Location: France
- Contact:
Re: Staticmesh Smoothing Groups (import from OBJ)
So you mean smooth groups must be preset in 3ds/blender and have different and valid textures assigned to all poly groups?
You must construct additional pylons.
- Reborn
- OldUnreal Member
- Posts: 47
- Joined: Thu Mar 16, 2017 6:55 am
Re: Staticmesh Smoothing Groups (import from OBJ)
As I can see, creating different materials is optional, there are enough valid textures.Hellkeeper wrote: ↑Fri Feb 17, 2023 9:19 am So you mean smooth groups must be preset in 3ds/blender and have different and valid textures assigned to all poly groups?
Each group of polygons is read as a smoothing group.
UnrealEd reads only the names of materials.
But if texture names is invalid, UnrealEd reads every poligon/smoothing group as different material.
- Reborn
- OldUnreal Member
- Posts: 47
- Joined: Thu Mar 16, 2017 6:55 am
Re: Staticmesh Smoothing Groups (import from OBJ)
Update:
OBJ file can contain groups and smoothing groups.
These are different things.
UnrealEd ignores smoothing groups and reads groups as smoothing groups
Example:
g Box01 // OBJ group reads as smoothing group
usemtl Border //Name of texture. If texture invalid, UnrealEd create new material
s 1 // OBJ smoothing group ignores by UnrealEd
f 1/1/1 2/2/1 3/3/1
f 2/2/1 4/4/1 3/3/1
s 2 // OBJ smoothing group ignores by UnrealEd
f 3/1/2 4/2/2 5/3/2
f 4/2/2 6/4/2 5/3/2
s 1 // OBJ smoothing group ignores by UnrealEd
f 5/1/3 6/2/3 7/3/3
f 6/2/3 8/4/3 7/3/3
s 2 // OBJ smoothing group ignores by UnrealEd
f 7/1/4 8/2/4 1/3/4
f 8/2/4 2/4/4 1/3/4
# 8 triangles in group
g Box02 // OBJ group reads as smoothing group
usemtl Border //Name of texture. If texture invalid, UnrealEd create new material. If valid - merges with an existing material
s 3 // OBJ smoothing group ignores by UnrealEd
f 7/1/5 1/5/5 5/6/5
f 1/5/5 3/7/5 5/6/5
s 4 // OBJ smoothing group ignores by UnrealEd
f 2/1/6 8/5/6 4/6/6
f 8/5/6 6/7/6 4/6/6
# 4 triangles in group
OBJ file can contain groups and smoothing groups.
These are different things.
UnrealEd ignores smoothing groups and reads groups as smoothing groups
Example:
g Box01 // OBJ group reads as smoothing group
usemtl Border //Name of texture. If texture invalid, UnrealEd create new material
s 1 // OBJ smoothing group ignores by UnrealEd
f 1/1/1 2/2/1 3/3/1
f 2/2/1 4/4/1 3/3/1
s 2 // OBJ smoothing group ignores by UnrealEd
f 3/1/2 4/2/2 5/3/2
f 4/2/2 6/4/2 5/3/2
s 1 // OBJ smoothing group ignores by UnrealEd
f 5/1/3 6/2/3 7/3/3
f 6/2/3 8/4/3 7/3/3
s 2 // OBJ smoothing group ignores by UnrealEd
f 7/1/4 8/2/4 1/3/4
f 8/2/4 2/4/4 1/3/4
# 8 triangles in group
g Box02 // OBJ group reads as smoothing group
usemtl Border //Name of texture. If texture invalid, UnrealEd create new material. If valid - merges with an existing material
s 3 // OBJ smoothing group ignores by UnrealEd
f 7/1/5 1/5/5 5/6/5
f 1/5/5 3/7/5 5/6/5
s 4 // OBJ smoothing group ignores by UnrealEd
f 2/1/6 8/5/6 4/6/6
f 8/5/6 6/7/6 4/6/6
# 4 triangles in group