When I run the script with a PLY file the export file (a png) looks darker and difficult to read whereas when I run it with an STL file the export file is easier to understand and brighter.
How could I make the exports from the PLY files look like the ones from the STL files?
Not really - just to clarify, you are first importing a .ply or .stl and then doing a ViewCaptureToFile (png) in Rhino? Are you sure the imported meshes do not have a color/texture associated with them or something else that could influence their display/render color? What display mode are you using to do the screen captures?
I’m also working with hansalbi and above didn’t work out. However I found out that Rendering option Gamma correction 2.2 does the trick. When I click Render button and subsequent Render window Gamma correction to 2.2 will work for me manually for this work.
@sarasikularathne@hansalbi
What I don’t understand is this: If the mesh objects - no matter what their source - have the same object and/or layer color, the same render material and are viewed under the exact same display mode and lighting, they should have a very similar appearance. I would be focusing on the difference between the imported objects in this regard to find a viable solution to your problem.
Thanks for the quick replies on this matter. We really appreciate your efforts.
Yes our understanding is similar but Rhino seems to apply gamma settings differently for ply and stl. Do you know a setting which I could set to make the both same?