≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
camera space to word space
Posted by:
(you are not logged in)
Enter the missing letter in: "Internationa?"
(you are not logged in)
Text:
[quote][b]cosmo[/b] wrote: Hi, sorry for maybe a stupid question. How to convert vector, for example (0,1,0), from camera space to word space ? I have tried several options and nothing really works. For example, when I target camera at (0,1,0) [code]cam.setTarget(new CL3D.Vect3d(0, 1, 0));[/code] and use inverted ViewMatrix [code]var m = cam.ViewMatrix; m.makeInverse(); var result = m.getTransformedVect(new CL3D.Vect3d(0,1,0));[/code] I get result = (0, 0.1, 1) instead of (0,0,-1)[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact