Hello Sami,
This should be corrected by this just posted submission:
*file lib3ds_material.c*
*
*
static void
initialize_texture_map(Lib3dsTextureMap *map) {
* map->flags = 0x00;*
map->percent = 1.0f;
map->scale[0] = 1.0f;
map->scale[1] = 1.0f;
}
Regards
Joan Abadie
2011/5/16 Sami Moisio <[email protected]>
> Hi,
>
> I have been investigating the problem a bit and i thought i'd clarify it a
> little bit just in case someone with a little more knowledge might get
> interested :)
> I have been using Blender to create 3ds files and then importing them to
> osg using the importer. I have been creating the repeating textures to the
> models by scaling the UV coordinates past 1 and that has been working
> before. I have been trying to get the repeat from blender to work in the osg
> but it's not working. So previously the way it worked was to scale the UV
> coordinates. Now however the UV coordinates aren't repeating over 1. So does
> anyone know if there has been a change in the 3ds importer regarding the
> texture repeat? Changing from repeat to clamp? Tried to do a search but i
> didn't find anything on it yet.
>
> In any case there seems to be a problem with UV mapping.
>
> Thank you!
>
> Cheers,
> Sami
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39404#39404
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
jOan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org