- Sun Feb 17, 2008 5:42 pm
#261467
so here are some observations i wanted to share, to see if others encountered that issue, because if then this might help...
(just to clear things a the start, this is not a plugIn related issue; IMHO)
below you see the following:
Pic1:
in the first screenshot (rhino GL renderpreview) there is the initial object;
as you can see there is a problem with the welding (it is a mesh object imported). That is often the case with LQ poly models..
Pic2:
I used unweld 0 to correct the bad welding; looks good.
Pic3&Pic4:
reapplied welding 20 to it; result: garbage texture coordinates
To check I rendered it, and if you look closely you can see that it renders wrong, too.
But why?
I only have a suspicion: it looks like projection is not "updated" after new welding is applied (this can not happen with nurbs objects directly, but with their derived meshes) so the original texture coordinates become garbage, stretched over the triangles.
Pic5&Pic6:
Now more by accident I figured that switching back and forward
between singled and divided texture space results in what can be seen in the 4th screenshot: a correctly textured object, with the rendering also looking correct. It must somehow update the tx-co of the mesh.

this I posted some time ago on the rhino Newsgroup, didn`t get much respond however;
same problem, this time with displacement.
top:Nurbs cylinder
middle:rendered nurbs cylinder with displacement
bottom:rendered extracted rendermesh with new welding applied to it.
back then I could not understand what was going on.... now i can at least correct it.

(just to clear things a the start, this is not a plugIn related issue; IMHO)
below you see the following:
Pic1:
in the first screenshot (rhino GL renderpreview) there is the initial object;
as you can see there is a problem with the welding (it is a mesh object imported). That is often the case with LQ poly models..
Pic2:
I used unweld 0 to correct the bad welding; looks good.
Pic3&Pic4:
reapplied welding 20 to it; result: garbage texture coordinates

To check I rendered it, and if you look closely you can see that it renders wrong, too.
But why?
I only have a suspicion: it looks like projection is not "updated" after new welding is applied (this can not happen with nurbs objects directly, but with their derived meshes) so the original texture coordinates become garbage, stretched over the triangles.
Pic5&Pic6:
Now more by accident I figured that switching back and forward
between singled and divided texture space results in what can be seen in the 4th screenshot: a correctly textured object, with the rendering also looking correct. It must somehow update the tx-co of the mesh.

this I posted some time ago on the rhino Newsgroup, didn`t get much respond however;
same problem, this time with displacement.
top:Nurbs cylinder
middle:rendered nurbs cylinder with displacement
bottom:rendered extracted rendermesh with new welding applied to it.
back then I could not understand what was going on.... now i can at least correct it.

