[Ves] [SPAM?] Shading

Leo Marques marques at kappaeng.com
Thu Jul 19 12:09:56 EDT 2012


Hi,

Don't know for your first issue.

For the background color you could use :
this->renderer()->background()->setColor(vesVector4f(0.85, 0.95, 1 ,1));
or
this->renderer()->background()->setGradientColor(vesVector4f(0, 0.5, 1, 1), vesVector4f(0.85, 0.95, 1 ,1));

I hope it will works for you ;)

Bye

On 19 juil. 2012, at 18:02, Chris Vaught wrote:

> The attached image shows a very simply plate with a hole in the center.  This is a simple stl file with no contour data.  The stl file is also attached.  The resulting shading appears to be messed up.  Any thoughts on why this is and how to fix it?  Also, I am working with the example ios application.  How do you change the background color?  I changed the background color of the GLView in MainWindow.xib and that did not work.
> 
> Thanks
> Chris
> 
> <HoleInPlate.png><BD-0003.stl>_______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20120719/21a7a3cb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1466 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ves/attachments/20120719/21a7a3cb/attachment-0003.bin>


More information about the Ves mailing list