The points are stored in the GeoInfo without the GeoInfo's matrix applied to 
them.
DD::Image::GeoOp has the convenience function 'evaluate_transform()' that will 
transform the point list and the ModifyGeo class uses this automatically to 
make it easier to write simple point modifiers.

Point lists on input GeoInfo's should not automatically be transformed unless 
you're subclassing off ModifyGeo, subclass off GeoOp instead and the GeoInfo's 
should be 'raw'.

-jonathan


On May 24, 2012, at 8:43 AM, Julik Tarkhanov wrote:

> I would like to apply transformations to the points() of an input GeoOp. 
> However, I see that the coordinates that I get in already have the
> transform matrix of the input Op applied to it. The documentation states that 
> vertices are stored as object-local coordinates, but they still get
> the axis' knob transforms applied to it. Is this a limitation of the NDK or 
> am I missing something? I've plowed through the list of attribs here
> http://docs.thefoundry.co.uk/nuke/63/ndkdevguide/3d/attributes.html but don't 
> see anything that looks like it.
> 
> -- 
> Julik Tarkhanov | HecticElectric | Keizersgracht 736 1017 EX  
> Amsterdam | The Netherlands | tel. +31 20 330 8250
> cel. +31 61 145 06 36 | http://hecticelectric.nl
> 
> 
> 
> 
> 
> _______________________________________________
> 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