POV-Ray : Newsgroups : povray.binaries.images : Basket-weaving (fun with spline objects) Server Time
20 Aug 2024 00:11:16 EDT (-0400)
  Basket-weaving (fun with spline objects) (Message 11 to 20 of 36)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Bill DeWitt
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 24 Oct 2000 20:33:36
Message: <39f62a60@news.povray.org>
"Chris Huff" <chr### [at] maccom> wrote :
>
> I whipped up this isosurface tree in about 20 minutes...but I cheated.
> :-)

    Sure did! Cheaters never prosper....

> I don't think you are going to get a realistic looking, complex plant
> out of an ordinary function...

    Don't say things like that!

    I don't really think I will get it no matter if it is possible or not.
Below is how far I got today. And as I said, all I am trying for is a simple
"Y".


Post a reply to this message


Attachments:
Download 'Isotree0012.jpg' (7 KB)

Preview of image 'Isotree0012.jpg'
Isotree0012.jpg


 

From: Chris Huff
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 24 Oct 2000 21:01:45
Message: <chrishuff-0BBE18.20044024102000@news.povray.org>
In article <39f62a60@news.povray.org>, "Bill DeWitt" 
<the### [at] earthlinknet> wrote:

> Below is how far I got today. And as I said, all I am trying for is a 
> simple "Y".

Just a "Y"? That's easy...
function {if(-y, R1(x,y,z), R1(-abs(x)+y,y,z))-1}

Getting the branches to branch is what would make the function so 
complex, and getting random variations in branch numbers, size, length, 
etc. will be even more difficult. And the result probably won't render 
in a reasonable speed.

-- 
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: Bill DeWitt
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 24 Oct 2000 22:32:02
Message: <39f64622@news.povray.org>


Post a reply to this message

From: Christoph Hormann
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 25 Oct 2000 03:35:55
Message: <39F68D58.BC94DBF@schunter.etc.tu-bs.de>
Bill DeWitt wrote:
> 
> > And the result probably won't render
> > in a reasonable speed.
> 
>     Well see that is what I was hoping you wouldn't say. There are
> various -great- tree macros to be had, but I was assuming that an isosurface
> would be quicker.

Concerning efficiency, both a macro tree and a (hypothetical) isosurface have
advantages, the macro tree would probably render faster as a single object
(assuming both are equally complicated), but when placing a lot of trees in one
scene, the isosurface has strong advantages because of fewer memory use.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Ken
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 26 Oct 2000 20:25:10
Message: <39F8CB91.2CBA4460@pacbell.net>
Christoph Hormann wrote:

> Concerning efficiency, both a macro tree and a (hypothetical) isosurface have
> advantages, the macro tree would probably render faster as a single object
> (assuming both are equally complicated), but when placing a lot of trees in one
> scene, the isosurface has strong advantages because of fewer memory use.

LSystmes were designed for this purpose but have a bit of a learning
curve involved. Too bad there are no really good LSystem modelling
programs available.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Christoph Hormann
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 27 Oct 2000 09:23:06
Message: <39F981BA.7159989D@schunter.etc.tu-bs.de>
Ken wrote:
> 
> LSystmes were designed for this purpose but have a bit of a learning
> curve involved. Too bad there are no really good LSystem modelling
> programs available.
> 

L-Systems have the same disadvantages as tree macros (IIRC most tree macros are
essentially specialized l-systems with some improvements).  

BTW, a l-system modelling program would be quite difficult, because l-systems
are coded in fact and therefore can't be modelled, you could only try to
generate the l-system definition from some modelled shape, but that would not be
of much use IMO.

Attached are two coniferous trees i made with l-systems some years ago.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message


Attachments:
Download 'lsys_01.jpg' (38 KB)

Preview of image 'lsys_01.jpg'
lsys_01.jpg


 

From: ingo
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 27 Oct 2000 12:00:17
Message: <8FDAB812Aseed7@204.213.191.228>
Christoph Hormann wrote:

>L-Systems have the same disadvantages as tree macros (IIRC most tree
>macros are essentially specialized l-systems with some improvements). 

Is it mathematically possible to somehow turn a L-system in to a function, 
usable for an Isosurface?

What if you create a splines from an L-system, where the splines go from 
the startpoint to every endpoint including all intermediate knots on the 
path. Use this collection of splines for sweeps of blobs.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Chris Huff
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 27 Oct 2000 17:31:22
Message: <chrishuff-327230.16342127102000@news.povray.org>
In article <8FDAB812Aseed7@204.213.191.228>, ing### [at] homenl (ingo) 
wrote:

> Is it mathematically possible to somehow turn a L-system in to a 
> function, usable for an Isosurface?

Yes, in the same way as for any other object...an L-system simply tells 
how to put the pieces together. Your question is a bit like asking if 
there is a way to mathematically turn a macro that generates a complex 
object file into an isosurface function.


> What if you create a splines from an L-system, where the splines go from 
> the startpoint to every endpoint including all intermediate knots on the 
> path. Use this collection of splines for sweeps of blobs.

The spline step seems unnecessary, it should be easy to just make blob 
components. It shouldn't be extremely difficult to make an include file 
that can parse L-systems, at least not for someone who knows how to use 
them. I have played around with them a little, but have no idea how the 
more complex ones work.

-- 
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: Isosurface - isotree0012.jpg (1/1)
Date: 27 Oct 2000 17:39:00
Message: <chrishuff-8D9D24.16415827102000@news.povray.org>
In article <39F981BA.7159989D@schunter.etc.tu-bs.de>, 
chr### [at] gmxde wrote:

> L-Systems have the same disadvantages as tree macros (IIRC most tree 
> macros are essentially specialized l-systems with some improvements). 

An L-system patch would process much faster than a macro...the problem 
is, what would it be represented as? A union of cones and spheres? A 
mesh? A blob or isosurface? A macro can easily be customized to do 
whatever you need, but a patch would be too specialized...and there 
doesn't seem to be much demand for an L-system macro/include file when 
there are macros and include files designed to generate plants and 
L-system programs that can output POV-Script.

If you could somehow retrieve data from an L-system patch, like my 
particle system patch allows, it would be more useful, but you would 
still pay for parsing speed with flexibility.

-- 
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: Christoph Hormann
Subject: Re: Isosurface - isotree0012.jpg (1/1)
Date: 27 Oct 2000 18:07:27
Message: <39F9FC96.7564437C@schunter.etc.tu-bs.de>


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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