POV-Ray : Newsgroups : povray.newusers : Use as scenario for car lighting analising : Re: Use as scenario for car lighting analising Server Time
4 Nov 2024 17:42:14 EST (-0500)
  Re: Use as scenario for car lighting analising  
From: Nekar Xenos
Date: 14 Feb 2002 01:28:47
Message: <3c6b591f@news.povray.org>
I'm not exactly sure what you are looking for, but I think you would need to use
photons for that. If you're looking for a scene with a car that has useable
headlamps, you might want to try the car I posted to
http://news.povray.org/povray.binaries.scene-files/22093/ . You will need to
change the following line of code to see the head-lights on:

You will need these files:
'NekCar_F15.pov' (14 KB)
'Car_F15.inc' (79 KB)

Then in 'NekCar_F15.pov' in the following lines :
#if (Views=1)
        CarF15 (1, y*-50 , <1.5,1.2,15>, -20,0,1)     // main  REM : CarF15 (1,
y*-50 , <1.5,1.2,15>, -20)
#end

make this change:
CarF15 (1, y*-50 , <1.5,1.2,15>, -20,1,1)

then render with +qr in the command-line.

Note: you will need some patience with the rendering... ;)

--
#local X=20*<-2,2,5>;#local K=2*z*X-X;#local R=seed(frame_number);blob{#while(K
.x>X.x)#local N=X+<rand(R)rand(R)1>/3;#local X=(vlength(N-K)<vlength(X-K)?N:2*X
-N);sphere{X,1,1rotate z*90}sphere{X,1,1}#end pigment{rgbt 1}interior{media{
emission<2,4,5>*5}}hollow scale.05}//   http://nekar_xenos.tripod.com/metanoia/
sphere_sweep{catmull_rom_spline 6<-8,-8>1<-8,-8>1<-8,8>1<8,-8>1<8,8>1<8,8>1
translate 20*z pigment{gradient z scale 3color_map{[0rgb<0,9,18>][1rgb 0]}}}
"Claudio Lerici" <cla### [at] laresorg> wrote in message
news:3c6a97ac$1@news.povray.org...
> Hi everyone,
>
> My needing is to use a ray tracing as simulation program of the scenario of
> road and object illuminated from car headlamps.
>
> I produce photometric measurement machines and can measure the map of
> illumination of an headlamp. The needing is to use the map as imput of a
> scenario program.
>
> Can Pov-Ray help me in this task?
>
>
>
> Regards
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.323 / Virus Database: 180 - Release Date: 2002/02/08


Post a reply to this message

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