POV-Ray : Newsgroups : povray.general : silly features Server Time
12 Aug 2024 01:32:45 EDT (-0400)
  silly features (Message 31 to 40 of 41)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 1 Messages >>>
From: Mark Wagner
Subject: Re: silly features
Date: 10 Jun 1999 23:56:04
Message: <376088d4@news.povray.org>
Ron Parker wrote in message <375ecdf8@news.povray.org>...
>By the way, if I have till the end of the millennium to get it finished,
I'll
>have plenty of time to add all kinds of new stuff.  A year and a half...
>that's a lot of time...


No, you have approximately 996.5 years to finish the patch.  According to
the best estimates, the millenium ended in 1996 or so :-)

Mark


Post a reply to this message

From: Lance Birch
Subject: Re: silly features
Date: 11 Jun 1999 04:55:36
Message: <3760cf08@news.povray.org>
OT:  Please note the correct spelling of millennium.

;)


Post a reply to this message

From: Robert Dawson
Subject: Re: silly features
Date: 11 Jun 1999 09:13:01
Message: <37610b5d@news.povray.org>
Remco de Korte <rem### [at] xs4allnl> wrote
> There's one drawback to your suggestion: an object wouldn't be lit be a
> lightsource but it would cast a shadow, wouldn't it? What would happen if
it is
> a shadowless light_source (I tend to use lots of those).


    *Then* you would need a selective lighting patch. However, if you want
*no* shadows on something, you could make it luminous by using ambient.

    -Robert


Post a reply to this message

From: Robert Dawson
Subject: Re: silly features
Date: 11 Jun 1999 09:24:50
Message: <37610e22@news.povray.org>
Ron Parker <par### [at] fwicom> wrote

> Anyway, there's an easier way to get that effect:
>
>   #declare LightPos=<...>;
>   #declare ShadowOnlyObject=...
>
>   light_source { LightPos rgb 1}
>   object { ShadowOnlyObject bounded_by {sphere { LightPos .001 }}}

    Cool. This doesn't look as if it *ought* to work, because POV-Ray has an
absolute concept of "inside" - but it does. Clearly the shadow test uses ray
intersections to determine whether a "legal" part of the object is blocking
light, so is fooled if the lightsource is inside the bounding object.

    -Robert Dawson


Post a reply to this message

From: Ron Parker
Subject: Re: silly features
Date: 11 Jun 1999 10:59:47
Message: <37612463@news.povray.org>
On Fri, 11 Jun 1999 10:30:18 -0300, Robert Dawson wrote:
>
>Ron Parker <par### [at] fwicom> wrote
>
>> Anyway, there's an easier way to get that effect:
>>
>>   #declare LightPos=<...>;
>>   #declare ShadowOnlyObject=...
>>
>>   light_source { LightPos rgb 1}
>>   object { ShadowOnlyObject bounded_by {sphere { LightPos .001 }}}
>
>    Cool. This doesn't look as if it *ought* to work, because POV-Ray has an
>absolute concept of "inside" - but it does. Clearly the shadow test uses ray
>intersections to determine whether a "legal" part of the object is blocking
>light, so is fooled if the lightsource is inside the bounding object.

The reason this works is that POV first checks for an intersection with 
the bounding object before looking for intersections with the real object.
The only rays that intersect the bounding object are shadow rays, so they
are the only rays that are tested against the real object.  Camera rays 
and reflected rays don't hit the bounding object (usually) so POV assumes
that they also don't hit the real object.

You can also use this trick to make a vampire object (no reflection and 
no shadow) by bounding with a small sphere around the camera.


Post a reply to this message

From: Mark Wagner
Subject: Re: silly features
Date: 12 Jun 1999 00:09:44
Message: <3761dd88@news.povray.org>
Lance Birch wrote in message <3760cf08@news.povray.org>...
>OT:  Please note the correct spelling of millennium.
>
>;)


As I am from the USA, I can spell millinium however I want :-)

Mark


Post a reply to this message

From: Lance Birch
Subject: Re: silly features
Date: 12 Jun 1999 00:25:56
Message: <3761e154@news.povray.org>


Post a reply to this message

From: Bob Crispen
Subject: Re: silly features
Date: 12 Jun 1999 06:11:37
Message: <376231DD.494F3821@hiwaay.net>
Nieminen Mika wrote:

>   Yeah, interesting.
> 
> light_source { ... }
> 
> object // Lit by the global light source
> { MyObject1
> }
> 
> object // Lit by the global light source and an own light source
> { MyObject2
>   lit_by { light_source { ... } }
> }
[snip]

VRML has a class of lights, DirectionalLights, which are scoped so
as to light all and only the geometry nodes under their own parent,
while all the other lights are global in scope.

I had pushed the "reply" button to say that I thought that this was
an easier syntax than you'd sketched above, but by the time I got
to this sentence, I thought maybe that might be a mistake.  I'm
guessing that nobody's really exercised the hierarchical scene
graph features in POVRay, and that while VRML scenes with 10 levels
of nesting are far from unusual, I've never seen even one that deep
in POVRay.  Putting in something that would motivate people to make
deeply nested scenes could turn out to be a huge opportunity to
generate bug reports.
+-------------------------------+--------------------------------------+
| Rev. Bob "Bob" Crispen        |            "IT FOUND ME!"            |
| cri### [at] hiwaaynet            |      Campus Crusade for Cthulhu      |
+-------------------------------+--------------------------------------+


Post a reply to this message

From: Margus Ramst
Subject: Re: silly features
Date: 12 Jun 1999 13:50:52
Message: <37629dfc@news.povray.org>
Got to about 15 levels in one project. Debugging was a veritable pain, and
ultimately failed. No, thanks!
I could post an unindented version just for Ken's enjoyment... Nah.

Margus

Bob Crispen wrote in message <376231DD.494F3821@hiwaay.net>...
>
>I'm
>guessing that nobody's really exercised the hierarchical scene
>graph features in POVRay, and that while VRML scenes with 10 levels
>of nesting are far from unusual, I've never seen even one that deep
>in POVRay.  Putting in something that would motivate people to make
>deeply nested scenes could turn out to be a huge opportunity to
>generate bug reports.


Post a reply to this message

From: Steven Jones
Subject: Re: silly features
Date: 20 Jun 1999 04:09:18
Message: <376CA1A9.D37D8CDB@tsn.cc>
Will the next superpatch support 3.1e?


Post a reply to this message

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

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