osgexport
osgexport copied to clipboard
Multi-layers not exported
Hi,
I have a 3D model designed by Makehuman. It has several layers, and only the skirt is exported. Cedric, how can I send you this file ? Maia
If it's a blender file you can try this service http://www.pasteall.org/blend/ and put the url of the model here
Hi,
I paste the blend file on pasteall.org, I could'nt see any url though. The name of the file is: test_dressed_02.blend. The textures are at: https://picasaweb.google.com/114451333218591663090/Textures?authkey=Gv1sRgCKHy5d2slKj4jAE#
Thank you very much, Maia
To make it easier could you pack your texture in the blend file ?
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
MyMaia [email protected] wrote:
Hi,
I paste the blend file on pasteall.org, I could'nt see any url though. The name of the file is: test_dressed_02.blend. The textures are at: https://picasaweb.google.com/114451333218591663090/Textures?authkey=Gv1sRgCKHy5d2slKj4jAE#
Thank you very much, Maia
Reply to this email directly or view it on GitHub: https://github.com/cedricpinson/osgexport/issues/10#issuecomment-4417912
Hi,
I uploaded the image file of the exported example (in test_dressed_02.blend) in pasteall.org: the name is test_dressed_02_exportedBlender259.jpg.
Cheers,
Maia
Could you tell me how to do that ?
Did you have problem to download the textures at picasa?
--- En date de: Ven 9.3.12, Cedric Pinson [email protected] a crit:
De: Cedric Pinson [email protected] Objet: Re: [osgexport] Multi-layers not exported (#10) : "MyMaia" [email protected] Date: Vendredi 9 mars 2012, 16h53
To make it easier could you pack your texture in the blend file ?
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
MyMaia [email protected] wrote:
Hi,
I paste the blend file on pasteall.org, I could'nt see any url though. The name of the file is: test_dressed_02.blend. The textures are at: https://picasaweb.google.com/114451333218591663090/Textures?authkey=Gv1sRgCKHy5d2slKj4jAE#
Thank you very much, Maia
Reply to this email directly or view it on GitHub: https://github.com/cedricpinson/osgexport/issues/10#issuecomment-4417912
Reply to this email directly or view it on GitHub: https://github.com/cedricpinson/osgexport/issues/10#issuecomment-4419757
Hi,
I packed the texture in .blend file but it's too big: 46 Mb (more than the 30mb allowed). The name is test_dressed_03.blend), I got erroe "No file selected". Maia
Hi Cedric,
I'd like to know if you could get at last the file test_dressed_02.blend with the separate texture files on picasa. As I told earlier, I couldn't transfer the packed blend file since it is bigger that the 30Mb allowed on pasteall.org. Maia
I dont have the url of your model in pasteall.org to get the url of your model uploaded get it from the adress bar ? leave the texture I will have a quick look without them
Hi, This is the url: http://www.pasteall.org/blend/12560
I didn't see it before ;-) Maia
--- En date de: Mar 13.3.12, Cedric Pinson [email protected] a crit:
De: Cedric Pinson [email protected] Objet: Re: [osgexport] Multi-layers not exported (#10) : "MyMaia" [email protected] Date: Mardi 13 mars 2012, 15h00
I dont have the url of your model in pasteall.org to get the url of your model uploaded get it from the adress bar ? leave the texture I will have a quick look without them
Reply to this email directly or view it on GitHub: https://github.com/cedricpinson/osgexport/issues/10#issuecomment-4475009
Hi,
The url is: http://www.pasteall.org/blend/12560
Maia
Cedric,
By the way, I'd like to know the pros/cons of using Blender osgExporter compared to Collada exporter (it is also avalaible in Blender). Thanks, Maia
The collada exporter did not work enough well on previous blender version. I dont know now if it's better.
http://yfrog.com/b866umj here the result when I export it
Could you give your Blender version and the options you checked ? I got this result: https://picasaweb.google.com/114451333218591663090/Dressed_MH?authkey=Gv1sRgCPuz9unkueXXKQ#
(just the green skirt + a strange cube that I don't know from where) Maia
Hi,
See comments on:
http://yfrog.com/nndmwrj http://yfrog.com/0dg063j http://yfrog.com/mtg2vlj
Cheers, Maia
--- En date de: Mar 13.3.12, Cedric Pinson [email protected] a crit:
De: Cedric Pinson [email protected] Objet: Re: [osgexport] Multi-layers not exported (#10) : "MyMaia" [email protected] Date: Mardi 13 mars 2012, 15h55
http://yfrog.com/b866umj here the result when I export it
Reply to this email directly or view it on GitHub: https://github.com/cedricpinson/osgexport/issues/10#issuecomment-4476281
Hi, I put another photo here: http://yfrog.com/f6jkqj
with the body layer only: do you have these textures ?
Hi Cedric,
Sorry for bothering you with that, but I tried to export only nude character, but I got nothing. In the log file, I got for example this:
Type of NudeMesh is MESH exporting object NudeMesh mesh_object is Mesh mesh NudeMesh with material NudeSkin vertexes reduced from 37968 to 11375 faces 9492 WARNING group has no vertexes, skip it, if really unsued you should clean it WARNING group has no vertexes, skip it, if really unsued you should clean it WARNING group has no vertexes, skip it, if really unsued you should clean it WARNING group has no vertexes, skip it, if really unsued you should clean it WARNING group has no vertexes, skip it, if really unsued you should clean it vertex groups 115 uvs channels 1 - dict_keys(['UVTex'])
WARNING update material animation not yet supported
and the exported file has nothing though the size is 5Mb !!!
The blend file is at: http://www.pasteall.org/blend/12726
and the textures at: https://picasaweb.google.com/114451333218591663090/Textures02?authkey=Gv1sRgCLTs-9KE_tKvKA#
Thank you for you time,
Maia
I used the last version of the exporter on the this repository. Were you able to try the source version ? you can build it with build.sh script
Hi Cedric,
I re-install the last version of the exporter on this repository and I get better results with the nude model. http://www.pasteall.org/blend/12928 The exported result is here: http://yfrog.com/9hwla8j
I needed to change the texture file (in tif format) to png format otherwise I don't get the texture. It works almost but not for the eyebrows nor the clothed model (all in black).
Could you change the exporter so that it can accept .tif format file ? I looked at osgdata.py but it does not support *.tif format.
What is strange is that even I changed the eyebrows file as texture.png, the eyebrows are still missing (see blend file).
Thank you very much for your time, really appreciate :o)
Maia
Please, have a look at :
http://yfrog.com/j3xc5vj
for the eyebrows option.
Thank you,
Also, here is the image when rendered in Blender: http://yfrog.com/3uv1hp
Maia
Hi Cedric,
Just an explanation: Makehuman only have .tif files for textures. Maia
Hi Cedric,
I put the a clothed exported model on: http://yfrog.com/n03n2sj the green skirt is well exported but the others are black.
Thank you Maia
Hi Cedric,
Maybe an interesting way to follow for understanding what happens, I found this post: http://www.makehuman.org/forum/viewtopic.php?f=13&t=2324
Though it is for Unity3D, maybe something similar could be bw done withing the exporter: " Unity3D made the eyes, brows, and mouth a separate material. All I did was changed them from diffused to transparent diffused and that made the material transparent. The underlying skin now shows."
Is it possible this within the exporter ? Thank you,
Maia
Could you isolate only the part that does not work correctly, I dont have free time to dig the whole things
Hi Cedric,
Thank you very for your time.
To summarize:
-
The nude model is almost well exported right now. To do so: I had to change the “texture.tif” file to “texture.png” file, otherwise I get grey model with no texture. I used Gimp to save the .tif file as .png file (I used to use Irfanview before but Gimp is better to do so). If I don’t change “texture.tif” to “texture.png”, a file called “texture.unknown” is created in the texture directory (and the texture is not shown on the osg model). To have the eyebrows exported, I deleted the eyebrows mesh groups: this seems to be more related to Makehuman bugs than to the OSGExporter ones since other people complain about that (ex: Makehuman -> Unity), but I am not sure (http://www.makehuman.org/forum/viewtopic.php?f=13&t=2324)
-
For the clothed model, everything is black except the green skirt, even if I changed all texture files in .tif format to .png format.
So, let’s say that the most problem is about the clothed model which has more than one layer (clothes and body layers).
The files are at: http://www.pasteall.org/blend/13157 http://www.pasteall.org/pic/29661 http://www.pasteall.org/pic/29662 http://www.pasteall.org/pic/29663 http://www.pasteall.org/pic/29664 http://www.pasteall.org/pic/29667 http://www.pasteall.org/pic/29668
Thank you very much,
Maia
Hi Cedric,
Finally, I resolved the problems cited above with the following steps:
- Create two models with Makehuman (Nude and Clothed)
- Import into Blender to two different blend files
- Save all .tif texture files as .png files with Gimp (Paint doesn’t work since transparency will be lost)
- Change all texture with .tif format files as .png files in the two blend files
- Append the clothed model to the nude model
- Delete the mesh associated to the clothed model
- Delete eyebrows and eyelashes meshes
- The nude model is now clothed with the appended clothed model
- Export to OSG: the clothed final model is well exported to OSG (see http://www.pasteall.org/pic/30521)
My next step will be to verify that the animation of the resulted model is working as in the original imported clothed Makehuman model.
Thank you,
Maia