PDA

View Full Version : Consistant Gorund texture resolution on pan from further distance to close up.


marrionate
10-06-2004, 07:18 PM
Hi all,
Background Introduction:
I have a shot in which I have to do a camera pan from further distance in which i can see the houses, grass and soil to the close up of a small inscet on the ground.

Problem:
I need a texture which looks good from further distance as well as from the closeup of the insect. I am using a high res image which if looks good from closeup, looses its detail from the further distance and vice versa.
I have tried increasing the tiling of the image as camera goes close to the ground, but than you see the growing texture animating. I am trying to find a seamless result in which i get best quality.

It would be great if anyone has any ideas to how to aproach this.

Thanks All

misterdi
10-07-2004, 07:21 AM
I'm not sure how to do it, but it is possible to use several texture with different resolution and fade in the higher resolution based on distance to camera.

First, maybe you can make a V-ramp texture, create several color entry matching numbers of texture resolution you will use, and then map your textures to each color entry, starting at 0 for the highest texture resolution and 1 for the lowest texture resolution.

For each individual map you can have it's tile repetition to match the visual.

Second, you can create a sampler node to get distance of each pixel being render from camera, normalized this value to 0 - 1 space, and then use this value to drive vCoord of the ramp.

Basically what I want to use is, based on the distance for each pixel, the V-ramp will return color value of corresponding texture file instead of changing the overall texture, so even in a frame the texture will be mix between all possible resolution.

But as I said, I'm not sure if it will work.

CGTalk Moderation
01-19-2006, 11:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.