Re: [osg-users] Problem Creating Simple Planes

2007-07-13 Thread Glenn Waldron
Change this line: osg::Vec3Array* coords = new osg::Vec3Array(6); to: osg::Vec3Array* coords = new osg::Vec3Array(); You are creating an array with 6 elements, then pushing 6 more. -gw On 7/13/07, Carlos Nava <[EMAIL PROTECTED]> wrote: Sorry for bothering with this simple problem, but I got

[osg-users] Problem Creating Simple Planes

2007-07-13 Thread Carlos Nava
Sorry for bothering with this simple problem, but I got arround every warning I had, and now the problem is that I can see the central model, but I can't see the planes that should be sorrounding it... Here's the code and thanks for any help you can provide #include #include #include #includ