[Papervision3D] Moving object via mouse draging in 3d

timbon nojunkok at gmail.com
Wed Feb 13 18:08:12 PST 2008


Exactly! That was the reason for this thread:
http://www.nabble.com/papervision-camera-formula-%28was%3A-screen-space-to-3D-space...%29-tt15363124.html
After Tim Knip suggested that his FrustumCamera3D could be the better one to
use as it seems like it better resembles a true 3D viewport camera. (It only
has one zoom (FOV) value rather than focus AND zoom) We are still waiting
for a formula for FrustumCamera3D to get the focal length from the FOV so
that we can get the perspective distortion value to apply to the pointers
X/Z values!
That way you could project the pointer into any depth you want including the
depth of a selected object so that when you drag the object it moves the
correct distance!
I wonder what will happen first - wider adoption of silverlight and hardware
accelerated 3D in WPF or a real perspective formula for a papervision camera
and hierarchy tools?
Seems like a basic thing to have.


Ritesh Jariwala wrote:
> 
> Hi Kim,
> 
> That is good example but you see. Its still not so perfect..how we going
> to
> decide that viewScale variable that you used which is 0.4
> 
> Is there any way that we can calculate that factor based on camera zoom
> and
> focus?
> 
> With Regards,
> Ritesh Jariwala
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Moving-object-via-mouse-draging-in-3d-tp15409893p15472502.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list