[osg-users] Warning: Material::apply(State&) - not supported.

Brad Colbert bcolbert at rscusa.com
Mon Jul 23 11:28:03 PDT 2018


Thanks Chris.

It's a model I'm using for testing so it's probably not worth the effort.
Something I downloaded from TurboSquid.

Cheers,
Brad

On Mon, Jul 23, 2018 at 11:20 AM, Chris Hanson <xenon at alphapixel.com> wrote:

> That'll usually do the trick.
>
> Have you determined what Stateset is on your model that is not
> implemented? The right approach would probably be to modify the model to
> strip off the unsupported state so the error is prevented.
>
> On Mon, Jul 23, 2018 at 9:18 PM Brad Colbert <bcolbert at rscusa.com> wrote:
>
>> Hi Folks,
>>
>> I have, what I hope, is an easy question.  I have a model that I'm
>> loading into my app (GL3) that is causing the following warning.  What can
>> I do to simply stop the warning from being displayed?
>>
>> *Warning: Material::apply(State&) - not supported.*
>>
>> Would simply setting the OSG_NOTIFY_LEVEL to FATAL suffice?
>>
>> Thanks,
>> Brad
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. Xenon at 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 <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
> 623-PIXL [7495]
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180723/664ab0b2/attachment.html>


More information about the osg-users mailing list