Jump to content
  • Advertisement
Sign in to follow this  
Leoric

Problems with 3DS 5.0, Textures & Tiling

This topic is 5176 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

Hi @ll, when I create a model in 3D Studio with a texture tiled over it 4 times in each direction, convert it to *.x via Panda Exporter ( which seems to work very well ) and display it with DX9 ( the source code is absolutely ok ), instead of having the texture tiled it simply is mapped just once over the whole target. Example: Imagine a stone wall. I tiled the texture several times so the dimensions of stones and the wall as a whole looked just right. But after the model is loaded the texture is stretched over the wall just a single time, making the wall look like it was built with gigantic bricks. Can anybody provide some help ? Thanx, Leoric

Share this post


Link to post
Share on other sites
Advertisement
Hi,

I assign a material and IN the material-editor I set the texture-tiling, so I guess I tile to the material.

What's the difference between applying tiling to the material or the model ?

Bye, Leoric

Share this post


Link to post
Share on other sites
Well, here's the deal. The texture export component of Panda Exporter probably doesn't support tiling. So you have a couple of options:

1. Manually change the tiling of the exported material. This is just a matter of changing the texture matrix.

2. Tile instead by changing the texture mapping of the object itself. Just use a smaller rectangle as the area for your material, and it'll tile around it.

Share this post


Link to post
Share on other sites
If you have a specialized material (ie bricks, checker, noise), you can't just export it, because it's not a file-based texture. Instead, it's generated by a 3ds Max algorithm at run-time.

But, you *can* make it into a file-based texture - you just have to use the 'Render-to-Texture' (aka Texture Baking) feature. Here is a pretty good tutorial on it.

Share this post


Link to post
Share on other sites
Hi there,

that texture-baking looks interesting. I'll have to look into that. Thankx.

Bye,
Leoric

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!