image format larger than 32 bpp

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

image format larger than 32 bpp

Post by Nickak2003 »

does ogre have a 128 bpp pixel format or formats of more than 32 bpp? However, I am only interested in R, G, B and not A channel

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: image format larger than 32 bpp

Post by dark_sylinc »

If you mean for Render Windows, then no.

If you mean for offscreen rendering, then yes. See PFG_RGBA32_FLOAT format (128 bpp).

The HDR sample (Sample_HDR) uses PFG_RGBA16_FLOAT (64 bpp).

PFG_RGB32_FLOAT exists (48 bpp) but it isn't supported everywhere.

Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

Re: image format larger than 32 bpp

Post by Nickak2003 »

So if i have an offscreen texture that is 128bpp, then it will still render OK to the render window, correct?

Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

Re: image format larger than 32 bpp

Post by Nickak2003 »

I think I am actually looking for a higher bpp but still integer data type. I'm unsure about using float type atm, but is there an int type?

Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

Re: image format larger than 32 bpp

Post by Nickak2003 »

I like float data type, is there a double data type?
O i guess thatd be the 128...

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: image format larger than 32 bpp

Post by dark_sylinc »

RGBA32_UINT is an uint32 format.

There are no 64 bits per channel data types (i.e. uint64, double) because consumer GPUs and APIs don't support it.

Double can be supported in some APIs (like Vulkan) for buffers (not textures) by enabling some extensions, and support depends on vendor (usually you get the good stuff on Quadros).

OgreNext doesn't enable any of those extensions as we haven't had the need.

Post Reply