POV-Ray : Newsgroups : povray.binaries.animations : irtc early WIP (~550k mpeg1) Server Time
19 Jul 2024 07:17:53 EDT (-0400)
  irtc early WIP (~550k mpeg1) (Message 1 to 5 of 5)  
From: Tek
Subject: irtc early WIP (~550k mpeg1)
Date: 8 Aug 2003 20:41:19
Message: <3f34432f@news.povray.org>
It's gone a little quite on this newsgroup so I thought I'd post this.

It's a test of a few techniques I'm working on for an IRTC entry: Firstly,
making a section of road that follows a spline (thanks to Gille's ExtrudeSpline
macro). Secondly, moving the camera relative to a path along that spline.
Thirdly a test of the colour palette I'm developing for the piece. And finally
trying out the light glows trick that Alex Klutchikov used in his "really hot
thing" image on p.b.i (where the camera is actually looking at a reflection of
the scene, in a surface with a specular component that causes glows areound
light sources.

I've set up a short bit of code to position the camera and mirror for the glows
just given a camera position and look at point, I'll post the source for that
(or anything else) if anyone's interested. Oh and it flips the camera so you
don't get a reversed image.

The objects at the start are just a few placeholders for traffic, though
obviously there's still rather a lot of work to do!

Now all I need to do is get my bike driving through there...

-- 
Tek
http://www.evilsuperbrain.com


Post a reply to this message


Attachments:
Download 'curve test000.m1v.mpg' (559 KB)

From: Slime
Subject: Re: irtc early WIP (~550k mpeg1)
Date: 9 Aug 2003 00:54:47
Message: <3f347e97$1@news.povray.org>
That's really cool.

 - Slime
 [ http://www.slimeland.com ]


Post a reply to this message

From: Ben Udall
Subject: Re: irtc early WIP (~550k mpeg1)
Date: 10 Aug 2003 23:47:46
Message: <3f3711e2$1@news.povray.org>
Camera motion looks really nice.  I'll be eager to see what the final 
animation looks like.

-Ben


Post a reply to this message

From: Hugo Asm
Subject: Re: irtc early WIP (~550k mpeg1)
Date: 14 Aug 2003 06:21:26
Message: <3f3b62a6@news.povray.org>
Great, mighty glows!  :o) Smooth movement.. really nice. Perhaps I should
read the thread from "really hot thing".

Regards,
Hugo


Post a reply to this message

From: Tek
Subject: Re: irtc early WIP (~550k mpeg1)
Date: 14 Aug 2003 16:54:26
Message: <3f3bf702$1@news.povray.org>
"Hugo Asm" <hua### [at] post3teledk> wrote in message
news:3f3b62a6@news.povray.org...
> Great, mighty glows!  :o) Smooth movement.. really nice. Perhaps I should
> read the thread from "really hot thing".

It's pretty simple really, here's the code I use to put glows on the lights:


#include "transforms.inc"

//set the camera position and location
#declare vCamPos  = <0,1.5,0>;
#declare vCamLook = <0,0,20>;

//place the camera so that the mirror image will appear to be from the desired
position.
#declare vMirrorPos = vCamPos + vnormalize(vCamLook-vCamPos)*.001;
camera {
 right   x*image_width/image_height
 up    y
 direction -z*.7 //use -ve z, to compensate for reversal in the mirror

 location vMirrorPos-(vCamPos-vMirrorPos)
 look_at vMirrorPos
}

//the mirror
disc {
 0, -z, .002

 texture {
  pigment { rgb 0 }
  finish {
   reflection 1    //reflection, to show the image
   specular 3 roughness .005    //highlights, to give glows on lights
  }
 }

 Reorient_Trans( -z, (vCamLook-vCamPos)*<1,0,1> )
 Reorient_Trans( (vCamLook-vCamPos)*<1,0,1>, vCamLook-vCamPos )

 translate vMirrorPos
}


-- 
Tek
http://www.evilsuperbrain.com


Post a reply to this message

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