question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Saving actor to .obj

See original GitHub issue

Sorry again Marco, I’m having problems saving meshes to .obj.

I’ve created a mesh with volume.isosurface and saved it as either .obj or .vtk, then just loaded the files and rendered:

obj = load('test.obj').c('red')
vtk = load('test.vtk').x(500).c('green')

show(obj, vtk)

The result is this:

image

Any idea about what could be going wrong?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
FedeClaudicommented, May 6, 2020

hey sorry for the deleted comment, as you pointed out in https://github.com/marcomusy/vtkplotter/issues/120 I hadn’t correctly updated from the master.

It now works perfectly, thank you so much!

0reactions
marcomusycommented, May 6, 2020

…it was a bit painful but i could eventually find the bug… i just ushed a version with the fix. Note that the obj does not store scalars, only the mesh.

ps: the points in your dump are not added repeatedly… they 're just in the same yz plane… i got confused by that to…

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do i save actors? - Blueprint - Unreal Engine Forums
i want to save actors that spawned in game in after i close the game like you can save vars i want him...
Read more >
How to export the color of actor to OBJ model by vtkOBJWriter ...
I can't export the color of an actor(without texture, only single color) to OBJ model. The mesh and geometry of OBJ model is...
Read more >
Save object to a package or asset - Gamedev Guide - ikrima.dev
Save object to a package or asset · UPackage* NewPackage = CreatePackage(nullptr, NewPackageName); · Than duplicate the existing asset so that its ...
Read more >
Save game with actors spawned during play. : r/unrealengine
I was wondering how I can save this kind of actor? ... the GameInstance that contains items holding 2 strings each (level name,...
Read more >
How to convert from a class/object to an Actor? - Greenfoot
Actor actor = addActor( this .getClass(), x, y);. // if your class is Zombie and you need the new instance type cast to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found