POV-Ray : Newsgroups : povray.binaries.images : A Web-Like Structure Server Time
13 Nov 2024 17:34:00 EST (-0500)
  A Web-Like Structure (Message 1 to 10 of 29)  
Goto Latest 10 Messages Next 10 Messages >>>
From: stbenge
Subject: A Web-Like Structure
Date: 22 Jul 2010 21:31:31
Message: <4c48f0f3@news.povray.org>
An arbitrary number of starting lines (red) are written:

#declare starting_lines =
array[4]{
  array[2]{ <-1,-1,-1>, <-1,-1,1> }
  array[2]{ <-1,1,-1>,  <-1,1,1>  }
  array[2]{ <1,-1,-1>,  <1,-1,1>  }
  array[2]{ <1,1,-1>,   <1,1,1>   }
}

And then it will build a webby structure between them.

Sam


Post a reply to this message


Attachments:
Download 'webby4_45.jpg' (82 KB)

Preview of image 'webby4_45.jpg'
webby4_45.jpg


 

From: Jim Charter
Subject: Re: A Web-Like Structure
Date: 23 Jul 2010 01:08:13
Message: <4c4923bd$1@news.povray.org>
stbenge wrote:
> An arbitrary number of starting lines (red) are written:
> 
> #declare starting_lines =
> array[4]{
>  array[2]{ <-1,-1,-1>, <-1,-1,1> }
>  array[2]{ <-1,1,-1>,  <-1,1,1>  }
>  array[2]{ <1,-1,-1>,  <1,-1,1>  }
>  array[2]{ <1,1,-1>,   <1,1,1>   }
> }
> 
> And then it will build a webby structure between them.
> 
> Sam
> 
> ------------------------------------------------------------------------
> 
Ah that's nice, real nice.


Post a reply to this message

From: Thomas de Groot
Subject: Re: A Web-Like Structure
Date: 23 Jul 2010 03:07:33
Message: <4c493fb5$1@news.povray.org>
This is an interesting development indeed. Spiders welcome! :-)

Thomas


Post a reply to this message

From: Nekar Xenos
Subject: Re: A Web-Like Structure
Date: 23 Jul 2010 07:13:11
Message: <op.vgamrtiyufxv4h@go-dynamite>
This is so cool!

-Nekar Xenos-


Post a reply to this message

From: SharkD
Subject: Re: A Web-Like Structure
Date: 25 Jul 2010 08:54:24
Message: <4c4c3400$1@news.povray.org>
Can you make the lines sag? Right now they are perfectly taut.


-- 
http://isometricland.com


Post a reply to this message

From: stbenge
Subject: Somebody, Get the Duster
Date: 25 Jul 2010 16:57:32
Message: <4c4ca53c@news.povray.org>
Just trying out the web structure again. I allowed definable distances 
to govern the strand length, so there won't be many segments that are 
too long or too short. For the block, I used slope and AOI patterns for 
the dust texture, and spheres were placed with the trace function. Also, 
some spheres were placed randomly within the web itself. I might make a 
real scene using this soon.

Sam


Post a reply to this message


Attachments:
Download 'webby2_46.jpg' (87 KB)

Preview of image 'webby2_46.jpg'
webby2_46.jpg


 

From: stbenge
Subject: Re: A Web-Like Structure
Date: 25 Jul 2010 16:59:01
Message: <4c4ca595$1@news.povray.org>
Jim Charter wrote:
> Ah that's nice, real nice.

It's OK, it might work out for some scenes.


Post a reply to this message

From: stbenge
Subject: Re: A Web-Like Structure
Date: 25 Jul 2010 17:00:54
Message: <4c4ca606@news.povray.org>
Thomas de Groot wrote:
> This is an interesting development indeed. Spiders welcome! :-)

Spiders are always welcome. They take care of the flying bugs, and if 
their numbers expand intolerably, the cat takes care of /them/ :)


Post a reply to this message

From: stbenge
Subject: Re: A Web-Like Structure
Date: 25 Jul 2010 17:01:40
Message: <4c4ca634@news.povray.org>
Nekar Xenos wrote:
> This is so cool!

It could be!


Post a reply to this message

From: stbenge
Subject: Re: A Web-Like Structure
Date: 25 Jul 2010 17:09:24
Message: <4c4ca804$1@news.povray.org>
SharkD wrote:
> Can you make the lines sag? Right now they are perfectly taut.

No, no I cannot. In a way I can make the whole structure sag, but the 
segments would still be straight. See, the macro only looks at two lines 
at a time. There is no real network in place, where point associations 
between many lines are kept. I thought about using some kind of pointer 
system, where elements are pointed at by other elements, but I haven't 
found a good way to do this. Some mesh techniques involving things like 
Delaunay triangulation would be the next real step, but I'm way out of 
my league there.

I suppose I could give some segments a curved, sagging appearance, but 
to maintain the illusion of tautness, it would have to be done very 
carefully.


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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