POV-Ray : Newsgroups : povray.general : step by step : Re: step by step Server Time
10 May 2024 12:25:46 EDT (-0400)
  Re: step by step  
From: David Kraics
Date: 20 Dec 2023 11:25:00
Message: <web.6583144fa8689bc387b92d44a57e0@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "David Kraics" <bar### [at] aolcom> wrote:
> > ...
> > Ok I tried with
> >
> > #for (ff,1.570883,0,-0.032059)
> > object{floorframe translate<0,ff,0>}
> > #end
> >
> > and there is no object. I thought that maybe it just moved one object downward
> > but it doesn't show at all.
>
> ah.  please post a "minimal" scene showing /reproducing the problem.  thanks.
>
>
> regards, jr.

ummm

#version 3.5;
#include "colors.inc" // Standard Color definitions
#include "textures.inc" // Standard Texture definitions
#include "shapes.inc"

#declare position= <.375,.7 ,-2.5>; // used for camera and its associated camera
light.                            //2.337965

 background { color<0.0078125,0.51171875,0.8359375>}

camera
{
  location  position
 // look_at   <0.0 , 0.0 , 0.0>
}


#declare floorframe =
box{<0.283031,-0.001781,-0.001781>,<0.283031,0.001781,0.501781>}



box{<-.28125,0,0>,<.28125,1.635,.5> pigment{Grey}}


#for (ff,1.570883,0,-0.032059)
object{floorframe translate<0,ff,0>}
#end





 // upper right light
light_source{<1000, 1000, -5000>color White}

// upper left light
light_source{<-1000, 1000, -5000>color White}

it should show a series of black lines across the grey box like a ladder or
something. Basically, I intend to create a grid. I am making the horizontal
lines before the vertical ones. This loop doesn't give anything, however.


Post a reply to this message

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