POV-Ray : Newsgroups : povray.advanced-users : Lens flares without third party addons Server Time
29 Jul 2024 16:27:04 EDT (-0400)
  Lens flares without third party addons (Message 21 to 26 of 26)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Rohan Bernett
Subject: Re: Lens flares without third party addons
Date: 4 Aug 2002 20:55:12
Message: <web.3d4dcb91a809680218ccf4f70@news.povray.org>
TinCanMan wrote:
>>   Why is it OK to use POV-Ray's internal functions and patterns, and
>perhaps
>> even standard include files, but it's not OK to use third-party include
>> files? What's the difference?
>
>I don't think that this is the point.  Sometimes people (myself included)
>try to do things just to see if it can be achieved even though they could
>easily be faked or done with some type of include or 3rd party software,
>etc.  Usually when I do it, it's not necessarily for any practical scene
>purposes, but rather academic, to test my POV procedure and coding abilities
>and to push the limits of the system.

This is exactly what I am talking about when I made the original post! I
want to know how to do it mainly for academic purposes. If I just wanted a
lens flare, I might go and use someone else's addon, but I want to know how
to do it myself. And I'm surprised that more people don't want to do this
as well.

Rohan _e_ii


Post a reply to this message

From: hughes b
Subject: Re: Lens flares without third party addons
Date: 5 Aug 2002 05:13:46
Message: <3d4e41ca@news.povray.org>
"Rohan Bernett" <rox### [at] yahoocom> wrote in message
news:web.3d4dcb91a809680218ccf4f70@news.povray.org...
> TinCanMan wrote:
> >
> >I don't think that this is the point.  Sometimes people (myself included)
> >try to do things just to see if it can be achieved even though they could
> >easily be faked or done with some type of include or 3rd party software,
> >etc.  Usually when I do it, it's not necessarily for any practical scene
> >purposes, but rather academic, to test my POV procedure and coding
abilities
> >and to push the limits of the system.
>
> This is exactly what I am talking about when I made the original post! I
> want to know how to do it mainly for academic purposes. If I just wanted a
> lens flare, I might go and use someone else's addon, but I want to know
how
> to do it myself. And I'm surprised that more people don't want to do this
> as well.

I think they do, you just aren't seeing people jumping to reply I guess. I
was going to reply a few days ago just to say I had attempted some lens
flares, just trying more patterns and such. I've also used the backdrop of a
environment kind of sphere (sky sphere, yet not sky_sphere) for diffusing
sunlight around the Sun.

The thing about previous work by others is that it's often much more
detailed than what you might be doing yourself for just one scene file. I
wasn't sure if you were talking about the creation of a new lens flare
include having multifunctionality or simply a single instance of a lens
flare of a particular design (pattern).

Samuel Benge had shown that using a clear cone or cylinder with specular
highlights and connecting camera to light source can work as a aural glow in
certain situations.


Post a reply to this message

From: Warp
Subject: Re: Lens flares without third party addons
Date: 6 Aug 2002 18:55:31
Message: <3d5053e3@news.povray.org>
Rohan Bernett <rox### [at] yahoocom> wrote:
> This is exactly what I am talking about when I made the original post! I
> want to know how to do it mainly for academic purposes. If I just wanted a
> lens flare, I might go and use someone else's addon, but I want to know how
> to do it myself. And I'm surprised that more people don't want to do this
> as well.

  To me it suffices to know how it does it. I don't have any special
interest in duplicating the work myself.

  Knowing how things work internally is important. If you know how it works,
you know if it's appropriate for certain tasks (eg. performace-wise) and
if problems arise (eg. artifacts in rendering) you will probably have a good
idea about why they happen, and perhaps even an idea how to solve them.
  If you don't have the slightest idea about how it works internally, then
you could use it in the wrong way (eg. too inefficiently) and if problems
arise you will probably not know what to do.

  However, knowing how it works and implementing it are two different things.
I usually am not interested in the latter.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Ron Parker
Subject: Re: Lens flares without third party addons
Date: 7 Aug 2002 10:19:22
Message: <slrnal2b3f.7et.ron.parker@fwi.com>
On 6 Aug 2002 18:55:31 -0400, Warp wrote:
>   However, knowing how it works and implementing it are two different things.
> I usually am not interested in the latter.

This from the guy who wrote his own raytracer in SDL.

-- 
#macro R(P)z+_(P)_(P)_(P+1)_(P+1)+z#end#macro Q(C,T)bicubic_patch{type 1u_steps
6v_steps 6R(1)R(3)R(5)R(7)pigment{rgb z}}#end#macro _(Y)#local X=asc(substr(C,Y
,1))-65;<T+mod(X,4)div(X,4)9>-2#end#macro O(T)Q("ABEFUQWS",T)Q("WSXTLOJN",T)#
end O(0)O(3)Q("JNKLCGCD",0)light_source{x 1}// ron### [at] povrayorg


Post a reply to this message

From: Warp
Subject: Re: Lens flares without third party addons
Date: 7 Aug 2002 10:40:25
Message: <3d513159@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
>>   However, knowing how it works and implementing it are two different things.
>> I usually am not interested in the latter.

> This from the guy who wrote his own raytracer in SDL.

  Note that I used the word "usually". :)

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Rohan Bernett
Subject: Re: Lens flares without third party addons
Date: 8 Aug 2002 02:15:09
Message: <web.3d520bdea8096802d02c7b870@news.povray.org>
>The thing about previous work by others is that it's often much more
>detailed than what you might be doing yourself for just one scene file. I
>wasn't sure if you were talking about the creation of a new lens flare
>include having multifunctionality or simply a single instance of a lens
>flare of a particular design (pattern).

Fidel viegas sent me this email:
==
>Why not grab a copy of an existing one and study the code?
>In that way you would learn how it works and how to implement your own. Who
>knows if you can improve it by making it more efficient?

>Anyway, good luck with that.

>Fidel.
==

I tried downloading a couple of ready made addons (NKFlare and Chris
Colefax's), but the problem with trying to study the code for them, is that
they seem to be incomprehensable. I can't seem to see how they work at all!

If I could find out how to make it myself, These MIGHT be less
incomprehensable.

Rohan _e_ii


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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