Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Mip Mapping

    SDK Help
    0
    5
    670
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              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! 🙂

              1 Reply Last reply Reply Quote 0
              • First post
                Last post