Go Back   Scifi-Meshes.com > 3D Modeling > 3D Questions & Answers

3D Questions & Answers Post your questions here. Make sure you include all necessary information.

Reply
 
Thread Tools Display Modes
Old 03-28-2008, 11:52 PM   #1 (permalink)
SFM Nugget

 
Join Date: Feb 2008
Posts: 17
Texture Size for a Ship?

So I've created a Nova class ship and now am at the texture stage. I've seperated the hull into two parts- upper and lower, and I've also mapped the polygons. Now for the question- How big of a texture should I use for the upper/ lower half of the ship- 1000 pixels, 1500 pixels.....? I'm wondering because the bigger the texture- the more ram the rendering takes and I'd rather use as little ram as possible. Thanks!
Japal911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2008, 02:25 AM   #2 (permalink)
SFM Obsessed
 
JeffrySG's Avatar
SFM Donor!
 
Realname: Jeff
Join Date: May 2006
Location: New York City
Posts: 2,386
It all depends on how close you will get to the ship in the renders, and how large the renders will be. Generally you don't want any part of the texture to be bigger than a 1:1 relationship to the final render. If it's going to be moving fast you might be able to get away with a lower res texture also. It might be good to create the texture much higher, say 4096x4096 and then create a few lower res versions. You can always go back to the higher res one if you need. But you can render with the lower res ones if you can get away with it.

JeffrySG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2008, 02:33 AM   #3 (permalink)
Building better worlds
 
Coolhand's Avatar
Sensei
 
Realname: Steve
Join Date: May 2006
Age: 28
Posts: 2,510
So far as RAM usage goes, i think you're always best off sticking to powers of 2, so 1024x1024, 2028x2048, etc. In terms of how big a texture you need, you should work out how close you need the camera to get to the ship and what resolution you want to render at, you don't really want your textures to look stretched or to be able to see the pixels in your texture, so one pixel of texture shouldn't occupy more than one pixel in your render, so make the textures big enough to allow for this. It's up to you to decide how small a texture you can get away with.

Coolhand is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2008, 05:19 AM   #4 (permalink)
SFM Nugget

 
Join Date: Feb 2008
Posts: 17
Okay- Thanks. Its really great to get some different opinions on the subject. Thanks!
Japal911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2008, 01:30 PM   #5 (permalink)
SFM Nugget

 
Realname: Stefan Garcia
Join Date: Feb 2007
Age: 21
Posts: 104
Don't forget you can use non-square textures, like 1024x2048 or 512x1024 for example. Useful if your ship's main hull is rather long.

-Stefan-
Sastrei is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2008, 01:49 PM   #6 (permalink)
Building better worlds
 
Coolhand's Avatar
Sensei
 
Realname: Steve
Join Date: May 2006
Age: 28
Posts: 2,510
I don't think thats a very good suggestion, i've always been told that that wastes ram, so a 1024x2048 map will use the same amount of memory as a 2048x2048 since computers don't like to work with anything other than square images... your image file size will be smaller, but once it's loaded into memory it apparently treats it as a square, so you're effectively wasting 2 whole 1024x1024 maps.

Coolhand is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2008, 02:45 PM   #7 (permalink)
Divine Penguin
 
Sphynx's Avatar
Sensei
Outstanding Member! Tutorail Writers Award SFM Contest - Scifi Crate 1st Place 
Total Awards: 3 (more» ...)
 
Realname: Craig Robinson
Join Date: May 2006
Location: Rochester, UK
Age: 38
Posts: 1,731
In regards to computers wanting it, that's slightly innacurate, but Coolhand is perfectly correct - most algorithms used for image processing by the software involved find it much easier to use square maps due to matrix calculations and the like. It's just the way that CG software has evolved over the years.

Also remember that most (not all) applications like raw-type image files - so a JPG image on disk will use less storage space, but needs to be decompressed each time it gets loaded into memory. Usually (but again, not always), something like a Targa image can actually speed up processing of the textures even though it uses a huge amount more storage space on disk.

No question is a stupid question if you don't know the answer - If you need help (and you can find us), ask the (Sens)A-Team.
Personal website (updated, Mar 2007) :: Industrial-meshes.com :: Professional website (Updated, Feb 2007)
Sphynx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-29-2008, 04:32 PM   #8 (permalink)
SFM Nugget

 
Join Date: Feb 2008
Posts: 17
Great suggestion- I'll try out the using Targa images.
Japal911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-30-2008, 11:28 PM   #9 (permalink)
SFM Nugget
 
Ndege's Avatar

 
Realname: Ndege
Join Date: Oct 2006
Posts: 98
Like many folks have mentioned power of 2 image size (256x256, 1024x1024 2048x2048, et al.) can be considered a good scene optimization practice.

Another consideration is map size as a function of your final image size. A good rule of thumb here is to have a map be at least twice the resolution of the final rendered size. Meaning, if you have a object that is going to be taking up roughly 256x256 of your final image, it would be wise to give it a texture map of at least 512x512. This gives your antialiasing and sampling algorithms more information to use, resulting in better final image quality. Garbage in, garbage out still applies, so Sphynx' suggestion of staying away from JPG images applies here as well. The compression artifacts will impact your map quality going into the render environment giving you a lower quality output.

Further research here
Ndege is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-31-2008, 11:39 PM   #10 (permalink)
SFM Nugget

 
Join Date: Feb 2008
Posts: 17
Wow, incredibly helpful. Thanks!
Japal911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

« - | - »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 10:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Template-Modifikationen durch TMS