Hi,
I'm loading a sphere with texture that was created in Maya. In osg only a black
sphere. Why?
Code for laoding texture:
Code:
osg::Image* image = osgDB::readImageFile( "neptune2.jpg" );
if ( image )
{
osg::Texture2D* tex2d = new osg::Texture2D;//( image );
tex2d-
On 23/09/10 8:10 , John Kush wrote:
> I'm loading a sphere with texture that was created in Maya. In osg only a
> black sphere. Why?
Based on the absence of more information I'd suspect that the model doesn't
have proper
texture coordinates assigned.
Cheers,
/ulrich
Thank very much!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31959#31959
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
Thank very much!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31960#31960
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
If you build your models in Maya, you can try the Maya2OSG exporter in
http://maya2osg.sourceforge.net
Texture coordinates and texture transformations are exported to OSG file.
Best regards,
Javier Taibo.
On Thu, Sep 23, 2010 at 12:10 AM, John Kush wrote:
> Hi,
>
> I'm loading a sphe
5 matches
Mail list logo