Thread Subject: Matlab Virtual Reality Toolbox - speed? / several other questions

Subject: Matlab Virtual Reality Toolbox - speed? / several other questions

From: Alexander

Date: 28 Apr, 2009 20:23:01

Message: 1 of 3

Hello,

I have become aware of the Matlab Virtual Reality Toolbox, but I am currently having some problems running it on Linux. Nevertheless, I have several general questions about the toolbox.

- How fast is it? A project I am currently working on is implementing several rather simple models in a 3D environment and rotating them with numerical solutions of differential equations. Would VReality be fast enough for a realtime simulation? Is it much slower than let's say OpenGL?

- Do I necessarily have to use Simulink to communicate with the VReality toolbox? I find solutions of differential equations using e.g. ode45, so I don't use Simulink.

- Once my simulation is ready, what can I do with it? Can the toolbox export to any popular formats which might be used by other well-known applications (maybe CAD, Maya...)?

Alexander

Subject: Matlab Virtual Reality Toolbox - speed? / several other questions

From: Jan Houska

Date: 29 Apr, 2009 06:43:16

Message: 2 of 3

Hi Alexander,

Alexander wrote:
> Hello,
>
> I have become aware of the Matlab Virtual Reality Toolbox, but I am currently having some problems running it on Linux. Nevertheless, I have several general questions about the toolbox.
>
> - How fast is it? A project I am currently working on is implementing several rather simple models in a 3D environment and rotating them with numerical solutions of differential equations. Would VReality be fast enough for a realtime simulation? Is it much slower than let's say OpenGL?
>
> - Do I necessarily have to use Simulink to communicate with the VReality toolbox? I find solutions of differential equations using e.g. ode45, so I don't use Simulink.
>
> - Once my simulation is ready, what can I do with it? Can the toolbox export to any popular formats which might be used by other well-known applications (maybe CAD, Maya...)?

The Virtual Reality Toolbox (now renamed to Simulink 3D Animation) uses
OpenGL for rendering. There is indeed some overhead caused by parsing
the VRML files and transferring values from/to MATLAB, but that overhead
is not big and generally the speed is comparable with OpenGL. Having a
hardware-accelerated OpenGL graphics driver definitely helps performance
substantially. As to real-time simulation - that depends on the
complexity of your virtual world and the frame rate you want to achieve.
It cannot be answered without knowing how complex worlds you plan to
animate.

The command-line interface allows you to fully control your virtual
world from MATLAB programs. So you do not necessarily have to use
Simulink, but you do lose some comfort without using it.

Simulink 3D Animation uses VRML as the format of its virtual worlds.
This is an ISO standard and is supported by many CAD and animation
software, although the level of the support in individual programs will
of course vary.

Good Luck, Jan


--
Jan Houska HUMUSOFT s.r.o.
houska@humusoft.com Pobrezni 20
http://www.humusoft.com 186 00 Praha 8
tel: ++ 420 284 011 730 Czech Republic
fax: ++ 420 284 011 740

Subject: Matlab Virtual Reality Toolbox - speed? / several other questions

From: Alexander Erlich

Date: 30 Apr, 2009 21:18:39

Message: 3 of 3

Thanks Jan!

That's very helpful to know.

Alexander

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com