Seeing objects far away in 3D Simulation using the VR World in Matlab

1 visualización (últimos 30 días)
Peter Lloyd
Peter Lloyd el 1 de Jun. de 2015
Respondida: Jan Houska el 22 de Jun. de 2015
I am using the 3D simulation with Simulink where I have an image sensor on a moving platform. The model works fine except that I only get images of the objects that I am looking at displayed when they are close. How do I see images of objects that are further away?

Respuestas (3)

Sriram Narayanan
Sriram Narayanan el 2 de Jun. de 2015
You could add a viewpoint to the objects that are further away and then switch viewpoints based on what you are trying to visualize.

Peter Lloyd
Peter Lloyd el 10 de Jun. de 2015
Thank you Sriram for your answer but I need the viewpoint to be on the moving platform

Jan Houska
Jan Houska el 22 de Jun. de 2015
You can use NavigationInfo node and its visibilityLimit and avatarSize fields to adjust how near and far objects are rendered. Generally the smaller avatarSize, the nearer object you see (are not clipped). The bigger the visibilityLimit, the farther objects you see. The bigger the ratio visibilityLimit/avatarSize, the less detail you get rendered. Finding the correct values for these two is usually a trial and error exercise, and in your case I'd start with adjusting visibilityLimit first.
You can place the NavigationInfo node either at the root of your virtual world or make it a child of the same parent as your Viewpoint, depending on whether you want to act it globally or locally.

Categorías

Más información sobre Simulation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by