Hi,

I'm afraid I can't read what I presume is chinnese so don't really
know what the question is.  Looking at your code it's clear you are
doing something that won't work with the OSG - using glPointSize
amounts OSG set up code.  Use a osg::Point state attribute instead,
attach this to the geometries StateSet.

Robert.

2008/2/27 IceSharK <[EMAIL PROTECTED]>:
>
> Hi~
>
> ------------------------------------------
>
> ref_ptr<DrawArrays> primitiveSet = new DrawArrays( PrimitiveSet::POINTS ,
> first , 1 );
> glPointSize( 10 );
> geometry->addPrimitiveSet( primitiveSet.get() );
>
> 类似上述意图的代码如何实现?
>  需要在callback里搞吗?
>
> ------------------------------------------
>
> p.s
>
> 有中文的OSG邮件组吗?
> _______________________________________________
>  osg-users mailing list
>  osg-users@lists.openscenegraph.org
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to