Hi, On Montag, 27. Oktober 2008, Robert Osfield wrote: > I have gone ahead an merged your changes. I'm actually tempted to go > further and remove the whole dual repeat/clamping texture code so that > there is just one texture as things stand now the clamped texture is > totally redundant and potential confusing for future maintenance. I would like to do so too. I left it there if John comes up with soemthing so that we need that again. Ok, svn would be our friend than ...
> There other thing I wonder is whether turning clamping on is something > might something you can autodetect by looking at the texture > coordinates on the geometry to see if it stays in the 0.0 to 1.0, if > so then clamping would be appropriate. Hmm, I am not sure if this is the way to go. Ac3d also has a graphical editor for texture coordinates. Using that you will quite allways have texture coordinate values of 1+-0.02 at least for tecture coordinates that meant to be exactly 1. So I doubt that you can decide it on coords being smaller equal than 1. Otoh, if you test with a tolerance, you might screw up exact and explicitly set texture coordinates from an other example. I would vote for reading what is in the file and what some /standard/ tells. If you don't want that, ac might be a poor choice for the file format or you might do postprocessing ... I also saw the thread wher John is again available... Greetings and thanks Mathias -- Mathias Fröhlich, email: [EMAIL PROTECTED] _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
