Git Product home page Git Product logo

Comments (5)

altineller avatar altineller commented on August 16, 2024

I have straced SoalFilm3D and:

openat(AT_FDCWD, "assets/twobubbles.txt", O_RDONLY) = 3
read(3, "scene\t\t\ttwobubbles\ntime-step\t\t0."..., 8191) = 684
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

it seems that it is crashing reading the config file. Could this be an encoding problem too?

Best Regards,
Can

from soapfilm3d.

nepluno avatar nepluno commented on August 16, 2024

The working directory should be exactly the directory containing assets. If so I'm not sure what's going on there.

You may find the config file reader at Options::parseOptionFile in SimOptions.cpp, which is a pretty standard file reading function with std::ifstream. Maybe you can print something to find which line causes the crashing?

from soapfilm3d.

altineller avatar altineller commented on August 16, 2024

If the output-png* and output-mesh* lines from each config file is removed, the program works, showing a wireframe bubble, and runs the simulation when space is pushed.

Maybe I have a library missing relating to png export? Would it compile if dependencies were missing and raise a run time error?

I also had to copy Apps directory under assets, so it stopped complaining about not find the env and PR files.

render

Also, in render mode 2 and 3, I got some black surfaces. Is this normal? I get a blank screen for render mode 1, and 1 and 4 works. (wireframe and 3d render in environment)

Best Regards,
Can

from soapfilm3d.

nepluno avatar nepluno commented on August 16, 2024

The output-png is a deprecated feature and has already been removed. Do both the output-png and output-mesh have to be removed or does only output-png need to be removed to make it work?

The render modes 2 and 3 are also supposed to be deprecated and will be removed in the future version.

from soapfilm3d.

altineller avatar altineller commented on August 16, 2024

both of them need to be removed.

from soapfilm3d.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.