Thread

Know a Little Math? (Sdk)

Know a Little Math? // Sdk

1  |  

percipient

Jan 22, 2003, 6:29pm
I am in need of two formulae. One to convert the directional light
source's x, y, z vector into spherical (azimuth and elevation) numbers.
The other formula is the reverse.

My math skills are a bit... lacking, so could you please give me
step-by-step instructions, preferably. Thanks.

I'm using C++, if someone has a code snippet to share. I could also
probably read a snippet in other programming languages as well, if need
be.

Thank you for your help,
Percipient.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 01/10/2003

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn