Re: [osg-users] getting userData or accumulated Uniform in nodevisitor

2021-02-01 Thread 杨光
ok i get it,i feel sorry for that

Robert Osfield  于2021年2月1日周一 下午6:45写道:

> On Mon, 1 Feb 2021 at 10:38, 杨光  wrote:
>
>> Hello, I’m sorry to ask you, I use shader on osgearth, the coloring
>> effect is unsatisfactory, and the coloring area will change with the
>> movement of the camera, can you give some hints on this question ?
>>
>
> If you have an unrelated question it's inappropriate to piggyback off
> another thread as it makes it harder for everyone to follow.  It'd be rude
> to interrupt someone else's conversation in real-life, online forum/mailing
> list as just the same. Please start your own thread for your question.
>
> For osgEarth related questions there is a dedicated community for it so
> it's likely to be the best place to ask questions about it there.
>
> Cheers,
> Robert.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "OpenSceneGraph Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/osg-users/SlS_7SY0528/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> osg-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osg-users/CAFN7Y%2BXoqf_pZNJ5fLB_KWSWUqsduJgbogdvMakw_mOJ76rC%2Bw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/CAN5EeD%3DHRo1aC2Jm8mhvpgOGYhVPaw_tDhxjFt6%3DAwox-RuUdA%40mail.gmail.com.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] getting userData or accumulated Uniform in nodevisitor

2021-02-01 Thread Robert Osfield
On Mon, 1 Feb 2021 at 10:38, 杨光  wrote:

> Hello, I’m sorry to ask you, I use shader on osgearth, the coloring effect
> is unsatisfactory, and the coloring area will change with the movement of
> the camera, can you give some hints on this question ?
>

If you have an unrelated question it's inappropriate to piggyback off
another thread as it makes it harder for everyone to follow.  It'd be rude
to interrupt someone else's conversation in real-life, online forum/mailing
list as just the same. Please start your own thread for your question.

For osgEarth related questions there is a dedicated community for it so
it's likely to be the best place to ask questions about it there.

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


Re: [osg-users] getting userData or accumulated Uniform in nodevisitor

2021-02-01 Thread 杨光
Hello, I’m sorry to ask you, I use shader on osgearth, the coloring effect 
is unsatisfactory, and the coloring area will change with the movement of 
the camera, can you give some hints on this question ?

在2021年2月1日星期一 UTC+8 上午2:19:34 写道:

> Hi Werner,
>
> You'll need to override the Cull traversal behavior and get the StateSet 
> stack from the CullVisitor.  I don't recall the details off the top of my 
> head so you'll need to look at the osgUtil::CullVisitor and it's parent 
> class osg::CullStack for the tracking of state.
>
> Robert.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/2dbc8e41-4c35-4e12-8f3e-ae6e9d178bf5n%40googlegroups.com.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org