From: Marcus on 23 Mar 2010 15:23 Hello, in the Simulink-Demos there is an example how to create a HUD-Text in vrml (with the v-Realm-Builder). What I want to know is, is it possible to create a HUD-Animation? I want to do the animation the same way like I create a vrml scene. Stricty speaking, I want to simulate vehicle dynamics with the tachometer as a HUD. Does anybody has an idea how to realize it? Thank you for your help.
From: Marcus on 24 Mar 2010 03:18 "Marcus " <mawalter(a)rhrk.uni-kl.de> wrote in message <hob4fa$e46$1(a)fred.mathworks.com>... > Hello, > > in the Simulink-Demos there is an example how to create a HUD-Text in vrml (with the v-Realm-Builder). What I want to know is, is it possible to create a HUD-Animation? > I want to do the animation the same way like I create a vrml scene. Stricty speaking, I want to simulate vehicle dynamics with the tachometer as a HUD. > Does anybody has an idea how to realize it? > > Thank you for your help. Does anybody has an idea?
From: Jan Houska on 25 Mar 2010 16:07 Hi Marcus, Marcus wrote: > in the Simulink-Demos there is an example how to create a HUD-Text in > vrml (with the v-Realm-Builder). What I want to know is, is it possible > to create a HUD-Animation? > I want to do the animation the same way like I create a vrml scene. > Stricty speaking, I want to simulate vehicle dynamics with the > tachometer as a HUD. > Does anybody has an idea how to realize it? you can start with the vrtkoff_hud world, as present in the Simulink 3D Animation demos. You will find a node named User, a node named HUDPos and some routes between these two nodes. These nodes and routes together make the HUD behave like a HUD - i.e., not to move when you navigate through the world. You would probably want to use these as they are. Then, there are children of the HUDPos node. The HUDOffset transform positions the HUD to the lower left corner and by changing its coordinates you can position it elsewhere. The children of this node define how the HUD looks like. In the example, there's a single Shape node with the geometry defined as Text. You will probably need to create or find some tachometer device and place it instead of the Shape node. There's a Clock object in the V-Realm Builder library - although not exactly a tachometer, it can perhaps serve as a base for creating one. Good Luck, Jan -- Jan Houska HUMUSOFT s.r.o. houska(a)humusoft.com Pobrezni 20 http://www.humusoft.com 186 00 Praha 8 tel: ++ 420 284 011 730 Czech Republic fax: ++ 420 284 011 740
From: Marcus on 27 Mar 2010 14:15 Thank you very much! That works perfect! Jan Houska <houska(a)humusoft.com> wrote in message <4BABC28E.6010107(a)humusoft.com>... > Hi Marcus, > > Marcus wrote: > > in the Simulink-Demos there is an example how to create a HUD-Text in > > vrml (with the v-Realm-Builder). What I want to know is, is it possible > > to create a HUD-Animation? > > I want to do the animation the same way like I create a vrml scene. > > Stricty speaking, I want to simulate vehicle dynamics with the > > tachometer as a HUD. > > Does anybody has an idea how to realize it? > > you can start with the vrtkoff_hud world, as present in the Simulink 3D > Animation demos. You will find a node named User, a node named HUDPos > and some routes between these two nodes. These nodes and routes together > make the HUD behave like a HUD - i.e., not to move when you navigate > through the world. You would probably want to use these as they are. > > Then, there are children of the HUDPos node. The HUDOffset transform > positions the HUD to the lower left corner and by changing its > coordinates you can position it elsewhere. The children of this node > define how the HUD looks like. In the example, there's a single Shape > node with the geometry defined as Text. You will probably need to create > or find some tachometer device and place it instead of the Shape node. > There's a Clock object in the V-Realm Builder library - although not > exactly a tachometer, it can perhaps serve as a base for creating one. > > Good Luck, Jan > > > -- > Jan Houska HUMUSOFT s.r.o. > houska(a)humusoft.com Pobrezni 20 > http://www.humusoft.com 186 00 Praha 8 > tel: ++ 420 284 011 730 Czech Republic > fax: ++ 420 284 011 740
|
Pages: 1 Prev: Finding the full path of an opened file Next: Reading .txt file and calculating GPA |