Hi Graham,

I'm afraid there isn't more info on gpuEngine available at the moment -
it's on our list to document this more fully, though (bug 16942, for
reference). In the meantime, if you have specific questions please post
them here or send to [email protected] and we will do our best to
answer them.

Regards,
Lucy

On Tue, Jan 6, 2015 at 3:40 AM, Graham D. Clark <[email protected]>
wrote:

> Hi Lucy,
> Thanks, yes texture size is actually what I need. I had found uniforms
> input0_tex_width and input0_tex_height I just f'd up and had treated
> them as ints. So I'm all good now...
> Is there more info on what is available to the gpuengine somewhere?
> Thanks, Graham
>
> On Mon, Jan 5, 2015 at 6:57 AM, Lucy Wilkes <[email protected]> wrote:
> > Hi Graham,
> >
> > It's possible to access the width and height of the input texture using
> the
> > uniforms input0_tex_width and input0_tex_height respectively. However,
> note
> > that these give the size of the GL texture used by the Viewer rather than
> > the input image itself, so they will not necessarily be the same as the
> > image width and height, but will depend on how the image is currently
> being
> > displayed in the Viewer (e.g. if you zoom in or out, these values will
> > usually change). There's currently no way to access the actual image
> width
> > and height as far as I know. Is the texture size any help?
> >
> > Regards,
> > Lucy
> >
> > --
> > Lucy Wilkes
> >
> > Senior Software Engineer
> > The Foundry
> > 5 Golden Square, London, W1F 9HT
> > Tel: +44 (0)20 7479 4350
> > Web: www.thefoundry.co.uk
> > Email: [email protected]
> >
> >
> > The Foundry Visionmongers Ltd.
> > Registered in England and Wales No: 4642027
> >
> > On Mon, Jan 5, 2015 at 1:19 AM, Graham D. Clark <
> [email protected]>
> > wrote:
> >>
> >> In the GPUop I can get y,x,r,g,b,etc. but how does one get image width
> >> or height?
> >> Thanks, Graham
> >> --
> >> Graham D Clark, VP/Head of Stereography, Stereo D, Deluxe
> >> phone: why-I-stereo
> >> http://www.linkedin.com/in/grahamclark
> >> _______________________________________________
> >> Nuke-dev mailing list
> >> [email protected], http://forums.thefoundry.co.uk/
> >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
> >
> >
> >
> >
> >
>
>
>
> --
> --
> Graham D Clark, VP/Head of Stereography, Stereo D, Deluxe
> phone: why-I-stereo
> http://www.linkedin.com/in/grahamclark
>



-- 
Lucy Wilkes

Senior Software Engineer
The Foundry
5 Golden Square, London, W1F 9HT
Tel: +44 (0)20 7479 4350
Web: www.thefoundry.co.uk
Email: [email protected]


The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
_______________________________________________
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