[osg-users] Warning: Material::apply(State&) - not supported.
Chris Hanson
xenon at alphapixel.com
Mon Jul 23 13:31:22 PDT 2018
You could probably just export to .osg or .osgt and search and replace to
remove osg Statesets by hand.
On Mon, Jul 23, 2018 at 8:28 PM Brad Colbert <bcolbert at rscusa.com> wrote:
> 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
>>
>>
> _______________________________________________
> 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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180723/cda24eed/attachment.html>
More information about the osg-users
mailing list