how to create seamless .dds files made of multiple slices

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
User avatar
hebdemnobad
Goblin
Posts: 274
Joined: Wed Feb 09, 2005 5:09 pm
Location: catskill escarpment, new york, usa
x 3

how to create seamless .dds files made of multiple slices

Post by hebdemnobad »

How can I create .dds volume textures (those .dds files made of multiple slices).....can I do this by rendering slices of a material with a 3d texture in bryce? I have not found anything on the web showing me how I could do this. I've done some exports of the rendermonkey stone shader, and they look great because using a 3d texture does away with uv stretching completely. But the volume texture .dds that rendermonkey uses is your generic cloud type. I would like to make seamless volume textures with other patterns.

thx!
-h
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 535

Re: how to create seamless .dds files made of multiple slic

Post by Kojack »

The DirectX sdk comes with a program called DxTex.exe. It lets you create new dds volume textures.
You ask for a new texture, tell it to be a volume texture and give it the number of slices. Then you do "open onto this surface" and select an image (it will be scaled to fit), press > for the next slice, and repeat.
Making the texture seamless on all three axes is going to be tricky though. I don't know of any paint programs that can rotate a volume texture to see it side on.
User avatar
hebdemnobad
Goblin
Posts: 274
Joined: Wed Feb 09, 2005 5:09 pm
Location: catskill escarpment, new york, usa
x 3

Re: how to create seamless .dds files made of multiple slic

Post by hebdemnobad »

i wonder if i create a 3d texture in bryce and then assign it to a few planes and use those as layers....hmph. rendermonkey comes with at least one so someone out there knows how to generate them...or perhaps there is a hack where you do image offesets and mess with blurring? i'm clueless.