|
![](/i/fill.gif) |
Suppose you have a heightfield with a material_map:
This is the feature of official and megapov0.5:
If you scale by scale <x,y,z> the heightfield (after the texture is
given) so the material_map will still be good on the heightfield
(you don't need to change anything), the position of each textures on
the hieghtfield will be good, BUT you will need to scale all
the subtexture by scale <1/x,1/y,1/z>, otherwise it don't look the
same!
This is the fearute of megapov0.4
If you scale by scale <x,y,z> the heightfield (after the texture is
given) you don't need to perform any modification!
I think the second solution is the good one because:
I have an object, I render it. Now I scale this object by 10,
I move the camera, the light, etc... accordingly, I render,
I must get the same image!
A scene must be always scale independant. I don't know if
other feature in the official pov does not repect this but...
It msut :).
Fabian.
>
> If I have:
>
> sphere
> { 0,1
> texture { whatever }
> scale 2
> }
>
> the texture is scaled by 2 as well as the object itself.
>
> If I have:
>
> heigh_field
> { whatever
> texture { whatever }
> scale 2
> }
>
> I expect no different behaviour here. The texture should be scaled by 2 as
> well as the primitive in question (in this case a heighfield, but it
> shouldn't matter which).
> Does it work in a different way?-o
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |