← Back to team overview

yade-users team mailing list archive

Re: 3d view output

 

Dear Vaclav,
I know how to solve the problem now. I just need to reset scene center to
median body  position by press the Key combination: ALT + C. I wonder if we
can make some modifications to the scripts to let the view set the scene
center automatically? What's more, I also want to know how to zoom the view
automatically by adding some codes in GLViewer.cpp file? For instance, I
want my model always be shown in the same size as the view.

Cheers,
Tao

2010/11/26 Václav Šmilauer <eu@xxxxxxxx>

>
>  However, I also met a problem that if I close the Primary view during
>> the simulation I cannot  get the complete view again. For instance, there
>> is
>> no particles and boxes in the Primary view. I do not know how to fix it.
>> Do you have any idea about that?
>>
> Does it happen only with qt.SnapshotEngine, or in general? In either case,
> the best would be to file a bug, otherwise I will forget. I guess perhaps
> that a reference (shared_ptr) to the 3d closed view is still kept somewhere,
> prventing the other view from working properly.
>
> Cheers, václav
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Tao Zhao
Department of Engineering Science, Parks Road, Oxford, OX1 3PJ
University of Oxford, United Kingdom
Tel: (0044) 07587493495
E-mail: tao.zhao@xxxxxxxxxxxx OR aaronztaoox@xxxxxxxxx
 <06zhaotao@xxxxxxxxxxxxx>

Follow ups

References