why is right size of texture so important!?

i just woundering why the textures NEED to be exact 512x512 or 512x256? (jpg) cus the track wont even load with one single texture in wrong size:confused:

Yep was wondering myself also because it basicly destroys your hard work and your objects doesn't look as good as you mentioned. I don't know wich prg's you're using but after you noticed in xpacker
that textures aren't correct size, hehe too late ;) Start again...
What I do know, after change kmz into zip and extract, I check the sizes, rebatch them, rezip and stretch in BTB.

What I do also now, maybe even better, first at all I rebatch first the jpeg in "the powers of 2"
then I start to work with it so you don't need correct the sizes later.
 
William, you just answered your question :) This is how it works and that's it. Just think of powers of 2... The texture could even be 4x1024 or 2048x256:)
Then, it's better to use dds format - it works better in games, allows to use mip maps, I'm not sure if jpg's work good with effects like bump and specular. You don't have to buy expensive software - there are free programs which can convert to dds.
Andre pointed it right - say you have texture like 900x1020 and have many objects drawn on it. You start to make those in Sketchup using just the sheet. Then after resizing to proper like 1024x1024 most objects will be incorectly maped. So, first prepare the right texture with the right size. Then make something from it. Don't worry about some empty place on the texture (because of the size).
On the attached picture - light blue places indicate alpha channel transparency. So, there's some free place even for future objects. The texture is 512x1024 and it's going to be one material for many objects in my xpack.
 

Attachments

  • texture_ex.jpg
    texture_ex.jpg
    58.5 KB · Views: 327
Yes, if you use them all - then it's 100% success because it is coming as only one material for many objects instead of many materials for many objects (because of many small textures). My calculations say it's worth to do it even if I use even 25-50% of the objects from there. The sizes of loaded textures have less importance than the number of materials if we speak of game performance, framerates etc.
If I will want to use less objects, I will have to redraw the texture and remap the objects. But it is sitll worth of it :)
I learned this from studying original texture sheets from RBR - every track has it's own texture sheets. For series of tracks - like countries there - it does not much matter if say 25% of the textures are useless.
My friend who takes care of the conversions says 3ds max has some limit of textures that can be loaded to the project. It was number of 32, now he found some way to make it bigger, but still loading 80 textures (and materials) can really harm the performance. The less material - the better, I say. And really believe :)
Now I can also pack even couple road or roadside textures into bigger sheets and using profile and materials section (with scaling and offseting them) to place them on road or terrain. I will make some tutorials of it soon, I guess.
 
Not only load times - also the better performance because of less materials :) I don't know if has big benefits for rFactor/Racer, but for RBR - I'm sure. I wish I could use also bigger texture sheets for roads/terrain - they can be only horizontal. But it's still a chance to save some calculations for the machines ;)
I found this after optimising the GB Xpack from Jay_p_666. I wish he could contact me - anybody knows how is he? He had an idea to make the xpack better. I can not share it without his aproval.
I'm a kind of crazy about better framerates - my machine is not that powerful :)
Now, with quite good skills of photoshop and some skills of 3d programs I rather want to spend some time to use just objects/textures I want, which means making or remaping them again. If the objects are already build, remaping is quite easy task for me.
 
@Martinez: you explained me something earlier about those sheets, works great but I don't now how to save as Alpha transparacy.
With Adobe PS it seems I have only the transparancy option, or this is then the Alpha?
 
I forgot how to "translate" PS into English ;) Most everything is on a screenshot then.
On the alpha channel white color is what you will see, black will be transparent.
You can still make corrections on the alpha channel - just use eraser or paint it as white.
Always save as .psd first to make yourself a chance for making corrections.
Next - flatten the image and save as DTX 3 ARGB 8 bpp / explicit alpha. In the xpack - select "Use Alpha" or "Use Chroma" when setting the material.
For partly or gradiented transparency - save as DTX 5 8 bpp / interpolated alpha
 

Attachments

  • alpha_channel.jpg
    alpha_channel.jpg
    120.8 KB · Views: 507
Next - flatten the image
I find that saving the psd as 32bit uncompressed tga first, then opening that tga in ps and then save it as dds a bit more fluent. Saves having to undo the flattened ps if you need to go back to it and to open the tga it's just a drag and drop :) Plus once you flatten it and save it as dds, if you undo the flattening and edit it then save, it will try to save it as a dds.
 
I find that saving the psd as 32bit uncompressed tga first, then opening that tga in ps and then save it as dds a bit more fluent. Saves having to undo the flattened ps if you need to go back to it and to open the tga it's just a drag and drop :) Plus once you flatten it and save it as dds, if you undo the flattening and edit it then save, it will try to save it as a dds.

Very interesting, can you plz translate this into Dutch language, sometimes I feel so very lonesome.
 

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top