[vtkusers] The light of the vtkCamera

Farshid Dehmeshki farshid.dehmeshki at medicsight.com
Mon Feb 3 12:35:13 EST 2003


put a light on the same position as camera and move it with camera (there are some functions for this in vtklight).


*******************************
Farshid  Dehmeshki
Software Engineer 
Medicsight Plc
46 Berkeley Square
London
W1J 5AT
Tel : 020 7598 4074
Fax: 020 7598 4071
Email : farshid.dehmeshki at medicsight.com
Web Site : www.medicsight.com
*******************************
 
The contents of this e-mail are intended for the named addressee only. It contains information which may be confidential and which may also be privileged. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use it, or disclose it to anyone 
else. If you received it in error please notify us immediately and then destroy it. Further, we make every effort to keep our network free from viruses. However, you do need to verify that this email and any attachments are free of viruses as we can take no responsibility for any computer virus which might be transferred by way of this e-mail.



-----Original Message-----
From: Chunyan Jiang [mailto:jiang at Telematik-Institut.de]
Sent: Monday, February 03, 2003 5:14 PM
To: VTK-User
Subject: [vtkusers] The light of the vtkCamera




Dear all,
I set the camera as:
  Camera = vtkCamera::New();
  Camera->SetPosition(0,0,-100  );
  Camera->SetFocalPoint( 0,0,0 );
  Camera->SetThickness(2000);
  Camera->Dolly(0.15);

And I use this Camera to render the 3d object. When I rotate the object,
some time, I find the light is very dark. I almost can not see the detail of
the object. How can I set the camera or the light, so that the side of the
object towards the viewer is always bright?
Any help is appreciated!

Chunyan

***********************************************************************
Chunyan Jiang, Dipl.-Inform.,
Institut for Telematic
Bahnhofstrasse 30-32, D-54292 Trier, Germany
Phone: (+49) (0)651-97551-34
Fax: (+49) (0)651-97551-12
***********************************************************************

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers

_____________________________________________________________________
This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com



More information about the vtkusers mailing list