POV-Ray : Newsgroups : povray.general : Light source inside object/CSG warnings? : Re: Light source inside object/CSG warnings? Server Time
10 Aug 2024 03:24:46 EDT (-0400)
  Re: Light source inside object/CSG warnings?  
From: PoD
Date: 20 Mar 2000 19:24:43
Message: <38D6C8B0.73A9C56E@merlin.net.au>
Steve wrote:
> 
> I've got an object and I want a lightsource inside it,

You could try
light_source{
  <0,0,0>
  rgb 0.5
  looks_like{ some_object }
  }

This effectively makes a union of the light_source and the object.

PoD.


Post a reply to this message

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