POV-Ray : Newsgroups : povray.newusers : Put it looking up Server Time
30 Jul 2024 04:12:44 EDT (-0400)
  Put it looking up (Message 1 to 3 of 3)  
From: Oleguer Vilella
Subject: Put it looking up
Date: 29 Aug 2004 13:46:30
Message: <41321676@news.povray.org>
Hello,

I'm traying to put this looking up, but when I use the rotate vector I can't
do it. What's the problem?
The code:

#include "colors.inc"
#include "shapes.inc"
#include "stones.inc"
#include "textures.inc"
  background { White }
  camera {location <170, 11, -110> look_at  <180, -15, -16> }
  light_source { <170, -30, -100> color White}
===============My object===========
#declare Cuc =
   blob {

     sphere {
       <0, 5, 0>, 2, 1
       pigment { Red } }
scale 1
translate <190, -20, 0> no_shadow
}
===================================

=========The macro===================
#macro Make_Stuff (Stuff,How_Many)
#local Ample=-12;

#while (Ample<How_Many)
    object{Stuff  rotate <0,0*Ample,0> translate<3*Ample,11*cos
(Ample/8),0> }
    #local Ample=Ample+1;
  #end
#end
#declare layer = union {Make_Stuff (Cuc,-11)}
global_settings { max_trace_level 29 }

// Fi de Bicapa en una sola dimensio
//Bicapa en les dos dimensions del pla de la membrana.
#macro Make_Many (Stuff,How_Many)
#local Fons=0;

#while (Fons<How_Many)
    object{Stuff  translate <0,5*sin (Fons/8),3*Fons>}
    #local Fons=Fons+1;
  #end
#end
// Incrementar el nombre de bicapes unidimensionals per a fer una membrana
mes fonda. 50 molecules de lipid de fons funciona be, 72 amb el

union {Make_Many (layer,10)}
global_settings { max_trace_level 32 }
================================

Thanks,
Oleguer


Post a reply to this message

From: Doppelganger
Subject: Re: Put it looking up
Date: 31 Aug 2004 14:11:12
Message: <4134bf40$1@news.povray.org>
hi.

for starters, I'd personally remove that translate line in the Cuc
definition, just the same as I'd make the blob's sphere centred on the
origin rather than <0,5,0>.
As I'm not fluent in whatever language it is your comments are on (some
latin american form of spanish?), I could only get a vague idea of what you
want to make and I can't make sure what it is, but my guess is that the
rotation happening after a <190, -20, 0> translation is likely to get all
those blobs in rather weird places. Also, the translations before rotation
seem a bit arbitrary, and the rotation itself involves rotating <0, 0, 0>,
so no rotation happens at all! also, any particular reason for that
max_trace_level 32? I see no reflecting or translucent surfaces, nor
anything else that I know needs trace level adjustment.

hope I've been of help.


> #declare Cuc =
>    blob {

>      sphere {
>        <0, 5, 0>, 2, 1
>        pigment { Red } }
> scale 1
> translate <190, -20, 0> no_shadow
> }
> ===================================
>
> =========The macro===================
> #macro Make_Stuff (Stuff,How_Many)
> #local Ample=-12;
>
> #while (Ample<How_Many)
>     object{Stuff  rotate <0,0*Ample,0> translate<3*Ample,11*cos
> (Ample/8),0> }
>     #local Ample=Ample+1;
>   #end
> #end
> #declare layer = union {Make_Stuff (Cuc,-11)}
> global_settings { max_trace_level 29 }
>
> // Fi de Bicapa en una sola dimensio
> //Bicapa en les dos dimensions del pla de la membrana.
> #macro Make_Many (Stuff,How_Many)
> #local Fons=0;
>
> #while (Fons<How_Many)
>     object{Stuff  translate <0,5*sin (Fons/8),3*Fons>}
>     #local Fons=Fons+1;
>   #end
> #end
> // Incrementar el nombre de bicapes unidimensionals per a fer una membrana
> mes fonda. 50 molecules de lipid de fons funciona be, 72 amb el

> union {Make_Many (layer,10)}
> global_settings { max_trace_level 32 }
> ================================
>
> Thanks,
> Oleguer
>
>


Post a reply to this message

From: Oleguer Vilella
Subject: Re: Put it looking up
Date: 31 Aug 2004 14:30:05
Message: <4134c3ad$1@news.povray.org>
Hello,

I'm sorry about the coments, I forgot to change them. The language is
Catalan.
The reason for the "max_trace_level" is that I have take this macro from
other picture of mine.
Well, I want to put the Cuc object towards up and now I have solved my
problem.
Thanks for your help.

Best regards,
Oleguer


news:4134bf40$1@news.povray.org...
> hi.
>
> for starters, I'd personally remove that translate line in the Cuc
> definition, just the same as I'd make the blob's sphere centred on the
> origin rather than <0,5,0>.
> As I'm not fluent in whatever language it is your comments are on (some
> latin american form of spanish?), I could only get a vague idea of what
you
> want to make and I can't make sure what it is, but my guess is that the
> rotation happening after a <190, -20, 0> translation is likely to get all
> those blobs in rather weird places. Also, the translations before rotation
> seem a bit arbitrary, and the rotation itself involves rotating <0, 0, 0>,
> so no rotation happens at all! also, any particular reason for that
> max_trace_level 32? I see no reflecting or translucent surfaces, nor
> anything else that I know needs trace level adjustment.
>
> hope I've been of help.
>
>
> > #declare Cuc =
> >    blob {

> >      sphere {
> >        <0, 5, 0>, 2, 1
> >        pigment { Red } }
> > scale 1
> > translate <190, -20, 0> no_shadow
> > }
> > ===================================
> >
> > =========The macro===================
> > #macro Make_Stuff (Stuff,How_Many)
> > #local Ample=-12;
> >
> > #while (Ample<How_Many)
> >     object{Stuff  rotate <0,0*Ample,0> translate<3*Ample,11*cos
> > (Ample/8),0> }
> >     #local Ample=Ample+1;
> >   #end
> > #end
> > #declare layer = union {Make_Stuff (Cuc,-11)}
> > global_settings { max_trace_level 29 }
> >
> > // Fi de Bicapa en una sola dimensio
> > //Bicapa en les dos dimensions del pla de la membrana.
> > #macro Make_Many (Stuff,How_Many)
> > #local Fons=0;
> >
> > #while (Fons<How_Many)
> >     object{Stuff  translate <0,5*sin (Fons/8),3*Fons>}
> >     #local Fons=Fons+1;
> >   #end
> > #end
> > // Incrementar el nombre de bicapes unidimensionals per a fer una
membrana
> > mes fonda. 50 molecules de lipid de fons funciona be, 72 amb el

> > union {Make_Many (layer,10)}
> > global_settings { max_trace_level 32 }
> > ================================
> >
> > Thanks,
> > Oleguer
> >
> >
>
>


Post a reply to this message

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