 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
This grew out of a session just playing around with #while loops and
vectors!
Post a reply to this message
Attachments:
Download 'lightening.png' (41 KB)
Preview of image 'lightening.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Phil Cowley" <rar### [at] tremain co uk> wrote in message
news:3af2a116@news.povray.org...
> This grew out of a session just playing around with #while loops and
> vectors!
>
Whoa! Nice. Very realistic from what I've seen of cloud to earth strikes out
here (and at 100 meteres, I've seen more than I wanted ;) )
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Phil Cowley <rar### [at] tremain co uk> wrote in message
news:3af2a116@news.povray.org...
> This grew out of a session just playing around with #while loops and
> vectors!
>
That looks nice! thunderstorms are very common
where I live and that looks very realistic.
Code?
Gail
*************************************************************************
* gsh### [at] monotix co za * Step into the abyss, *
* http://www.rucus.ru.ac.za/~gail/ * and let go. Babylon 5 *
*************************************************************************
* The difficult we do immediately, the impossible takes a little longer *
*************************************************************************
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
very impressive, and realistic (from the lightening I have seen on discovery
chan - dont get much here :)
--
Rick
Kitty5 WebDesign - http://Kitty5.com
Hi-Impact database driven web site design & e-commerce
TEL : +44 (01625) 266358 - FAX : +44 (01625) 611913 - ICQ : 15776037
POV-Ray News & Resources - http://Povray.co.uk
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
"Phil Cowley" <rar### [at] tremain co uk> wrote in message
news:3af2a116@news.povray.org...
> This grew out of a session just playing around with #while loops and
> vectors!
>
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 4 May 2001 13:31:12 +0100, Phil Cowley wrote:
>This grew out of a session just playing around with #while loops and
>vectors!
If that's supposed to be a stereo pair, you should know that it's way
too large for wide-eyed viewing (for most people, anyway) and in the wrong
order for cross-eyed viewing.
Cool lightning, though.
--
#local R=<7084844682857967,32787982,826975826580>#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ron Parker" <ron### [at] povray org> wrote :
>
> If that's supposed to be a stereo pair, you should know that it's way
> too large for wide-eyed viewing (for most people, anyway)
Right. I was about 12 degrees wall-eyed before I got it...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 4 May 2001 13:44:35 -0400, Bill DeWitt wrote:
>
>"Ron Parker" <ron### [at] povray org> wrote :
>>
>> If that's supposed to be a stereo pair, you should know that it's way
>> too large for wide-eyed viewing (for most people, anyway)
>
> Right. I was about 12 degrees wall-eyed before I got it...
I gave up and reversed the order of the images in Photoshop. I couldn't get
my chair far enough from my monitor to see it wide-eyed.
--
#local R=<7084844682857967,32787982,826975826580>#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Great lightning! Oh, and I could do the diverged-eye thing fine ;)
--
David Fontaine <dav### [at] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
If that's supposed to be a stereo pair, you should know that it's way
>> too large for wide-eyed viewing (for most people, anyway)
>
> Right. I was about 12 degrees wall-eyed before I got it...
I gave up and reversed the order of the images in Photoshop. I couldn't get
my chair far enough from my monitor to see it wide-eyed.
---------
I disagree . . . the left and right images are exactly as they should be . .
.
the farther the object from the eye, the farther the shift to the right in
the view from the right eye . . . it's perfect as it is. Just think of how
the whole scene would look from directly above . . . and imagine
where the left and right views must be . . . then you see that the pic
shows it perfectly.
And the separation distance isn't really the problem . . . it's more that
the camera was shifted a little too far . . . it's a little difficult for
the brain
to make sense of data that separated. Try shifting the cam in smaller
steps and then viewing various combos until it looks just right.
It still sticks in my mind that a 1 unit shift to the right for ever 30
units
of distance to the object (or center of your scene) will be close.
I think the problem . . . the inability to *see* it is . . . just a matter
of how you look at it and what you expect to see. The perception of
depth is a function of the brain . . . no such depth exists in the pic . . .
only in our minds. The same way that we seem to see motion when
a series of stills is presented to us at a certain rate. I can tell you
from
experience that . . . being able to use the cross-eyed method is something
that must be learned and practiced. I'm always surprised at the number
of people who can't see it . . . and I've been able to teach a few of them
how to look and once they *get it* . . . they're hooked.
I guarantee that the pic is fine as is . . . nicely done Phil . . .
now just need the code ;) Oh yeah . . . and I'd be interested in your
camera settings . . . you know . . . distance from the object and just
how much of a shift you used between views.
Here's an idea . . . and this would be great for those who haven't been
able to cross view it, do a few more and make it an animation . . . just
circle all the way around and loop the anim . . . then it should become
apparent to anyone . . . no need to harm one's self ;)
Y
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ron Parker wrote:
> If that's supposed to be a stereo pair, you should know that it's
> way too large for wide-eyed viewing (for most people, anyway) and
> in the wrong order for cross-eyed viewing.
It works just fine for me, perhaps because my pixels are small.
> Cool lightning, though.
Yah.
(Ron, sorry, I noticed too late that I'd hit the wrong button
and sent this to you privately)
--
Anton Sherwood -- br0### [at] p0b0x com -- http://ogre.nu/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> I disagree . . . the left and right images are exactly as they should be . .
Indeed, I have to say it was a bit difficult to get the whole thing working with
my eyes, but just took me a full 15 secs of concentration!
--
+--------------------------------+---------------------------+
| Simon Lemieux | http://666Mhz.myip.org/ |
| Email : lem### [at] yahoo com | Povray and OpenGL Gallery |
+--------------------------------+---------------------------+
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"yooper" <Out### [at] huntel net> wrote :
>
> I think the problem . . . the inability to *see* it is . . . just a matter
> of how you look at it and what you expect to see. The perception of
> depth is a function of the brain . . . no such depth exists in the pic . .
.
> only in our minds.
Most of us on this server are -very- familiar with the basics of 3d
viewing. I was able to find the proper focus cross-eyed in about 2 seconds
but could tell that the scene was wrong (the block tried to move in front of
lightening) so I shifted to wall-eyed and it snapped into proper depth.
You may find that, if you attempt to see it wall eyed, the sense of
depth is more obvious and you will easily be able to tell that it is not set
up for cross-eyed viewing.
Or, if you are not adept at wall-eyed viewing, you could shift the
images like Ron did and find that they work a lot better. Here, I'll do it
for you.
Post a reply to this message
Attachments:
Download 'lightening.png' (34 KB)
Preview of image 'lightening.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
You may find that, if you attempt to see it wall eyed, the sense of
depth is more obvious and you will easily be able to tell that it is not set
up for cross-eyed viewing.
Or, if you are not adept at wall-eyed viewing, you could shift the
images like Ron did and find that they work a lot better. Here, I'll do it
for you.
---------
Now, see ... this doesn't work for me ... now I see the box in front of
the lightning. As for wall-eyed or cross-eyed, I only know of one
way to view them ... the way Phil had 'em works for me ... and I don't
know what it's called ... or care ;). I just wanna do whatever it takes
to simulate the left & right views and fool the brain into seeing it.
Anyway ... as for the pic ... it's nice and would look pretty cool as an
animation. Maybe a hint of blue here and there would *hotten* it.
What's the lighting, Phil? Nice how the ground is lit near the strike.
Y
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"yooper" <Out### [at] huntel net> wrote in message
news:3af4e54f@news.povray.org...
>
> Now, see ... this doesn't work for me ... now I see the box in front of
> the lightning
In that case you are viewing them wall-eyed, by relaxing your eyes until
they become parallel (or, in my case, a few degrees wider than parallel),
instead of cross-eyed, stressing them to point more towards each other.
To see them cross-eyed, try holding your finger about 6 in from your
eyes and look at the tip. Then, while keeping your finger in focus, look at
the revised image I posted.
Cross-eyed works better for images whose centers are further apart then
the centers of the average person's eyes. Wall-eyed works best for small
images or those computer generated composite images.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Are you going to post the code?
--
#version unofficial MegaPov.7;#local Q=seed(7);#local B=<-2,2,5>;#local
E=<2,-
2,5>;#while(vlength(B-E)>.1)#local S=B;#local B=B+<rand(Q),rand(Q),rand(Q)
>/20;#local
B=B-2*(B-S)*(vlength(B-E)>vlength(S-E));glow{radius.07location<B.y
,-B.x,B.z>size.1}glow{radius.07size.1location B}#end// Nekar Xenos
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> Are you going to post the code?
As you asked so very nicely!
Here is a POV file including the lightening macro...
Phil
Post a reply to this message
Attachments:
Download 'lightening.pov.txt' (5 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Phil,
Thank you very much.
Nekar
--
#local N=<-4,8,20>;#local K=<4,-8,20>;#local R=seed(0);union{#while((K-N).x>0)
#local X=N;#local N=N+<rand(R),rand(R),1>/30;#local N=(vlength(N-K)<vlength(X-K
)?N:2*X-N);sphere{<N.y,-N.x,N.z>,.2}sphere{N,.2}sphere{<-N.x-8,N.y,N.z>,.1//-NX
pigment{rgb N}}sphere{<N.x+8,-N.y,N.z>,.1 pigment{rgb N}}#end pigment{rgb 9}}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I see I need "macros.inc" for this. Could you be so kind as to send me this file
as well?
Thank you
Nekar
--
#local N=<-4,8,20>;#local K=<4,-8,20>;#local R=seed(0);union{#while((K-N).x>0)
#local X=N;#local N=N+<rand(R),rand(R),1>/30;#local N=(vlength(N-K)<vlength(X-K
)?N:2*X-N);sphere{<N.y,-N.x,N.z>,.2}sphere{N,.2}sphere{<-N.x-8,N.y,N.z>,.1//-NX
pigment{rgb N}}sphere{<N.x+8,-N.y,N.z>,.1 pigment{rgb N}}#end pigment{rgb 9}}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> I see I need "macros.inc" for this. Could you be so kind as to send me
this file
> as well?
You don't need it... just delete the #include line...
Phil
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thanks!
Nekar X
--
#local N=<-4,8,20>;#local K=<4,-8,20>;#local R=seed(0);union{#while((K-N).x>0)
#local X=N;#local N=N+<rand(R),rand(R),1>/30;#local N=(vlength(N-K)<vlength(X-K
)?N:2*X-N);sphere{<N.y,-N.x,N.z>,.2}sphere{N,.2}sphere{<-N.x-8,N.y,N.z>,.1//-NX
pigment{rgb N}}sphere{<N.x+8,-N.y,N.z>,.1 pigment{rgb N}}#end pigment{rgb 9}}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |