GithubHelp home page GithubHelp logo

Comments (4)

deeplook avatar deeplook commented on August 26, 2024 1

Hi! No, I didn't, sorry. I guess it wasn't clear to me either. I remember I was asking some questions as issues in https://github.com/maartenbreddels/ipyvolume, but was left with the impression that it is no longer much maintained. There is this gitter which you might consult instead, maybe: https://gitter.im/maartenbreddels/ipyvolume. If you get it working or any response at all please let me know.

from spheromones.

grburgess avatar grburgess commented on August 26, 2024

I found a non-ideal workaround. Instead of using the textures, I just use the RGB values directly and plot them. This uses a massive amount of memory.

First I store the images precomputed on a sphere in HDF5:

https://github.com/grburgess/gbmgeometry/blob/master/gbmgeometry/utils/file_converters.py#L86

then I have a class for plotting.animating spheres:

https://github.com/grburgess/gbmgeometry/blob/master/gbmgeometry/geometry/sphere.py#L11

It works well, but if you want to save the widgets for docs or animate the objects with images... you need a super computer and a GBs of space.

from spheromones.

grburgess avatar grburgess commented on August 26, 2024

Actually... I have now solved it!

The trick was learning what these UV mappings were.
So, the above links have changed:

https://github.com/grburgess/gbmgeometry/blob/master/gbmgeometry/geometry/sphere.py#L74

from spheromones.

deeplook avatar deeplook commented on August 26, 2024

Done with #5. Thanks!

from spheromones.

Related Issues (2)

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.