Algorithms

Moderators: None (Apply to moderate this forum)
Number of threads: 384
Number of posts: 762

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
getting texture coordinates Posted by cignox1 on 24 Feb 2003 at 9:27 AM
Hi,
I'm writing a ray tracing-engine. Now I need to calculate the texture (x, y) coordinates starting from the UV coordinates (of the triangular polygon), the (x,y,z) intersection point between eye-ray and polygon and the size of the texture (it's not a procedural one).
I know that there exist an algorithm that consists in resolving a linear equation system, but I have no good skills in these things
Is there some other algorithm? Or does someone know some web tutorial/document that describes this one?
Thank you




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.