Git Product home page Git Product logo

Comments (7)

BruceCherniak avatar BruceCherniak commented on May 28, 2024

Hi,

Apologies. v0.11.0 unintentionally broke backward compatibility with some scene files, while gaining new abilities to hold more camera information. There is a bugfix release v0.11.1 coming out very soon (hopefully pushed today).

The new release will not crash on these files, yet the default camera position may be reset vs previous versions of Studio. Simply load the scene, set the default camera and then re-save the scene.

from ospray_studio.

howetuft avatar howetuft commented on May 28, 2024

Hello,
Thank you for your reactivity! Please let me know when the patch is applied.
I understand that previous syntax for camera is no more supported, is it? Where can I find the documentation of the new syntax (I write an exporter)? Many thanks in advance...

from ospray_studio.

BruceCherniak avatar BruceCherniak commented on May 28, 2024

Hi,

Until I can get the v0.11.1 release out, I have edited your .sg file (attached) to make it compatible with the new format. To do this, I have simply replaced the "camera" object of your file with one of the new format. This will work in the v0.11.0 release.

In general, the camera is now specified by a single (more standard) CameraToWorld affine transform, rather than the centerTranslation, rotation, and translation.

Better documentation and more features are forthcoming, but this hopefully gets you back up and running same as before.

Project.sg.txt

from ospray_studio.

howetuft avatar howetuft commented on May 28, 2024

Thank you, I'll modify my exporter accordingly!

from ospray_studio.

BruceCherniak avatar BruceCherniak commented on May 28, 2024

Does this resolve your issue?

Also, please note that the bugfix release v0.11.1 was just posted (https://github.com/ospray/ospray_studio/releases/tag/v0.11.1) to resolve issues with other .sg files you may have.

from ospray_studio.

howetuft avatar howetuft commented on May 28, 2024

Yes, thank you, I've modified my exporter and now it seems to work!

(though I've got another error with sunSky light now, but I'll open a dedicated ticket later)

from ospray_studio.

BruceCherniak avatar BruceCherniak commented on May 28, 2024

Glad we were able to get that resolved quickly.

Is the sunSky now too bright, by any chance? If so, please note that default intensity is now 0.025, per the change in OSPRay v2.6.0 (https://github.com/ospray/ospray/releases/tag/v2.6.0). If it's something else, I'm happy to help on a new dedicated ticket.

from ospray_studio.

Related Issues (20)

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.