[osg-users] osgconv .ive to .obj missing textures

580 views
Skip to first unread message

Gareth Ferneyhough

unread,
Jun 6, 2010, 10:14:36 PM6/6/10
to osg-...@lists.openscenegraph.org
Hi,

I would really appreciate it if someone could point me in the right direction. The model I am working with displays fine in osgviewer. I am trying to convert from .ive to .obj. I tried this:

osgconv -O OutputTextureFiles DDG51.ive DDG51.obj

but the .mtl file generated points to a bunch of rgb textures that dont exist. I understood that the OutputTextureFiles would regenerate the textures but I dont see them anywhere.

Thank you!

Cheers,
Gareth

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28620#28620

_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Ulrich Hertlein

unread,
Jun 7, 2010, 4:53:44 AM6/7/10
to osg-...@lists.openscenegraph.org
Hi Gareth,

On 7/06/10 12:14 , Gareth Ferneyhough wrote:
> I would really appreciate it if someone could point me in the right direction. The
> model I am working with displays fine in osgviewer. I am trying to convert from .ive to
> .obj. I tried this:
>
> osgconv -O OutputTextureFiles DDG51.ive DDG51.obj
>
> but the .mtl file generated points to a bunch of rgb textures that dont exist. I
> understood that the OutputTextureFiles would regenerate the textures but I dont see
> them anywhere.

The .obj writer doesn't support writing texture files. The 'OutputTextureFiles' that you
specified is an option of the .ive reader and so has no effect.

Cheers,
/ulrich

Gareth Ferneyhough

unread,
Jun 7, 2010, 9:59:00 PM6/7/10
to osg-...@lists.openscenegraph.org
Thanks, I figured that first I had to convert to .osg with the OutputTextureFiles option and then to .obj.

One other thing: I can now see the model and textures in blender, but the mesh has some artifacts in it that I dont see in osgviewer. Any ideas?

Thanks,
Gareth

------------------
Read this topic online here:

http://forum.openscenegraph.org/viewtopic.php?p=28672#28672

Ulrich Hertlein

unread,
Jun 8, 2010, 1:11:50 AM6/8/10
to osg-...@lists.openscenegraph.org
Hi Gareth,

On 8/06/10 11:59 , Gareth Ferneyhough wrote:
> One other thing: I can now see the model and textures in blender, but the mesh has some
> artifacts in it that I dont see in osgviewer. Any ideas?

Yes, I indeed have *some* ideas what causes *some* artifacts. No idea if they are the
same artifact though ;-)

http://www.catb.org/~esr/faqs/smart-questions.html#intro

Cheers,
/uli

Gareth Ferneyhough

unread,
Jun 8, 2010, 1:47:50 AM6/8/10
to osg-...@lists.openscenegraph.org
Ha, thanks for that, I guess that was a pretty vague question. Anyway, I solved my problem by using osgconv to convert to .flt instead of .obj and now the mesh looks great in blender.

Thanks,
Gareth

------------------
Read this topic online here:

http://forum.openscenegraph.org/viewtopic.php?p=28675#28675

Reply all
Reply to author
Forward
0 new messages