Hi Robert,

Sorry for bad example, but the example is actually just the same as in the 
osgbillboard example, which works.. So i guess there is some other error. I do 
cast the Billboard pointer to an IntPtr and then back to a Node* before 
inserting into the scenegraph root node. I do this in a ref (mixed mode)class 
for building object from managed to native. But i guess that should be ok..?

Erlend

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield
Sent: 16. april 2008 16:14
To: OpenSceneGraph Users
Subject: Re: [osg-users] error in doing SceneView->cull, primitiveset is 0

Hi Erland,

Are you expecting support on some third party code that you've found
on the web?   If you can stick with ones on the OSG example set you'll
have a much better chance of the code being up to date and working
with the present version of the OSG.

Robert.

On Wed, Apr 16, 2008 at 3:09 PM,  <[EMAIL PROTECTED]> wrote:
>
>
>
>
> after created a billboard as in the example at at (also see code.txt).
>
>
>
> http://www.cs.clemson.edu/~malloy/courses/3dgames-2007/tutor/web/billboards/billboards/scene.cpp
>
>
>
> ( i used this since createTextureQuad did not link)
>
>
>
> primitiveset  was an error pointer so when DrawArrays->getMode causes an
> error, but as you can see in the code i have created the primitiveset
>
>
>
> Erlend
>
>
>
> using osg 2.3.7 vista
> _______________________________________________
>  osg-users mailing list
>  [email protected]
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to