POV-Ray : Newsgroups : povray.newusers : Height Field smooth keyword Server Time
25 Nov 2024 15:53:55 EST (-0500)
  Height Field smooth keyword (Message 1 to 5 of 5)  
From: waynehays1
Subject: Height Field smooth keyword
Date: 2 Jul 2005 20:45:00
Message: <web.42c7341a545312e06a9959d70@news.povray.org>
I have look high and low.  Why does the render hang up on "smooth"?

object {
  height_field {
    tga "Track Tile.tga"
    scale <SCALE_FACTOR, 45.000000, SCALE_FACTOR>
    smooth
  }
  texture {
    pigment {
      image_map {
        tga "TrackTile_TEX_960.tga"
      }
      scale SCALE_FACTOR
      rotate <90, 0, 0>
    }

    finish {
      ambient <0.35, 0.35, 0.32>
      diffuse 2.5
      crand 0.1
    }
  }
}

The render runs fine if I comment out "smooth" but I really need to have it
as the render is very jagged looking.

Any help would be great, thanks.

Wayne


Post a reply to this message

From: Kyle
Subject: Re: Height Field smooth keyword
Date: 2 Jul 2005 21:41:18
Message: <megec1p1ir9j5jvhe7p71iiutpqbdbfg88@4ax.com>
Move "smooth" before "scale", like this:

  height_field {
    tga "Track Tile.tga"
    smooth
    scale <SCALE_FACTOR, 45.000000, SCALE_FACTOR>
  }

That should work.

Kyle


On Sat,  2 Jul 2005 20:40:58 EDT, "waynehays1" <way### [at] yahoocom>
wrote:

>I have look high and low.  Why does the render hang up on "smooth"?
>
>object {
>  height_field {
>    tga "Track Tile.tga"
>    scale <SCALE_FACTOR, 45.000000, SCALE_FACTOR>
>    smooth
>  }
>  texture {
>    pigment {
>      image_map {
>        tga "TrackTile_TEX_960.tga"
>      }
>      scale SCALE_FACTOR
>      rotate <90, 0, 0>
>    }
>
>    finish {
>      ambient <0.35, 0.35, 0.32>
>      diffuse 2.5
>      crand 0.1
>    }
>  }
>}
>
>The render runs fine if I comment out "smooth" but I really need to have it
>as the render is very jagged looking.
>
>Any help would be great, thanks.
>
>Wayne
>


Post a reply to this message

From: waynehays1
Subject: Re: Height Field smooth keyword
Date: 2 Jul 2005 22:00:00
Message: <web.42c745a0e1372cf26a9959d70@news.povray.org>
That worked great Kyle, thanks for the help.  It's almost like I tried
everything but that.

Thanks again,

Wayne


Kyle <hob### [at] gatenet> wrote:
> Move "smooth" before "scale", like this:
>
>   height_field {
>     tga "Track Tile.tga"
>     smooth
>     scale <SCALE_FACTOR, 45.000000, SCALE_FACTOR>
>   }
>
> That should work.
>
> Kyle
>
>
> On Sat,  2 Jul 2005 20:40:58 EDT, "waynehays1" <way### [at] yahoocom>
> wrote:
>
> >I have look high and low.  Why does the render hang up on "smooth"?
> >
> >object {
> >  height_field {
> >    tga "Track Tile.tga"
> >    scale <SCALE_FACTOR, 45.000000, SCALE_FACTOR>
> >    smooth
> >  }
> >  texture {
> >    pigment {
> >      image_map {
> >        tga "TrackTile_TEX_960.tga"
> >      }
> >      scale SCALE_FACTOR
> >      rotate <90, 0, 0>
> >    }
> >
> >    finish {
> >      ambient <0.35, 0.35, 0.32>
> >      diffuse 2.5
> >      crand 0.1
> >    }
> >  }
> >}
> >
> >The render runs fine if I comment out "smooth" but I really need to have it
> >as the render is very jagged looking.
> >
> >Any help would be great, thanks.
> >
> >Wayne
> >


Post a reply to this message

From: waynehays1
Subject: Re: Height Field smooth keyword
Date: 3 Jul 2005 00:05:01
Message: <web.42c76355e1372cf26a9959d70@news.povray.org>
Kyle <hob### [at] gatenet> wrote:
> Move "smooth" before "scale", like this:
>
>   height_field {
>     tga "Track Tile.tga"
>     smooth
>     scale <SCALE_FACTOR, 45.000000, SCALE_FACTOR>
>   }
>
> That should work.
>
> Kyle
>
>
> On Sat,  2 Jul 2005 20:40:58 EDT, "waynehays1" <way### [at] yahoocom>
> wrote:
>
> >I have look high and low.  Why does the render hang up on "smooth"?
> >
> >object {
> >  height_field {
> >    tga "Track Tile.tga"
> >    scale <SCALE_FACTOR, 45.000000, SCALE_FACTOR>
> >    smooth
> >  }
> >  texture {
> >    pigment {
> >      image_map {
> >        tga "TrackTile_TEX_960.tga"
> >      }
> >      scale SCALE_FACTOR
> >      rotate <90, 0, 0>
> >    }
> >
> >    finish {
> >      ambient <0.35, 0.35, 0.32>
> >      diffuse 2.5
> >      crand 0.1
> >    }
> >  }
> >}
> >
> >The render runs fine if I comment out "smooth" but I really need to have it
> >as the render is very jagged looking.
> >
> >Any help would be great, thanks.
> >
> >Wayne
> >



Thanks, that worked great.


Post a reply to this message

From: PM 2Ring
Subject: Re: Height Field smooth keyword
Date: 15 Jul 2005 07:00:01
Message: <web.42d796bae1372cf2950b81cf0@news.povray.org>
"waynehays1" <way### [at] yahoocom> wrote:
> Kyle <hob### [at] gatenet> wrote:
> > Move "smooth" before "scale", like this:
> >
> >   height_field {
> >     tga "Track Tile.tga"
> >     smooth
> >     scale <SCALE_FACTOR, 45.000000, SCALE_FACTOR>
> >   }
> >
> > That should work.
> >
> > Kyle

> Thanks, that worked great.

The logic behind this is that specific options and attributes are specified
before general ones. In this case, smooth is an option that is specific to
height-field, so you have to specify it before specifying more general
object modifiers, like scale.

I hope this makes sense. :)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.