Re: [osg-users] Geometry Shininess and Color Array

2019-09-15 Thread Chris Djali
Hi,

Have you tried playing with osg::Material::setColorMode? It controls 
glColorMaterial settings, which is used to switch between having the material 
colour be determined by the global colour or vertex colours. You probably had 
the Material set to use its own colour, but if you re-add it and set the mode 
to GL_DIFFUSE or GL_AMBIENT_AND_DIFFUSE, your vertex colours set in the colour 
array should still work.

Cheers,
Chris

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76681#76681





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPB and unusual normals

2019-09-15 Thread Chris Hanson
We're scaling it down to a trivial test case now, because of course nobody
ever uses VPB for trivial test cases. ;)

On Sun, Sep 15, 2019 at 1:40 PM Robert Osfield 
wrote:

> Hi Chris,
>
> I don't recall any issues with normals.
>
> Could you publish the data and osgdem/vsgmaster settings that reproduce
> the issue?
>
> Cheers,
> Robert.
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel  facebook.com/alphapixel (775)
623-PIXL [7495]
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPB and unusual normals

2019-09-15 Thread Robert Osfield
Hi Chris,

I don't recall any issues with normals.

Could you publish the data and osgdem/vsgmaster settings that reproduce the
issue?

Cheers,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org