|
-
Apr 14th, 2003, 09:51 PM
#1
Thread Starter
Fanatic Member
Question about Lights
Hi,
The D3DLIGHT_DIRECTIONAL means that it is directional.
it has only a direction but no position ..
I am unable to figure it out..
Can anybody tell me what is the best way..
I have objects at
Planet at -15, 0, 20
Planet at 0, -10, -100
Space Ship at 0, 3, 45
I want them to be visibily bright...
In 3d MAX if you make a directional light then you can position it.. why not here..
Thanks,
Pradeep
-
Apr 14th, 2003, 10:17 PM
#2
Frenzied Member
Directional lights do not need a position. Every object that is rendered is lit in a uniform direction, regardless of where it is in the scene. The main use would be to simulate sunlight.
Directional lights are cheaper then point lights, as a vector between the light position and the vertex to be lit position does not have to be calculated. The direction vector of the directional light is used instead.
Z.
-
Apr 14th, 2003, 11:46 PM
#3
Thread Starter
Fanatic Member
Hi Zaei
Tell me how to light my world..
What is the best ambient color to simulate space..
i have already mentioned the coordinates.
Please tell me what lights to be placed where?.
Thanks,
Pradeep
-
Apr 15th, 2003, 12:57 AM
#4
Frenzied Member
Just play until you find something that looks right.
Z.
-
Apr 15th, 2003, 01:00 AM
#5
Thread Starter
Fanatic Member
Hi
Yeah.
I have done it.. The problem was...
I dint enable light after setting up the light...
Thanks
Pradeep
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|