How create coordinates system in vispy canvas

91 views
Skip to first unread message

manoj perera

unread,
Oct 26, 2019, 3:59:53 AM10/26/19
to vispy
I need to create 3D coordinates system in vispy canvas.how do that?
Also i need move object for a given coordinate.How can i archieve this?

Kai Mühlbauer

unread,
Oct 26, 2019, 4:05:26 AM10/26/19
to vi...@googlegroups.com
Hi Manoj,

Can you be a bit more specific what you want to achieve?

IIUC you want to display a 3D object (what kind? eg mesh, box). And you
want to move that object. How did you want to do this? Does this needs
user interaction of some kind, eg. picking the wanted object and
dragging around?

Did you already have a look at the many examples provided within vispy
github repo? If so, which one comes closest to your design idea?

Cheers,
Kai


Am 26.10.19 um 09:59 schrieb manoj perera:
> I need to create 3D coordinates system in vispy canvas.how do that?
> Also i need move object for a given coordinate.How can i archieve this?
>
> --
> You received this message because you are subscribed to the Google
> Groups "vispy" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to vispy+un...@googlegroups.com
> <mailto:vispy+un...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/vispy/3af8794e-c3ea-4f1c-9c04-394f4e41f2c5%40googlegroups.com
> <https://groups.google.com/d/msgid/vispy/3af8794e-c3ea-4f1c-9c04-394f4e41f2c5%40googlegroups.com?utm_medium=email&utm_source=footer>.

manoj perera

unread,
Oct 26, 2019, 5:43:55 AM10/26/19
to vispy
Sir, i want to create cone type object and move it along the real time auto updated data(updated data is Cartesian coordinates) 

Kai Mühlbauer

unread,
Oct 26, 2019, 7:14:10 AM10/26/19
to vi...@googlegroups.com
Manoj,

you have several possibilities to crate some cone-like object. Most
obvious is using Meshvisual (or some of the derived Visuals). You might
start with a Sphere just to see, if it will work in genera (like in this
example:
https://github.com/vispy/vispy/blob/master/examples/basics/scene/sphere.py.

You could move the Sphere/Visual by adjusting it's `transform` using eg.
a `STTransform` which can move the object around.

HTH,
Kai

Am 26.10.19 um 11:43 schrieb manoj perera:
> --
> You received this message because you are subscribed to the Google
> Groups "vispy" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to vispy+un...@googlegroups.com
> <mailto:vispy+un...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/vispy/9b80aa0c-98b4-4049-86c0-93f188586baf%40googlegroups.com
> <https://groups.google.com/d/msgid/vispy/9b80aa0c-98b4-4049-86c0-93f188586baf%40googlegroups.com?utm_medium=email&utm_source=footer>.

manoj perera

unread,
Oct 27, 2019, 8:59:29 AM10/27/19
to vispy
Sir,so much thank for your great knowledge


On Saturday, October 26, 2019 at 4:44:10 PM UTC+5:30, Kai Mühlbauer wrote:
Manoj,

you have several possibilities to crate some cone-like object. Most
obvious is using Meshvisual (or some of the derived Visuals). You might
start with a Sphere just to see, if it will work in genera (like in this
example:
https://github.com/vispy/vispy/blob/master/examples/basics/scene/sphere.py.

You could move the Sphere/Visual by adjusting it's `transform` using eg.
a `STTransform` which can move the object around.

HTH,
Kai

Am 26.10.19 um 11:43 schrieb manoj perera:
> Sir, i want to create cone type object and move it along the real time
> auto updated data(updated data is Cartesian coordinates)
>
> On Saturday, October 26, 2019 at 1:29:53 PM UTC+5:30, manoj perera wrote:
>
>     I need to create 3D coordinates system in vispy canvas.how do that?
>     Also i need move object for a given coordinate.How can i archieve this?
>
> --
> You received this message because you are subscribed to the Google
> Groups "vispy" group.
> To unsubscribe from this group and stop receiving emails from it, send
Reply all
Reply to author
Forward
0 new messages