POV-Ray : Newsgroups : povray.tools.general : hello Server Time
22 Dec 2024 06:52:20 EST (-0500)
  hello (Message 1 to 4 of 4)  
From: vb
Subject: hello
Date: 20 Sep 2005 11:45:00
Message: <web.43302dd13610a686b80df0ee0@news.povray.org>
Hi everyone... Been using pov-ray for a few months but only just joined the
forum. I am rather newbie, haven't got a degree in maths and have no
knowledge of any programming languages... Can anyone direct me what to do
now? So far I'm pretty strong on all the methods of making textures and
capable of doing most basic stuff. At the moment I'm trying to make
something to 'proove', to some extent, basic equations (see below). So, a
couple of reasons for this post, other than greeting y'all: can someone
suggest/direct me to somewhere showing how I can convert a number of
spheres to a single, effectively infinite, effectively 2D, surface... and
any suggestions what a beginner who wants to improve their general
competence, who wishes to eventually become able to imitate 'real life'
scenes, should work on next? Here's my scene:

//PROOF THAT sqrt(X+Y) can never equal sqrt(X)+sqrt(Y) when both X and Y
have values greater than zero
//sqrt(X+Y) is represented by red spheres, sqrt(X)+sqrt(Y) is represented by
green spheres.
//height is'Z', depth is 'Y', width is 'X'

camera {
  location  <0, 20, -30>
  look_at   <10, 3, 10>
  direction 1
}

light_source {
  <500, 500, -500>
  color rgb 1
}

#declare DENS=1;   //increase value to increase rendering speed and/but
decrease the density of surface composition

#declare X=0;   // decrease this value...
#while (X<100)     // ...and increase this value to extend the limits of the
dotmap

        #declare Y=0;
        #while (Y<100)

        sphere {<X,sqrt(X+Y),Y>,0.15 pigment{rgbt <1,.1,.1,0.5>} finish
{ambient 0.1} }
        sphere {<X,sqrt(X)+sqrt(Y),Y>,0.15 pigment{rgbt <.1,1,.1,0.5>}
finish {ambient 0.1} }


        #declare Y=Y+DENS;
        #end
#if (Y=100)
#declare X=X+DENS;
#declare Y=0;
#end
#if (Y<100)
#declare X=X;
#end
#end
///*
cylinder{<-50,0,0>,<50,0,0>,0.2
pigment {rgbt .8}
no_shadow
}
cylinder{<0,-50,0>,<0,50,0>,0.2
pigment {rgbt .8}
no_shadow
}
cylinder{<0,0,-50>,<0,0,50>,0.2
pigment {rgbt .8}
no_shadow
}
//*/



Apologies if I have inadvertantly posted in the wrong section of the forum,
and cheers in advance!


Post a reply to this message

From: Tim Nikias
Subject: Re: hello
Date: 21 Sep 2005 02:34:16
Message: <4330fee8$1@news.povray.org>
Eh, I don't have any answer at hand, but just wanted to let you know that
povray.tools.general is usually used for discussions concerning other
software tools. You might want to ask your question in povray.newusers or
maybe povray.general.

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: vb
Subject: Re: hello
Date: 21 Sep 2005 03:45:00
Message: <web.43310ecfd92b7d30b80df0ee0@news.povray.org>
"Tim Nikias" <JUSTTHELOWERCASE:timISNOTnikias(at)gmx.netWARE> wrote:
> Eh, I don't have any answer at hand, but just wanted to let you know that
> povray.tools.general is usually used for discussions concerning other
> software tools. You might want to ask your question in povray.newusers or
> maybe povray.general.
>
> Regards,
> Tim
>
> --
> "Tim Nikias v2.0"
> Homepage: <http://www.nolights.de>

I wasn't actually hoping for another application able to do this for me; I
was hoping there would be a way within POV-ray to increase the density of
the spheres, or simulate this effect, to the effect that it appears to be a
complete surface. Simply increasing the number of repetitions of the loop
doesn't appear to be an option as I get 'virtual memory' problems while
POV-ray's parsing. I'll try the .newusers group.


Post a reply to this message

From: gonzo
Subject: Re: hello
Date: 26 Sep 2005 15:00:01
Message: <web.43384416d92b7d30a0c272b50@news.povray.org>
"vb" <nomail@nomail> wrote:
>  can someone
> suggest/direct me to somewhere showing how I can convert a number of
> spheres to a single, effectively infinite, effectively 2D, surface...

Look up sphere_sweep in the docs. Not infinite, but quite useful if you play
around with it...

RG


Post a reply to this message

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