That sounds like you don't have EXT_draw_instanced, or the shader didn't
compile. If the latter, you'll see errors displayed to the console of
course. To catch the former, crack up the notify level so that you see each
extension being queried, and the results, and pipe it to grep for
EXT_draw_instanced to see whether the extension is present on your system or
not.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Robert Osfield
Sent: Monday, January 05, 2009 11:26 AM
To: OpenSceneGraph Submissions
Subject: Re: [osg-submissions] Support for draw_instanced

Hi Paul,

First up, many thanks for this useful addition :-)

I've now merged and got things compiling under Linux.  When I run
osgdrawinstanced I just get a single quad appearing in the lower left of the
screen, is this what I should be expecting?

Robert.

On Mon, Jan 5, 2009 at 9:26 AM, Robert Osfield <[email protected]>
wrote:
> Hi Paul,
>
> Ah the joy of returning from a break to find a completed submission 
> :-)
>
> I'll get to merging once I've got through my email backlog.
>
> Cheers,
> Robert.
>
> On Mon, Dec 29, 2008 at 3:38 AM, Paul Martz <[email protected]>
wrote:
>> Taking the weekend off was a great idea, Robert! I managed to figure 
>> out the dot ive support myself. :-) For dot IVE, I decided to not go 
>> with a refactor, like I did for dot OSG. The dot OSG refactor came 
>> out to be a bit of a mess. So you'll see mostly cut and paste in the dot
IVE modification.
>>
>> Attached is the final and complete submission. (Some code cleanup to 
>> the other files.)
>>
>> Now that this is all done, I can see clearly that the *Instanced 
>> PrimitiveSets could have benefitted from some multiple inheritance, 
>> with an "Instanced" base class defining the interface and member
variables. Sigh.
>> Good enough for now though, especially as no one funded this 
>> development -- It's a freebie from Skew Matrix.
>>
>> Happy New Year,
>>
>> Paul Martz
>> Skew Matrix Software LLC
>> http://www.skew-matrix.com
>> +1 303 859 9466
>>
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscen
>> egraph.org
>>
>>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.
org

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to