Texture VRAM usage

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
DinoMuhic
OctaneRender Team
Posts: 194
Joined: Wed Mar 25, 2015 10:24 pm

I wanted to ask something specific about vram usage of textures and came over this tidbit in another thread. I thought its worthwhile to open another discussion about it instead to talk in a thread with an obsolete build.
aoktar wrote:
ralf_breninek wrote:Great tool to improve your scene performance and finding problems easier, thanks Ahmet :)

Seomething I find strange is that some images are listed multiple times, like in the middle of the first screenshot "yol.tif" I do not think that this single image really takes up 135mb of VRAM only because it has been used three times, or does it? If it only uses 45mb listing it only once might be enough maybe, or is there another reason to show it several times then?
Thanks. For additional info about how Octane works with images: It has some optimisations to avoid more vram usage. Ex. if you use a image at different slots, will only use one copy of this image. But if you use it with different mode, ex. "Float" and "Normal". This will cause to create a additional copy. This valid for direct access to images by the paths. But if we register them by ram buffer method, each copy will spend extra vram. When we use buffer system? With C4D shaders->render textures or using the layers of some PSDs. I hope that's not so much confusing.
Hey Aoktar, another question regarding Vram usage.

You say if the mode (Normal - Float) is different, then the image has to be put twice into vram and size increases. Now my question: Does it also depend on the gamma and power values? So an image in a slot with a gamma of 1 and the same image in another slot where it uses a gamma of 2, does octane only use one in VRAM or two images?
For example I have this one tex, which is pretty big, and its always used in normal mode, however, with different power and gamma settings. Is this put into vram only once or dozens of times like its visible here? Would it be better to use a color correction node instead?

Image
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Here calculations are not exact. Just a rough estimations from plugin. Things are perpetually changing on render engine. But there must be one allocation if you use any image by same file name+path and same mode.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
atome451
Licensed Customer
Posts: 285
Joined: Mon Feb 22, 2010 8:04 pm
Location: Brussels - Belgium
Contact:

Hi,

I'm surprised to see a screen capture of the texture manager because on my Cinema 4D R14 it crashes all the time when i call it. Event with only one texture and a cube, with or without the Live viewer running. I thought it was not yet active and still a WIP... :roll:

Here is a bugreport:
_BugReport.zip
(12.85 KiB) Downloaded 237 times
Win10 64bits | 3x 980 + 2x 670 + 1060 | Cubix XPander + network | Core i7 3600 MHz | 32GB | 1300w PSU
Sorry for my bad english...
DinoMuhic
OctaneRender Team
Posts: 194
Joined: Wed Mar 25, 2015 10:24 pm

WEll its definately still buggy, see the VRAM usage in this one:
pimgpsh_fullsize_distr.png
DinoMuhic
OctaneRender Team
Posts: 194
Joined: Wed Mar 25, 2015 10:24 pm

DinoMuhic wrote:WEll its definately still buggy, see the VRAM usage in this one:
pimgpsh_fullsize_distr.png
@Aoktar, can the wrong display of VRAM usage like in my screenshot above where it says 175952920295GBs coming from dots "." inside filenames? Because there are plenty filenames with dots in them. I'm trying to fix this and get octane to display the correct vram size. I got 3 scenes and only in this one, the display is buggy.
Post Reply

Return to “Maxon Cinema 4D”