Using the same map for bump and color: use floatimage?

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
User avatar
Voidmonster
Licensed Customer
Posts: 54
Joined: Thu Apr 08, 2010 6:20 am
Location: Oceanside, CA
Contact:

Does it save ram to use the regular image load when using the same texture for color and bump (or spec, or what have you)?

I've been dinking around and I can't quite tell if I'm using more ram when I use floatimage in places where the bump or spec are the same as the color.

(Sorry if this question has been asked before, I couldn't find an answer).
-Zak Jarvis
Rendering with Phenom X4 9550 @ 2.20Ghz, 8 gigs of ram, Win7 64bit, GeForce GTX 260 @ 576MHz, 216 core
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

if you use an image for both it will be the least ram consumed.
if you use an image for diffuse and a floatimage for bump, you have one copy of the color image and one copy of the blackandwhite image in video ram.

so in this case, use the same color 'imagetexture node' for both.

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
User avatar
Voidmonster
Licensed Customer
Posts: 54
Joined: Thu Apr 08, 2010 6:20 am
Location: Oceanside, CA
Contact:

That's what I suspected, but I figured it would be good to have the question answered here on the forum.

I'd also just like to say that Octane is the most fun I've ever had with a renderer and I've been doing this stuff since DKB Trace on an Amiga 1000. ;)
-Zak Jarvis
Rendering with Phenom X4 9550 @ 2.20Ghz, 8 gigs of ram, Win7 64bit, GeForce GTX 260 @ 576MHz, 216 core
User avatar
understand
Licensed Customer
Posts: 177
Joined: Mon Mar 22, 2010 4:05 pm
Location: berlin

nice tips.

(mumbles something about dds support)
Win 8.0 64-bit | Gainward 460 GTX 2048mb (driver: latest) | Phenom 965 3.4ghz 140w | 12GB
Win 8.1 64-bit | EVGA 780ti Superclocked 3072mb (driver: latest) | i7 4930k 3.4ghz | 32GB
Win 7 64-bit Bootcamp | 650M 1GB (driver: 327.23) | i7 2.7ghz | 8GB
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

beta3 will offer using a color image for both, using the alpha channel for bump or alpha.
that way you can use a color image for both diffuse and opacity, with the same amount of memory used as only one colour image, but increased render speed..

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
User avatar
understand
Licensed Customer
Posts: 177
Joined: Mon Mar 22, 2010 4:05 pm
Location: berlin

interesting. in theory its possible then to use an image with multiple alphas in it?
Win 8.0 64-bit | Gainward 460 GTX 2048mb (driver: latest) | Phenom 965 3.4ghz 140w | 12GB
Win 8.1 64-bit | EVGA 780ti Superclocked 3072mb (driver: latest) | i7 4930k 3.4ghz | 32GB
Win 7 64-bit Bootcamp | 650M 1GB (driver: 327.23) | i7 2.7ghz | 8GB
User avatar
WiKKiDWidgets
Licensed Customer
Posts: 63
Joined: Tue Jan 19, 2010 11:11 pm

understand wrote:nice tips.

(mumbles something about dds support)
+1 on that mumble!
Vista 32 (<--EEEW!)| Intel Quad Q6600 2.4Ghz | 4Gb ram | Dual NVidia GTS 250 1Gb (Non-SLi)
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

DDS is not supported via the CUDA api, so i can't use it.
it would be a wonderfull solution for us, and the hardware supports it :) but the CUDA api does'nt. not yet.

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
User avatar
Sam
Licensed Customer
Posts: 1012
Joined: Mon Jan 11, 2010 10:06 am
Location: Geneva
Contact:

it would be a wonderfull solution for us, and the hardware supports it :) but the CUDA api does'nt. not yet.
Does NVIDIA already considered it ? Or they think nobody needs it ?
It would be a good idea to drop them a mail, just to know if they plan it or not.

At work we use a lot of DDS since we do real time scenes
Having support for DDS in CUDA would be really cool ;)

The gain in memory is also huge
http://Kuto.ch - Samuel Zeller - Freelance 3D Generalist and Graphic designer from Switzerland
Post Reply

Return to “General Discussion”