Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VETScript    3d Instance and LayerData prospective
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
rik
Member
Posted
Hi,

I change the camera z scale to change the prospective of a camera view.

After the change:
All 3D Instance are in a correct prospective view but the LayerData have an incorrect position.

any idea?

thank you in advance
 
Posts: 34 | Registered: March 17, 2003Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
Hi Rik !!

What would you excatly mean by incorrect position??? Have any printscreen to illustrate what you see?


Cheers,

Anup
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
rik
Member
Posted Hide Post
hi e_phoenix13 !!,

I've developed an interior design configurator where when you click on an instance the bounding box will show and, at the corners, placed the handles (jpg in layerData )

I've attached 2 images where:

in the first the z scale of camera is set to 1 and you can see the handles of bounding box in right position.

in the second image the camera z scale is set to 2 and you can see that the handles (LayerData) have an incorrect position.

All layer data is showed with an incorrect Matrix Scale

I hop this can explain the problem

thank you in advance

Zip/GZ archiveLayerData_bug.zip (99 KB, 19 downloads) images
 
Posts: 34 | Registered: March 17, 2003Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
Hi !!

Thanx for the illustrations. I understand your issue. Any LayerData is a 2D layer over the 3D scene. The Z scale of the camera is a 3-Dimensional property of the camera. Changing that will not affect the LayerData as it will affect the 3D scene. Hence the difference.

I would suggest that you create a 3D plane with transparency and position it where required. This should solve your problem.

Hope this helps.


Cheers,

Anup
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VETScript    3d Instance and LayerData prospective