POV-Ray : Newsgroups : povray.unofficial.patches : REQ: Self-orienting disc primitive Server Time
2 Sep 2024 14:13:53 EDT (-0400)
  REQ: Self-orienting disc primitive (Message 1 to 7 of 7)  
From: Peter Popov
Subject: REQ: Self-orienting disc primitive
Date: 1 Feb 2000 19:30:53
Message: <4XmXOCqsykl54ijq8AseL9m7S8dB@4ax.com>
Does it make sense to add a keyword to the disc syntax (and maybe to
polygon) which will make it orient itself much like area lights do?
With the current faked fire renders by Toni this could partially solve
the problem with reflections and shadows. It could also be used for
incorporating sprites etc. in the scene.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Bob Hughes
Subject: Re: Self-orienting disc primitive
Date: 1 Feb 2000 22:20:03
Message: <3897a263@news.povray.org>
Nice idea, 'orient' keyword for all objects might be interesting.

Bob

"Peter Popov" <pet### [at] usanet> wrote in message
news:4XmXOCqsykl54ijq8AseL9m7S8dB@4ax.com...
| Does it make sense to add a keyword to the disc syntax (and maybe to
| polygon) which will make it orient itself much like area lights do?
| With the current faked fire renders by Toni this could partially solve
| the problem with reflections and shadows. It could also be used for
| incorporating sprites etc. in the scene.
|
|
| Peter Popov
| pet### [at] usanet
| ICQ: 15002700


Post a reply to this message

From: Ken
Subject: Re: Self-orienting disc primitive
Date: 1 Feb 2000 22:35:05
Message: <3897A5DD.B05FCB9E@pacbell.net>
Bob Hughes wrote:
> 
> Nice idea, 'orient' keyword for all objects might be interesting.

There is an orient keyword - it's called rotate.

-- 
Ken Tyler -  1300+ Povray, 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: Eric Freeman
Subject: Re: Self-orienting disc primitive
Date: 2 Feb 2000 00:56:02
Message: <3897c6f2@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote in message
news:3897A5DD.B05FCB9E@pacbell.net...
>
> Bob Hughes wrote:
> >
> > Nice idea, 'orient' keyword for all objects might
> > be interesting.
>
> There is an orient keyword - it's called rotate.

disc {
  <0,0,0>, <0,0,1>, 10
  translate <0,0,-30>
  rotate x*45
  rotate y*45
}

Change the translate and rotate amounts to position it... it will "point" to
<0,0,0>.

Eric
--------------------
http://www.datasync.com/~ericfree
--------------------
"The whole problem with the world is that fools and fanatics are always so
certain of themselves, but wiser people so full of doubts."
--Bertrand Russel


Post a reply to this message

From: Bob Hughes
Subject: Re: Self-orienting disc primitive
Date: 2 Feb 2000 02:25:03
Message: <3897dbcf@news.povray.org>
Hey, but that's not automatic!  Get with the times... it's a push-button
world... the future is now...  etcetera...  :-D

Bob

"Eric Freeman" <eri### [at] datasynccom> wrote in message
news:3897c6f2@news.povray.org...
| "Ken" <tyl### [at] pacbellnet> wrote in message
| news:3897A5DD.B05FCB9E@pacbell.net...
| >
| > Bob Hughes wrote:
| > >
| > > Nice idea, 'orient' keyword for all objects might
| > > be interesting.
| >
| > There is an orient keyword - it's called rotate.
|
| disc {
|   <0,0,0>, <0,0,1>, 10
|   translate <0,0,-30>
|   rotate x*45
|   rotate y*45
| }
|
| Change the translate and rotate amounts to position it... it will "point" to
| <0,0,0>.
|
| Eric
| --------------------
| http://www.datasync.com/~ericfree
| --------------------
| "The whole problem with the world is that fools and fanatics are always so
| certain of themselves, but wiser people so full of doubts."
| --Bertrand Russel
|
|
|
|


Post a reply to this message

From: Nieminen Juha
Subject: Re: Self-orienting disc primitive
Date: 2 Feb 2000 04:19:51
Message: <3897f6b7@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
:> Nice idea, 'orient' keyword for all objects might be interesting.

: There is an orient keyword - it's called rotate.

  The 'orient' keyword in area_lights does more than just one rotate.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nathan Kopp
Subject: Re: Self-orienting disc primitive
Date: 2 Feb 2000 07:55:59
Message: <3898295f@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote...
>
>
> Bob Hughes wrote:
> >
> > Nice idea, 'orient' keyword for all objects might be interesting.
>
> There is an orient keyword - it's called rotate.
>

I think he wants it to rotate for each ray that is intersected (like orient
area lights).  That way, shadows from a flat object would not look so flat.
To billboard correctly, you'd have to be able to specify an axis of rotation
(you wouldn't want your trees to fully orient, but only orient about the Y
(up) axis).

-Nathan


Post a reply to this message

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