POV-Ray : Newsgroups : povray.binaries.images : Scene in 15 min (69k) Server Time
19 Aug 2024 18:21:41 EDT (-0400)
  Scene in 15 min (69k) (Message 1 to 10 of 10)  
From: NoOne
Subject: Scene in 15 min (69k)
Date: 8 Nov 2000 04:41:23
Message: <3a091fc3@news.povray.org>
Just for the hell of it, I challenged myself to make a reasonably good image
inside of 15 minutes, including rendering.
This is what I came up with, total time 13min 12sec.
It's some sort of jump-gate thingy.
Considering that I am not very good at this, I don't think I did too badly.

Thanks to Chris Colefax for the Galaxy include,
and to Keith Hull for the Moray Plugin to use it.

NoOne


Post a reply to this message


Attachments:
Download '15min.jpg' (69 KB)

Preview of image '15min.jpg'
15min.jpg


 

From: Ben Birdsey
Subject: Re: Scene in 15 min (69k)
Date: 8 Nov 2000 21:17:33
Message: <3A0A0986.10DA189E@mail.com>
I think it would be really cool to use a hyperbolic conic section
instead of a cone for the "wormhole" effect.

	Try using a quartic is oriented along the z-axis.  It has maximum
radius Rmax and a minimum radius at z = -Infinity of Rmin.  Making Zmin
approach 0 makes the "bell" shape look more like a flat plate with a
tiny wormhole, and making it bigger makes a wormhole that is more like a
gently tapering tube.

I hope this works for you!

Ben
<><

/*****************************************************************/

#declare Zmin = 4.0;
#declare Rmin = 0.2;
#declare Rmax = 2.0;
#declare Hfactor = (Rmax*Rmax - Rmin*Rmin) * Zmin*Zmin;

#declare xxzz  = 1;
#declare yyzz  = 1;
#declare zz    = -Rmin*Rmin;
#declare const = -Hfactor;

quartic{
  <    0, 0,    0, 0,  0, 0, 0,
    xxzz, 0,    0, 0,  0, 0, 0,
       0, 0,    0, 0,  0, 0, 0,
       0, 0, yyzz, 0,  0, 0, 0,
       0, 0,    0, 0, zz, 0, const >
  sturm

  translate<0,0,Zmin>

  bounded_by { cylinder{<0,0,Zmin>,<0,0,-100-Zmin>,Rmax } }
  clipped_by { bounded_by }

  texture{ MyTexture }    
}


Post a reply to this message

From: NoOne
Subject: Re: Scene in 15 min (69k) Thanks Ben
Date: 9 Nov 2000 12:08:36
Message: <3a0ada14@news.povray.org>
"Ben Birdsey" <cla### [at] mailcom> wrote in message
news:3A0A0986.10DA189E@mail.com...
>
> I think it would be really cool to use a hyperbolic conic section
> instead of a cone for the "wormhole" effect.
>
> Try using a quartic is oriented along the z-axis.  It has maximum
> radius Rmax and a minimum radius at z = -Infinity of Rmin.  Making Zmin
> approach 0 makes the "bell" shape look more like a flat plate with a
> tiny wormhole, and making it bigger makes a wormhole that is more like a
> gently tapering tube.
>
> I hope this works for you!
>
> Ben


I used your idea and it looks much better now.
Thank you.
NoOne


Post a reply to this message


Attachments:
Download '15min_a.jpg' (68 KB)

Preview of image '15min_a.jpg'
15min_a.jpg


 

From: Chris Huff
Subject: Re: Scene in 15 min (69k)
Date: 9 Nov 2000 18:41:44
Message: <chrishuff-062DC5.18414909112000@news.povray.org>
In article <3A0A0986.10DA189E@mail.com>, Ben Birdsey 
<cla### [at] mailcom> wrote:

> 	Try using a quartic is oriented along the z-axis.

I prefer isosurfaces myself, though they currently require a patched 
version of POV. I mean, which is easier? This:

quartic{
   <    0, 0,    0, 0,  0, 0, 0,
     xxzz, 0,    0, 0,  0, 0, 0,
        0, 0,    0, 0,  0, 0, 0,
        0, 0, yyzz, 0,  0, 0, 0,
        0, 0,    0, 0, zz, 0, const >
...

or this:(Not exactly the same as your function, but it should give you 
the general idea)
isosurface {
    function {z - 1/sqrt(sqr(x) + sqr(y) + 0.01)}
    threshold 0
...

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Thomas Lake
Subject: Re: Scene in 15 min (69k)
Date: 9 Nov 2000 20:19:20
Message: <3A0B4D28.4D5F9D05@home.com>
Unfortunately for many, who are not math inclined, even to this extent,
the first is easier.

Chris Huff wrote:

> In article <3A0A0986.10DA189E@mail.com>, Ben Birdsey
> <cla### [at] mailcom> wrote:
>
> >       Try using a quartic is oriented along the z-axis.
>
> I prefer isosurfaces myself, though they currently require a patched
> version of POV. I mean, which is easier? This:
>
> quartic{
>    <    0, 0,    0, 0,  0, 0, 0,
>      xxzz, 0,    0, 0,  0, 0, 0,
>         0, 0,    0, 0,  0, 0, 0,
>         0, 0, yyzz, 0,  0, 0, 0,
>         0, 0,    0, 0, zz, 0, const >
> ...
>
> or this:(Not exactly the same as your function, but it should give you
> the general idea)
> isosurface {
>     function {z - 1/sqrt(sqr(x) + sqr(y) + 0.01)}
>     threshold 0
> ...
>
> --
> Christopher James Huff
> Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
>
> <><


Post a reply to this message

From: Chris Huff
Subject: Re: Scene in 15 min (69k)
Date: 9 Nov 2000 20:54:12
Message: <chrishuff-06F7E0.20541609112000@news.povray.org>
In article <3A0B4D28.4D5F9D05@home.com>, Thomas Lake <tla### [at] homecom> 
wrote:

> Unfortunately for many, who are not math inclined, even to this extent,
> the first is easier.

I thought the isosurface would be easier for everyone, but *especially* 
for those who aren't "math inclined". (I certainly wouldn't describe 
myself as being very good at math...) An equation has to be less 
intimidating than a huge vector of numbers with no obvious relation 
between them. It is certainly easier to type. :-)
I never have fully understood the poly object family. I know the basic 
idea behind them, but have never used them and can't "see" them like I 
can an isosurface.

Anyway, other advantages of isosurfaces are speed and flexibility(you 
can do things that are impossible with polys, like noise and trig 
functions).

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Ben Birdsey
Subject: Re: Scene in 15 min (69k)
Date: 10 Nov 2000 18:38:22
Message: <3A0C8739.41D7D59C@mail.com>
Honestly, I didn't think of using an isosurface.  Even though the
functions are simpler for a POV programmer to write down, isosurfaces
are inherently slower to render than the "more efficiently coded" poly
objects .

	I mean there is a large amount of overhead in just evaluating the math
expressions using an interpreter, not to mention poor renderings due to
max_gradient issues. (Check out the 1/r factor, which will cause the
gradient to blow up close to the z-axis).

	But in this case I think you're totally right.  Max gradient isn't an
issue and the increased time probably isn't a factor.

	Ben
	<><


Post a reply to this message

From: Chris Huff
Subject: Re: Scene in 15 min (69k)
Date: 10 Nov 2000 19:06:59
Message: <chrishuff-81959F.19070410112000@news.povray.org>
In article <3A0C8739.41D7D59C@mail.com>, Ben Birdsey 
<cla### [at] mailcom> wrote:

> Even though the functions are simpler for a POV programmer to write 
> down, isosurfaces are inherently slower to render than the "more 
> efficiently coded" poly objects.

Did you actually try it? Isosurfaces can often be faster than "hard 
coded" objects, superellipsoids for example. It is probably dependant on 
which poly object you are using, though...


> ...not to mention poor renderings due to max_gradient issues. (Check 
> out the 1/r factor, which will cause the gradient to blow up close to 
> the z-axis).

I used a slightly different function (more like 1/(r+n)) to avoid the 
1/0 and extremely high gradient at the z axis. Otherwise, there was an 
artifact going along the z axis. Once I fixed that, I didn't see 
anything wrong with the render.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: NoOne
Subject: Re: Scene in 15 min (69k)
Date: 10 Nov 2000 19:13:12
Message: <3a0c8f18@news.povray.org>
After reading all the comments and posts I realized I need to brush up on my
math, (I've always had the sneaking suspicion that everyone on this
newsgroup is smarter than I am) and I should have looked more closely at
isosurfaces when I got MegaPov. I origonally got it just for the photon
mapping.
I have been hunting for tutorials on isosurfaces since and have found a good
one by Samuel T. Benge at
http://www.hamiltonite.pwp.blueyonder.co.uk/raytracing/STBenge/stbenge.html

Thanks all

NoOne

P.S. my first isosurface.


Post a reply to this message


Attachments:
Download 'isso.jpg' (51 KB)

Preview of image 'isso.jpg'
isso.jpg


 

From: Steve
Subject: Re: Scene in 15 min (69k)
Date: 10 Nov 2000 22:32:51
Message: <slrn90p94t.n5i.steve@zero-pps.localdomain>
On Fri, 10 Nov 2000 19:05:58 -0500, NoOne wrote:
>After reading all the comments and posts I realized I need to brush up on my
>math, (I've always had the sneaking suspicion that everyone on this
>newsgroup is smarter than I am) and I should have looked more closely at
>isosurfaces when I got MegaPov. I origonally got it just for the photon
>mapping.
>I have been hunting for tutorials on isosurfaces since and have found a good
>one by Samuel T. Benge at
>http://www.hamiltonite.pwp.blueyonder.co.uk/raytracing/STBenge/stbenge.html

[image]

Don't know what it is but it looks good. 

-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

  1:16am  up 31 days,  3:38,  2 users,  load average: 1.07, 1.05, 1.02


Post a reply to this message

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