OBJ Importer/Exporter Plug-in Oddities
Re: OBJ Importer/Exporter Plug-in Oddities
Yeah; I believe Workspace is left handed.
Re: OBJ Importer/Exporter Plug-in Oddities
Well, I think we can get this to work, in a two step process for now,
while I solve the other part of the problem. BTW; I may need to add
a checkbox for this, to the dialog. Depends.
Import the file, enter edit mode to convert to editable mesh, then without selecting any verts/faces/triangles, select: Flip Selected Faces.
while I solve the other part of the problem. BTW; I may need to add
a checkbox for this, to the dialog. Depends.
Import the file, enter edit mode to convert to editable mesh, then without selecting any verts/faces/triangles, select: Flip Selected Faces.
Re: OBJ Importer/Exporter Plug-in Oddities
Ok; looks like it is working ok now, at least for the test cube danperk posted.
Please test this. If other objects are imported 'inverted/reversed/inside out/whatever',
please post them in a zip file here. That may mean, I need to make this 'inversion' optional
in the dialog.
Attached is a picture showing, from left to right:
1) the imported file
2) the imported file after converting to editable mesh and flipping selected faces (no faces selected,
so all faces are flipped)
3) #2, exported from tS, then reimported to tS using the obj importer.
Yes, I know the textures are missing from the imported file.
If that's really a problem let me know. I am not sure if it's worth debugging that, to be honest.
The reason I say that is, most folks do their texturing in the final-destination application anyway.
At least I've heard.
Please test this. If other objects are imported 'inverted/reversed/inside out/whatever',
please post them in a zip file here. That may mean, I need to make this 'inversion' optional
in the dialog.
Attached is a picture showing, from left to right:
1) the imported file
2) the imported file after converting to editable mesh and flipping selected faces (no faces selected,
so all faces are flipped)
3) #2, exported from tS, then reimported to tS using the obj importer.
Yes, I know the textures are missing from the imported file.
If that's really a problem let me know. I am not sure if it's worth debugging that, to be honest.
The reason I say that is, most folks do their texturing in the final-destination application anyway.
At least I've heard.
- Steinie
- Captain
- Posts: 2914
- Joined: 21 May 2009, 17:38
- Type the number ten into the box: 10
- Contact:
Re: OBJ Importer/Exporter Plug-in Oddities
Thanks Froo!
I'll test it out and let you know.
I'll test it out and let you know.
Re: OBJ Importer/Exporter Plug-in Oddities
Excellent! Thanks Steinie!
I can try to find out why the textures/materials are not loading correctly,
from the exported object.
I can try to find out why the textures/materials are not loading correctly,
from the exported object.
- BNG
- Chief Warrant Officer
- Posts: 684
- Joined: 16 Oct 2009, 03:26
- Type the number ten into the box: 0
- Location: Texas
- Contact:
Re: OBJ Importer/Exporter Plug-in Oddities
Thanks Froo. I haven't done much with the OBJ importer, but it may come in handy down the road.froo wrote:Here is the release version of the OBJ package.
If you already have a version of this, Please make a backup copy of it
and keep it in a safe place before installing this version.
That way you can revert to your original version if you don't like this version.
Casual Truespace 3D modeling hobbyist. My Truespace blog and simple 3d Modeling Tutorials for Casual Model Makers.
Re: OBJ Importer/Exporter Plug-in Oddities
Welcome BNG.
Re: OBJ Importer/Exporter Plug-in Oddities
Package updated.
Steinie reported that textures were being imported reversed.
I think this will take care of that.
Please let me know if this works, and if it breaks anything that imported successfully before.
Remember to make a backup copy of the old version. You can just unzip this file and place it
where the old one was located.
Thanks
Froo
EDIT:
Version removed
Steinie reported that textures were being imported reversed.
I think this will take care of that.
Please let me know if this works, and if it breaks anything that imported successfully before.
Remember to make a backup copy of the old version. You can just unzip this file and place it
where the old one was located.
Thanks
Froo
EDIT:
Version removed
- Steinie
- Captain
- Posts: 2914
- Joined: 21 May 2009, 17:38
- Type the number ten into the box: 10
- Contact:
Re: OBJ Importer/Exporter Plug-in Oddities
Thanks for working on this one Froo!
With this version the object and texture are both reversed. I sent you an
example by email.
Your getting closer!
I guess the confusion is describing an object where it is visually backwards or an object that you can see into with the
faces flipped. I believe in this build the faces are flipped so after applying the texture and flipping
the faces the object and texture is perfect.
See what you can do with the object and texture I sent you.
With this version the object and texture are both reversed. I sent you an
example by email.
Your getting closer!
I guess the confusion is describing an object where it is visually backwards or an object that you can see into with the
faces flipped. I believe in this build the faces are flipped so after applying the texture and flipping
the faces the object and texture is perfect.
See what you can do with the object and texture I sent you.
Re: OBJ Importer/Exporter Plug-in Oddities
Ok; try this one on for size.
When I import, the object does not need to be converted to an editable shape,
nor does it require its faces to be flipped.
Since I am not well versed with textures, that part still needs to be tested.
This is what I did:
import danperk's testcube.
Result: imported just fine
No conversion to editable shape required.
No face flipping required.
exported danperk's testcube and reimported.
Result: no textures, but object imported correctly.
No conversion to editable shape required.
No face flipping required.
When I import, the object does not need to be converted to an editable shape,
nor does it require its faces to be flipped.
Since I am not well versed with textures, that part still needs to be tested.
This is what I did:
import danperk's testcube.
Result: imported just fine
No conversion to editable shape required.
No face flipping required.
exported danperk's testcube and reimported.
Result: no textures, but object imported correctly.
No conversion to editable shape required.
No face flipping required.
- Attachments
-
- OBJImporter.zip
- (163.31 KiB) Downloaded 323 times