Google Answers Logo
View Question
 
Q: Direct3D lighting problem on flipped/mirrored objects ( No Answer,   0 Comments )
Question  
Subject: Direct3D lighting problem on flipped/mirrored objects
Category: Computers > Programming
Asked by: purpleprogrammer-ga
List Price: $100.00
Posted: 04 Oct 2006 14:14 PDT
Expires: 13 Oct 2006 07:46 PDT
Question ID: 770822
I have a Direct3D app in which I have a series of objects and their
mirrored counterparts on each side of the "world".  This app employs
some basic lighting, which involves a few settings for attenuation and
range, so the lighting is slightly varied throughout the scene.  It is
a relatively simple engine and lighting scheme.  I'm using
DrawPrimitives to draw the objects.

The unmirrored objects on one side of the scene are lit nicely.  The
falloff, range and attentuation work perfectly.  For some unknown
reason, on the mirrored side, the objects remain unlit.  The only
difference between the two objects is that a scale involving a
negative number has been applied.  Why don't the mirrored objects
light up correctly?  Is there a setting I can tweak when rendering the
mirrored objects?

Clarification of Question by purpleprogrammer-ga on 08 Oct 2006 11:36 PDT
By "mirrored" I mean the object has a negative scale factor... that's
it.  There isn't any special mirror effects or anything of that
nature.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy