Hi AC3D plugin users :-)

Recently we've had a few submissions of modifications to the ac3d
plugin that try to fix texture repeat/clamping behaviour or their own
sets of models that they encounter.  The problem is that we now have
multiple interpretations of what the ac3d plugin should do w.r.t
texture repeat/clamping and these conflict, apply one patch and your
fix models from source A, but break models from source B, apply
another patch and your fix the models B, but break models A.
Arggg.....

So what I'd like to properly resolve this matter.  Ideally online
descriptions of the format would answer this once and for all:

   http://www.inivis.com/ac3d/man/ac3dfileformat.html

But the following:

   *texrep %f %f

   Optional - default 1.0,1.0 .  The texture repeat values for the
tiling of a texture
   on an object's surfaces.

But it doesn't really say anything about the how the texture wrap
modes map to this, if at all.  And here lies the problem, the ac3d
format doesn't really tell us enough about what OpenGL state to set
for textures, one has to guess at what the settings are in ac3d and
how they relate to items like texrep, or perhaps there are extra docs
hidden away that provide the definitive settings for it.  On the ac3d
website's sources page it does have an example loader/viewer, perhaps
it might be definitive?

    http://www.inivis.com/resources.html

I suggest that we collect together a set of .ac files that demonstrate
models where texture repeat is certainly intended and also models
where clamp wrapped modes are intended.  The mailing list has a limit
of 300k per post, so if you can keep your post underneath this then
you could post them here, but it'd be better if you can post them
online for others to download and test.  It'd be great if you could
also provide screenshot of how the models should looked if perfectly
rendered.

Thanks in advance,
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to