Saving Memory on textures

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
polytek
Licensed Customer
Posts: 95
Joined: Sun Mar 20, 2011 12:27 pm
Location: Belgium

Hy guys, since we don't have a node witch transfers a color image to a gray scale image so we can use it as a specular or bump map hence saving some card memory i am experimenting with this solution with might work for some occasions!

Here is the idea, put the color image thru a gradient texture mapping mincolor black, max white this converts the picture to a grayscale, put this thru the new color correction texture node so you can control the brightness, gamma and black level off the grayscale....tadadataa connect this to you're bump- spec or another channel and look wat happens...

I put everything in a texture macro and try to put out as many control pins as possible for later use and ease off use...i can upload it in the data base iff people have intrest....

You can select min and maxcolor (from white to black or in between), on/of is the smooth button of the gradient texture and slection just makes the effect less or more drastic, the brightness contol and gamma control for the grayscale strongness...the min max slider to invert or lessen the efect!

Chears,
Poly
Attachments
texture macro
texture macro
scene
scene
win 8.2 / 64 / systemmem 27Gb / gtx 750Ti & asus stricks Gtx 780 6Gb
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

Loading the same image file fist as RGB, and secondly as grayscale should use the same amount of memory, so you don't need to do that, just load it again as grayscale (floattexture).

But yes, we could use a RGB to BW transform node.
SW: Octane 3.05 | Linux Mint 18.1 64bit | Blender 2.78 HW: EVGA GTX 1070 | i5 2500K | 16GB RAM Drivers: 375.26
cgmo.net
polytek
Licensed Customer
Posts: 95
Joined: Sun Mar 20, 2011 12:27 pm
Location: Belgium

:oops: yeah ok, i was under the impression that if you load it again it always has a certain amount off memory footprint, ok that clears out that issue for me, for a moment i thought i was just a little bit clever, thank you for chattering that thought....:)
win 8.2 / 64 / systemmem 27Gb / gtx 750Ti & asus stricks Gtx 780 6Gb
Post Reply

Return to “General Discussion”