Textures Size

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
User avatar
FamilyGuy
Licensed Customer
Posts: 147
Joined: Thu Apr 08, 2010 12:23 pm
Location: Poland

Hi. I'm trying to understand the problem of texture size in Octan. I have a scene where a model is 141MB and texture 366MB:
- texture 1 (jpg_6000x8000, file size 7,49MB)
- texture 2 (jpg_6000x8000, file size 7,49MB)
- texture 3 (jpg_6000x8000, file size 11,2MB)
- texture 4 (jpg_6000x8000, file size 11,2MB)
totality=37,38MB

So why Octan takes 366MB?
How to work with textures - is there a topic devoted to this issue?
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

jpg is compressed. The amount of megabytes on disk is not equal the actual amount that the image takes when loaded into ram. RGB = 3 bytes / pixel
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
User avatar
FamilyGuy
Licensed Customer
Posts: 147
Joined: Thu Apr 08, 2010 12:23 pm
Location: Poland

Thanks Matej! You really helped me to calculate the scene. I scaled textures to 1200x800 and they take only 12MB without loss of quality.
User avatar
necko77
Posts: 323
Joined: Thu Jan 21, 2010 11:27 am
Location: Bosnia&Hercegovina

nice tip...thx :mrgreen:
ArchiCad, Blender, Moi3d
GTX 580 3GB
Win 7, 64 Bit
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

Guys when you are calculating megabytes, remember that 1 Mb = 1024 kb = 1024^2 b
So the formula would be:

(width x height x 3) / (1024^2) = number of Mb in memory

So your textures take "less"; ~11 Mb :)

If the image has alpha channel, that's another byte / pixel
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
User avatar
gzavye
Licensed Customer
Posts: 140
Joined: Tue Jan 12, 2010 11:35 am
Location: nantes
Contact:

silly question (1024^2) is (1024*1024)?
btw, Octane prefer texture with power of 2 size or it can deal (optimise) with other size?
win 7 64 | i7 2600 3.4Ghz | 8Go | GTX 580 | 3dsmax | Octane for MAx 3.01 |Driver 306.23 |CUDA Driver 5.00
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

gzavye wrote:silly question (1024^2) is (1024*1024)?
Yes
gzavye wrote:btw, Octane prefer texture with power of 2 size or it can deal (optimise) with other size?
Good question. Hopefully someone form the dev team will answer that.
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
User avatar
FamilyGuy
Licensed Customer
Posts: 147
Joined: Thu Apr 08, 2010 12:23 pm
Location: Poland

gzavye wrote:"btw, Octane prefer texture with power of 2 size or it can deal (optimise) with other size?
What do you mean by that. Can you give an example?
User avatar
gzavye
Licensed Customer
Posts: 140
Joined: Tue Jan 12, 2010 11:35 am
Location: nantes
Contact:

Historically, video cards prefer pwr of 2 size for textures : 512*512, 1024*1024, 256*512...
I know that modern softwares are able to dynamically resize nSize texture, but in this case rendering may be less efficient.
So what type Octane prefers?
win 7 64 | i7 2600 3.4Ghz | 8Go | GTX 580 | 3dsmax | Octane for MAx 3.01 |Driver 306.23 |CUDA Driver 5.00
irene
Licensed Customer
Posts: 54
Joined: Wed Oct 13, 2010 10:29 am

Does anybody know the answer to this? What texture size/side relation is best in Octane? Power of 2 square (i.e. 512*512 etc...) ? Or does it not matter? :?:
Post Reply

Return to “General Discussion”