Re: [osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?

2020-12-09 Thread OpenSceneGraph Users
   i find this setUseVertexAttributeAliasing  must be set in Osg when using 
higher versions of Shader.  Otherwise it won't work

  gc->getState()->setUseVertexAttributeAliasing(true);

在2020年12月5日星期六 UTC+8 下午5:22:22 写道:

> On Sat, 5 Dec 2020 at 04:31, OpenSceneGraph Users <
> osg-...@lists.openscenegraph.org> wrote:
>
>> My working environment is closed and I cannot provide complete code.
>>
>> I'm not asking for code or data, just a high level explanation as outline 
> in my previous email.
>
>> Does the geometry of triangles primitives rendered in Shader 330 version 
>> lack any properties?
>>
> No. 
>
> The problem is unlikely to be anything to do with triangles, but some 
> higher level issue about how the scene is constructed and and what 
> features you are attempting to use,
>
> You've said nothing about the wider context.
>

-- 
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/a16bd854-d2a2-4063-95ec-ece728a618dan%40googlegroups.com.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?

2020-12-05 Thread OpenSceneGraph Users
On Sat, 5 Dec 2020 at 04:31, OpenSceneGraph Users <
osg-users@lists.openscenegraph.org> wrote:

> My working environment is closed and I cannot provide complete code.
>
> I'm not asking for code or data, just a high level explanation as outline
in my previous email.

> Does the geometry of triangles primitives rendered in Shader 330 version
> lack any properties?
>
No.

The problem is unlikely to be anything to do with triangles, but some
higher level issue about how the scene is constructed and and what
features you are attempting to use,

You've said nothing about the wider context.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?

2020-12-04 Thread OpenSceneGraph Users


My working environment is closed and I cannot provide complete code.

Does the geometry of triangles primitives rendered in Shader 330 version 
lack any properties?

在2020年12月5日星期六 UTC+8 上午7:37:28 写道:

> I doubt anyone will be able to help given the information.  You are diving 
> into providing snippet of code and a screenshot with almost no context.
>
> It's far better to take a step back and explain what you are doing with 
> your application from a high level to give the context, then explain what 
> you are trying to do and what looks to be going wrong.  Describe what 
> you've looked so far.  Providing some background on your level of 
> experience with the OSG/osgEarth/OpenGL etc. would be useful for.  
>
> Once others know a bit more about the issue and what type of support you 
> might need we'll be to start providing directions.  However, if the issues 
> you are seeing are presented in a way that is next to impossible to know 
> how to answer you shouldn;t expect answers as we don't have magical powers.
>
>

-- 
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/191bc6e1-b4b3-4d3b-9d52-af5e1228c0bbn%40googlegroups.com.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?

2020-12-04 Thread OpenSceneGraph Users
I doubt anyone will be able to help given the information.  You are diving
into providing snippet of code and a screenshot with almost no context.

It's far better to take a step back and explain what you are doing with
your application from a high level to give the context, then explain what
you are trying to do and what looks to be going wrong.  Describe what
you've looked so far.  Providing some background on your level of
experience with the OSG/osgEarth/OpenGL etc. would be useful for.

Once others know a bit more about the issue and what type of support you
might need we'll be to start providing directions.  However, if the issues
you are seeing are presented in a way that is next to impossible to know
how to answer you shouldn;t expect answers as we don't have magical powers.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org