POV-Ray : Newsgroups : povray.general : 7x9 Checker board instead of a Infinite plane Server Time
26 Nov 2024 13:22:09 EST (-0500)
  7x9 Checker board instead of a Infinite plane (Message 1 to 6 of 6)  
From: samu
Subject: 7x9 Checker board instead of a Infinite plane
Date: 25 Jun 2010 02:00:05
Message: <web.4c244575fe1b7109ac37d8490@news.povray.org>
Dear all,

I'm trying to create a planar scene (with image texture) for an animation and
part of this plane should be a rectangular checker grid (ex: 7x9).

I know individually to create planar scenes with checker, but this gives me an
infinite plane (not 7x9). I need to have the checker grid with dimensions - so
think i can not apply an image of a checker board (7x9) as a texture to a
polygon.

So how to achieve this. Any help appreciated.

Regards,
samu


Post a reply to this message

From: Le Forgeron
Subject: Re: 7x9 Checker board instead of a Infinite plane
Date: 25 Jun 2010 02:19:14
Message: <4c244a62@news.povray.org>
Le 25/06/2010 07:58, samu a écrit :
> Dear all,
> 
> I'm trying to create a planar scene (with image texture) for an animation and
> part of this plane should be a rectangular checker grid (ex: 7x9).
> 
> I know individually to create planar scenes with checker, but this gives me an
> infinite plane (not 7x9). I need to have the checker grid with dimensions - so
> think i can not apply an image of a checker board (7x9) as a texture to a
> polygon.
> 
> So how to achieve this. Any help appreciated.

Use a box{} instead of a plane{} for the checker-grid part.
If the remaining plane must still be visible, put it in a CSG difference
with another box (may be a bit bigger to avoid coincidence surfaces).


-- 
A: Because it messes up the order in which people normally read text.<br/>
Q: Why is it such a bad thing?<br/>
A: Top-posting.<br/>
Q: What is the most annoying thing on usenet and in e-mail?


Post a reply to this message

From: Christian Froeschlin
Subject: Re: 7x9 Checker board instead of a Infinite plane
Date: 25 Jun 2010 18:42:51
Message: <4c2530eb$1@news.povray.org>
Le_Forgeron wrote:

> Use a box{} instead of a plane{} for the checker-grid part.

Alternatively, use a texture_map with the boxed pattern.


Post a reply to this message

From: kurtz le pirate
Subject: Re: 7x9 Checker board instead of a Infinite plane
Date: 27 Jun 2010 10:47:44
Message: <kurtzlepirate-935A8F.16474427062010@news.povray.org>
In article <web.4c244575fe1b7109ac37d8490@news.povray.org>,
 "samu" <sam### [at] yahoocom> wrote:

> Dear all,
> 
> I'm trying to create a planar scene (with image texture) for an animation and
> part of this plane should be a rectangular checker grid (ex: 7x9).
> 
> I know individually to create planar scenes with checker, but this gives me an
> infinite plane (not 7x9). I need to have the checker grid with dimensions - so
> think i can not apply an image of a checker board (7x9) as a texture to a
> polygon.
> 
> So how to achieve this. Any help appreciated.
> 
> Regards,
> samu


use this macro :

#macro finitePlane (xDim, zDim)
  box {
    <0, 0, 0>, <+xDim, 0, zDim>
    pigment { checker White, Black }
    finish { ambient 0.40 diffuse 0.60 }
    translate <-xDim, 0, -zDim>*0.50
    }
#end

use it in your scene as :

  finitePlane(7,9)


  there's more than one way to do it...
-- 
klp


Post a reply to this message

From: Alain
Subject: Re: 7x9 Checker board instead of a Infinite plane
Date: 27 Jun 2010 13:58:17
Message: <4c279139$1@news.povray.org>

> Dear all,
>
> I'm trying to create a planar scene (with image texture) for an animation and
> part of this plane should be a rectangular checker grid (ex: 7x9).
>
> I know individually to create planar scenes with checker, but this gives me an
> infinite plane (not 7x9). I need to have the checker grid with dimensions - so
> think i can not apply an image of a checker board (7x9) as a texture to a
> polygon.
>
> So how to achieve this. Any help appreciated.
>
> Regards,
> samu
>
>

Just a few suggestions...
You can:
  - Use a thin box
  - Use a plane clipped_by a box
  - Use a rectangular polygon
  - Have the plane be transparent everywhere exept for your checker
There are several other ways possible


Alain


Post a reply to this message

From: samu
Subject: Re: 7x9 Checker board instead of a Infinite plane
Date: 28 Jun 2010 12:10:00
Message: <web.4c28c8c2f16d3b6273b8a8940@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > Dear all,
> >
> > I'm trying to create a planar scene (with image texture) for an animation and
> > part of this plane should be a rectangular checker grid (ex: 7x9).
> >
> > I know individually to create planar scenes with checker, but this gives me an
> > infinite plane (not 7x9). I need to have the checker grid with dimensions - so
> > think i can not apply an image of a checker board (7x9) as a texture to a
> > polygon.
> >
> > So how to achieve this. Any help appreciated.
> >
> > Regards,
> > samu
> >
> >
>
> Just a few suggestions...
> You can:
>   - Use a thin box
>   - Use a plane clipped_by a box
>   - Use a rectangular polygon
>   - Have the plane be transparent everywhere exept for your checker
> There are several other ways possible
>
>
> Alain


Dear all,

Thanks Le_Forgeron, Christian, kurtz, Alain and all.
At the moment I tried the first one with a thin box.
Will check all ur options.

Regards,
samu


Post a reply to this message

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