[vtkusers] A Light Emiting Object

Moreland, Kenneth kmorel at sandia.gov
Mon Sep 25 15:21:53 EDT 2006


I think creating a vtkLight at the appropriate position and making the cone angle 180 or greater will create the light you are looking for.  Of course, you will have to add any geometry representing the light (e.g. a big yellow ball representing the sun) separately.

-Ken

> -----Original Message-----
> From: vtkusers-bounces+kmorel=sandia.gov at vtk.org [mailto:vtkusers-
> bounces+kmorel=sandia.gov at vtk.org] On Behalf Of Lucas Nunes
> Sent: Friday, September 22, 2006 4:22 PM
> To: vtkusers at vtk.org
> Subject: [vtkusers] A Light Emiting Object
> 
> Hello! I'm new to VTK and I have a question: is it
> possible to make an object to emit light in all
> diretions, like the sun? I'm trying to create a solar
> system model (I'm a colledge student), and the
> examples I've looked didn't have something that I
> could use to implement this.
> If it is not possible, then there is someway to
> "simulate" the sunlight? It has to be light spreading
> in all directions.
> Thanks for any ideas!
> 
> Lucas Dutra Nunes
> "All your base are belong to us!"
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________________
> Você quer respostas para suas perguntas? Ou você sabe muito e quer
> compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
> http://br.answers.yahoo.com/
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list