Blender S3O Import/Export + BOS Export Plugin v0.6
Moderators: MR.D, Moderators
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
you do not need that for an alpha map, I only use groups for textures that I have alternate versions.
If you want, if it'll help I can upload a psd with alpha channel done for tex1 and all the channels on tex2
If you want, if it'll help I can upload a psd with alpha channel done for tex1 and all the channels on tex2
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
:) thx for offer, but I don't need help with it (i hope). It should not be a problem to make such images. I can paint the textures separately and when needed "connect" them together, in/with other tool.smoth wrote:you do not need that for an alpha map, I only use groups for textures that I have alternate versions.
If you want, if it'll help I can upload a psd with alpha channel done for tex1 and all the channels on tex2
I'm just saying that the feature should be good for work, not just for solving problem with Gimp Alpha channel. I will try to find some more info about that...
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
You could try either:I tried this, didn't work. Also deleting the alpha channel didn't help. It seems like Gimp applied the alplha channel to rgb channels and cleared the transparent areas. Blender loaded image right. (talking about arm_annihilator1.tga for CA annihilator)
1) deselect/disable the rest of the channels before deleting alpha, so any changes there won't affect the rest.
2) Just deselect/disable the alphachan, copy RGB-chans to a new alphaless image, overwrite.
Hm. No, there's absolutely no smooth polys on the my mykonian wormbox aircraft. In fact, in several cases, it's just a default blender box that had its quads converted to triangles (more paranoia, i heard something of Spring doing something bad to >3-gons, "always beware of unknown shit".), a single Empty object and an UV unwrapping.For example gun barrels (canons). It is smooth cylinder, but you must make a texture seam on it to unwrap it. But when it is exported the uvs on this "smooth seam" are merged... For cylinder with 8 faces you will have 7 connected rectangles but last will be stretched across all 7 faces (maybe somehow deformed - swapped cornners, ...).
Or, i'm mixing up smooth edges and smooth polys? Then, /r/ images for the brainless.
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
So I'm finaly posting screens and files about a "bug" with exporting s3o from Blender. I made one simple model to show it.
1st picture is screenshot of Upspring model. You can see one bad unwraped face: 2nd picture is uvmap from spring: 3rd picture is uvmap from blender: I now don't know if this is aproblem of export script or general problem of how spring do smoothing.
The only way how to fix this is mark seam edge also as sharp edge. After that the export works fine, but this kills smoothing in blender, so I must allways mark this edges just before the export. It will be fine if export will work without this tweeking (...also without triangulating the mesh and applying modifiers, scale, rotation, ...)
I think s3o has too many weird features...
1st picture is screenshot of Upspring model. You can see one bad unwraped face: 2nd picture is uvmap from spring: 3rd picture is uvmap from blender: I now don't know if this is aproblem of export script or general problem of how spring do smoothing.
The only way how to fix this is mark seam edge also as sharp edge. After that the export works fine, but this kills smoothing in blender, so I must allways mark this edges just before the export. It will be fine if export will work without this tweeking (...also without triangulating the mesh and applying modifiers, scale, rotation, ...)
I think s3o has too many weird features...
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
the source files:
- Attachments
-
- s3o_export_test.zip
- (82.25 KiB) Downloaded 66 times
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
Just a crazy guess here, I'm completely talking out of my ass.... but have you tried shrinking the skinmap an eency weency bit? Perhaps it's a bug in how it handles vertices on the very edge of the skinmap.
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
I'd say that's what it looks like.Pxtl wrote:Just a crazy guess here, I'm completely talking out of my ass.... but have you tried shrinking the skinmap an eency weency bit? Perhaps it's a bug in how it handles vertices on the very edge of the skinmap.
Probably an accidental "<=" instead of a < in some code intended to wrap around any uv coordinates that somehow become negative? Or maybe it is some bug or unwanted behaviour regarding welding - AFAICS one vertex cannot have two texture coordinates.
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
This must be a problem with the export script...
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
No. You can have the negative coordinates, because textures are usualy repeated along u and v. I test it, And the upspring draws the cylinder with negative coordinates in a right way.Pxtl wrote:Just a crazy guess here, I'm completely talking out of my ass.... but have you tried shrinking the skinmap an eency weency bit? Perhaps it's a bug in how it handles vertices on the very edge of the skinmap.
In spring or in general? Because I think in general you can have more coordinates for vertex, because if you are using this vertex in more faces you will surely sometimes need more than one coordinate. I think it is up to you which texture coordinates you will use for vertex.Peet wrote:AFAICS one vertex cannot have two texture coordinates.
I made another test (I hope that upsring renders models in same way as spring). I tried fix the smoothing with "Recalculate vertex normals" and it did the same thing. One edge was not smoothed after import. So this issue needs to be fixed in export script. And there can't be made texture seam on smoothed area.
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
A vertex is a "dot", it's 0d. How can it have two diffrent positions? theres no width, no height, no length.
So imo, a vertex can just have one set of coordinates, not more
So imo, a vertex can just have one set of coordinates, not more
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
Whut? That means that seaming your texturemaps is impossible. Every seam requires having the vertex represented at each edge of the seam-cut.Hoi wrote:A vertex is a "dot", it's 0d. How can it have two diffrent positions? theres no width, no height, no length.
So imo, a vertex can just have one set of coordinates, not more
Seriously, no seams?
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
You got me there :)
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
Can you add 3do. file support please? I need it so that I can make models for BA.
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
i've fixed the problem with pieces that have mixed tris and quads, it now converts them to tris. i'll update the file soon.
the uv thing i haven't figured out yet. i think i'll need to make it duplicate verts for each uv coord. sorry for the moment.
i may do 3do at some point, but not right now.
the uv thing i haven't figured out yet. i think i'll need to make it duplicate verts for each uv coord. sorry for the moment.
i may do 3do at some point, but not right now.
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
I just want an 3do importer.thesleepless wrote:i've fixed the problem with pieces that have mixed tris and quads, it now converts them to tris. i'll update the file soon.
the uv thing i haven't figured out yet. i think i'll need to make it duplicate verts for each uv coord. sorry for the moment.
i may do 3do at some point, but not right now.
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
you or anyone else who wants 3do capabilites could probably modify the s3o importer to do 3do pretty easily, but i'm not going to do it anytime soon.Super Mario wrote:I just want an 3do importer.thesleepless wrote:i may do 3do at some point, but not right now.
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
some few months ago, I tried fix this problem by myself, but end just before implementation. I added two more lines for printing vertexes with uvs and faces with vertex indexes and uvs (for research).thesleepless wrote:the uv thing i haven't figured out yet. i think i'll need to make it duplicate verts for each uv coord. sorry for the moment.
The idea how to fix it is this:
1. you can export vertices with uvs for entire object like you are doing it in 0.6 version.
2. now, if you are exporting faces you must compare uvs from face data to uvs from vertexes array.
3. when you will find that you are exporting vertex which is in vertex array and it has different uvs that are in current exported face, you must create new vertex with uvs from face. And use this vertex for exported face instead of original one.
4. every new vertex that you are creating you must compare with all new created vertexes
Hope you understand it, i have bad english ...
Anyway I also tried to add support for exporting only objects that are child from selected root. but i found that objects don't track their children they know only their parent, so you must search for children in all objects. maybe it will be easier to export only selected objects, so user must select all objects in hierarchy before export.
you will find this useful, because you can have any objects in scene, for rendering (cams, lights, ...) and also more versions of units that you are working on. Good thing is work on the unit and just before export duplicate it apply all modifiers or make other changes. I think good will be automating this process but there is another blender catch that in blender API is not function for applying modifiers... (i hope that 2.5 will be better in this)
-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
Out of curiosity: Does the plugin still work fine for the test builds of Blender 2.5? I waited getting into Blender until the UI update was done and now things are starting to iron out...
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
i haven't tested it yet as 2.5 doesn't seem far enough along yet, i'll try it as it gets closer and work out any updating i need to do.[Krogoth86] wrote:Out of curiosity: Does the plugin still work fine for the test builds of Blender 2.5? I waited getting into Blender until the UI update was done and now things are starting to iron out...
also, as a work around for the UV problem you can just split your UV seams
Re: Blender S3O Import/Export + BOS Export Plugin v0.6
could you possibly upload the blender file for the solar panel you used in the code example? i'm new to blender and i'd like to use this plugin, just not sure exactly how i'm meant to be setting everything up... would speed me along 10x!
(i've done keyframes with max, so hopefully i can get my brain around this)
thanks for an awesome contribution
(i've done keyframes with max, so hopefully i can get my brain around this)
thanks for an awesome contribution