Jonathan beat me to it. I can confirm that what he says is indeed still the case: textures and postage stamps use the same code path, which is hardcoded to use the RGBA channels. There is no way to change this at present; sorry.

It sounds like a good idea though, so I've added a feature request for it. It's #17502 in our bug tracker.

Vil.


On 24/03/11 17:16, Jonathan Egstad wrote:
Your typical GL texture methods like glGenTextures/glBindTexture() and any 
texture setup/copying calls like glPixelStore/glTexImage2D.

The postagestamp system is what handles the texture creation and at the time 
Nuke left DD it was hard-coded to use RGBA - I don't know of a current way to 
change that through the DDImageAPI.

-jonathan


On Mar 23, 2011, at 9:57 AM, Xiaolong Qian wrote:

Hi,

I'd like to know what kind of GL commands are called by Iop::set_texturemap()? 
cause I'm working with some EXR images, i am wondering if it's possible to set 
a layer ( other than rgb layers) as a gl texture ??

And i don't want to use Shuffle to separate layers ;)

any response will be appreciated

Thanks

XL
_______________________________________________
Nuke-dev mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________
Nuke-dev mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev


--
Vilya Harvey
The Foundry, 6th Floor, Communications Building
48 Leicester Square, London, WC2H 7LT, UK
Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
Web: www.thefoundry.co.uk

The Foundry Visionmongers Ltd. Registered in England and Wales No: 4642027

_______________________________________________
Nuke-dev mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to