POV-Ray : Newsgroups : povray.general : gravity well Server Time
4 May 2024 18:31:40 EDT (-0400)
  gravity well (Message 11 to 15 of 15)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Tim Attwood
Subject: Re: gravity well
Date: 11 Oct 2007 20:20:13
Message: <470ebdbd$1@news.povray.org>
You might want to look at the Witch_Hat shape in
shapesq.inc, it's a quartic instead of an isosurface,
but it looks like what you want.
I put a demo image in p.b.i, and the scene file in p.b.s-f


Post a reply to this message

From: alphaQuad
Subject: Re: gravity well
Date: 12 Oct 2007 01:25:01
Message: <web.470f03e250ab97d789ae70600@news.povray.org>
3.7.7.1.6  Invert Isosurface
Sometimes, when you render a surface, you may find that you get only the
shape of the container. This could be caused by the fact that some of the
build in functions are defined inside out.
We can invert the isosurface by negating the whole function:
  -(function) - threshold



well I am close now, but using "open" opens to an inside that does not
render,
other wise without "open" the surface is flat.
need to use open but invert (i think).

how to impliment "-(function) - threshold" correctly?

render this to see so far:

isosurface {
    function { (x*x) - (0.01/(y*y)) + (z*z) }

    threshold 0
    max_gradient 3
    contained_by {box {<-1,-1,-1>, < 1, 0.0001, 1>}}
    //open
    texture {
        pigment{ CadetBlue }
        finish { ambient .4 }
    }
    scale 2
}


Post a reply to this message

From: alphaQuad
Subject: Re: gravity well
Date: 12 Oct 2007 10:15:00
Message: <web.470f80d750ab97d7fbbc86040@news.povray.org>
"Tim Attwood" <tim### [at] comcastnet> wrote:

> I put a demo image in p.b.i, and the scene file in p.b.s-f




the second time I have seen this.

its not a link and a search returns little if anything.

But I'll try again,

drawing a blank on:
"...demo image in p.b.i, and the scene file in p.b.s-f"


Post a reply to this message

From: alphaQuad
Subject: Re: gravity well
Date: 12 Oct 2007 10:15:01
Message: <web.470f813950ab97d7fbbc86040@news.povray.org>
and how do you reverse normals on an isosurface?

cant find anything on that either.


Post a reply to this message

From: alphaQuad
Subject: Re: gravity well
Date: 12 Oct 2007 10:25:00
Message: <web.470f838150ab97d7fbbc86040@news.povray.org>
ok povray.binaries...

ok I think I am not using my password in news groups so I get no headers.
let me see if I can figure this out...


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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