Mip Mapping
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/12/2002 at 11:02, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform:
Language(s) : C.O.F.F.E.E ;---------
I'm messing around with procedural shaders. Unfortunately i have no idea how to deal with filtering methods such as MIP-mapping and SAT. Any help welcome
Michael -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/12/2002 at 03:58, xxxxxxxx wrote:
I guess i got the basic idea now.
Since i can't calculate the average color of an area, i simply use Len(cd->d) to blend between the actual color and the guessed average color over the entire space. This works quite well so far.
Michael
P.S. i am experimenting with Worley's cellular noise functions
P.P.S.
what is the meaning of BaseVolumeData::pp[3] ?
BaseVolumeData::delta defines an ellipsoid volume around the sample point , over which one has to calculate the average color, right? -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/12/2002 at 01:14, xxxxxxxx wrote:
Usually the meaning of the MIP variables is the same as the regular variables, just a bit distorted. So since p is the surface point it would be logical if pp[3] contained 3 additional surface points for the MIP rays. And I think you're right about delta. (I believe the reason for the multitude of sampling points etc. is, as you discovered, that not all shaders can afford to do the exact calculations necessary.)
Don't listen to me though, since I'm no shader guy. I think darf welcomes advanced/technical shader discussions on his forums, so you might want to ask there as well. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/12/2002 at 07:15, xxxxxxxx wrote:
Sounds sensible, when wish to dig deeper into this matter i will go to darfs forum
Michael -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/10/2004 at 13:20, xxxxxxxx wrote:
Quote: Originally posted by Michael Welter on 27 December 2002
>
> * * *
>
> I guess i got the basic idea now.
>
> Since i can't calculate the average color of an area, i simply use Len(cd->d) to blend between the actual color and the guessed average color over the entire space.
>
> * * *Hi Michael (or others),
how do you calculate the average color? I have the same problem. If anybody knows it, I would highly appreciate some lines of code or an explanation.
Thanks already!