OpenGL: What are causing these lines?

Hi @jeff and @dale do you know what’s causing these white border lines? They are not caused by the image as they are viewport pixel sized and not texture pixel sized (if that makes sense)

image

Here’s the image:

pngegg2

And a sample branch
leaf border opengl.3dm (3.5 MB)

Oh, and by the way, in Rhino 8 WIP it looks like this:

So it seems PNG transparency isn’t hooked up correctly yet.

But if I drag the image in and insert it as a picture then it works, and then I can use that material on the leafs and turn off Self Illumination and then it looks like this:

So R8 has the potential to handles this really good.

Hi Jorgen - in our current WIP build here, leaves look correct = transparency is correct as far as I can see. I do see the lines in 7…

-Pascal

1 Like