Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: NevilleKemp

26. May 2012, 06:53:54 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)view setting problem
Pages: [1]
Print
Author Topic: view setting problem  (Read 142 times)
lonesomeStranger
Becoming dependent
**
Offline Offline

Posts: 111

197432680
View Profile
« on: 12. December 2011, 04:05:20 pm »

Hi Marvin,

I tried to apply lookat() to a model. The model contains TransformGroup (as main group) having scale=0.01 and Shape3d.
Shape is visible only if view focus=local bounds center and eye position=bounds and rendered with the scale.
I found no way how to display shape to full view.

Could you please tell how to set the view in above case.
Logged

Anton
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 12. December 2011, 04:46:37 pm »

You'll need two nested TransformGroups. lookAt() will overwrite any previous transform in this group.
Logged
lonesomeStranger
Becoming dependent
**
Offline Offline

Posts: 111

197432680
View Profile
« Reply #2 on: 13. December 2011, 05:25:47 pm »

I'm afraid we're talking about different things Smiley .
I meant View.lookAt().
Logged

Anton
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #3 on: 13. December 2011, 11:28:50 pm »

Yeah, it's the same thing there.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic