It should be possible to add knobs to a GeoReader in 7.0.

Haven't done it yet myself but I believe the Alembic reader leverages this.

I think it uses the same basic methodology as the Reader class, so you can 
check exrReader.cpp for an example implementation.

-jonathan

On Mar 13, 2013, at 7:26 PM, Ivan Busquets <[email protected]> wrote:

> Hi Blake,
> 
> Unless something has changed in the API recently, I don't think you can.
> You would need to derive from SourceGeo instead, and then build all the knobs 
> you need in there.
> 
> Unfortunately, this means your reader will use a separate node, as opposed to 
> the standard ReadGeo.
> 
> I believe Jonathan gave some more details on this a while back.
> 
> 
> 
> 
> On Wed, Mar 13, 2013 at 3:47 PM, Blake Sloan <[email protected]> wrote:
> Is it straightforward to add a knob to a GeoReader? I've added the knobs() 
> prototype to the class definition of my derived class and used the usual 
> method to add knobs to the control panel. They don't show up. Is there an 
> example of this anywhere? The my3dReader example does not have custom knobs.
> 
> Once again, sorry if this is already well-covered.
> 
> -b
> 
> -- 
> Blake Sloan
> Software, Color
> Digital Domain
> 
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
> 
> 
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to