Jump to content
  • Advertisement
Sign in to follow this  
Ostapas

Texture question

This topic is 3885 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Good day, let's say I have some 3d models which I would like to import to 3d engine. The problem is, their texture sizes are not power of 2(128*128, 256*256, ...) and the engine only accepts these. Anyone knows a method, tool, software how to batch-resize and "restick" the textures without distortion?

Share this post


Link to post
Share on other sites
Advertisement
I don't know an exact tool. But for batch image operations:

http://www.imagemagick.org/
http://www.irfanview.com/

To "restick" I assume you mean UV coordinates. If you are using 0 to 1, normalized texture coordinates then I think it would be okay.

If you are using texture rectangle pixel coordinates, then you would normalize by the total width or height.

But I may be wrong because I am no expert. You may as well reveal the model format and the engine you're using if you can.

Share this post


Link to post
Share on other sites
Thanks for your reply. I'm trying to import *.fbx to 3d game studio. However my modelling and texturing knowledge is not that strong. When I manually resize textures to the nearest standart size, results are unpredictable

Share this post


Link to post
Share on other sites
You mean sometimes your manual resize works, sometimes doesn't?

Maybe post a picture(hint: use an image host and HTML).

Share this post


Link to post
Share on other sites
Original: ("Photomatch" made in Google Sketchup :) )
http://img146.imageshack.us/img146/240/80188116xs1.jpg

Imported to 3d gamestudio:
http://img172.imageshack.us/img172/3855/93320658pp4.jpg

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!