Marco Musy

Results 216 comments of Marco Musy

Use `settings.useParallelProjection=True`

I guess this is what you mean... (right-click and drag to see it changing).. but I only went this far in implementing it.. ```python import vtk from vedo import *...

> what are the issues? many :) - the wheel does not trigger an interaction - the mapper seems to render badly the polygonal text - merging the polydatas is...

Only after 2 years... there it is :) ```python from vedo import settings, Cube, Plotter settings.useParallelProjection = True cube = Cube().alpha(0.2) plt = Plotter(size=(900,600), axes=dict(xtitle='x (um)')) plt.addScaleIndicator(units='um', c='b4') plt.show(cube, "Scale...

Sure, sounds a nice idea! I couldn't find how to control size though: ```python import vtk from vedo import * s = Sphere() logpic = Picture("https://user-images.githubusercontent.com/32848391/110343974-530a4e00-802d-11eb-88c0-129753028ff9.png") # logpic = Picture("https://upload.wikimedia.org/wikipedia/commons/thumb/7/76/Visualization_Toolkit_logo.svg/1200px-Visualization_Toolkit_logo.svg.png")...

Oh I think I found it....: ```python import vtk from vedo import * pos = (0.05,0.05) scale = 0.2 logpic = Picture("https://user-images.githubusercontent.com/32848391/110343974-530a4e00-802d-11eb-88c0-129753028ff9.png") plotter = Plotter() imagemapper = vtk.vtkImageMapper() imagemapper.SetInputData(logpic._data) imagemapper.SetColorWindow(255)...

uhm.. still doesnt work very well if I put eg. `pos = (0.75,0.05)`, it looks streched PS: I was thinking maybe it would be cool to have it like a...

yes... very confusing! :( moreover the actor2d aspect ratio is not maintained when resizing the window manually

Hi, thanks for reporting.. that is a bit strange can you share some code and/or dataset?

Should now work: `pip install -U git+https://github.com/marcomusy/vedo.git` `lego = volume.legosurface(vmin=0.5, vmax=1.5, boundary=True)` ![Screenshot from 2021-12-01 20-26-54](https://user-images.githubusercontent.com/32848391/144300451-cccb7d93-56fa-4f50-8acb-31d9bfaa507c.png)