Posts by Mische

    Is it possible to combine PCI and PCA? Made as a plugin;

    I would like to leave it at two individual add-ons. This way new users can test if the import works for them before they decide to use PCA.

    really nice updates for panoCamAdder and threejs I am yet to find time to really explore this as I want to. Out of curiosity (and I am guessing the answer is no but I'll ask anyways) any plans of having panocamadder for maya as well? cheers


    Thanks but I can't do that as I don't use MAYA myself.


    Best regards, Mische

    PanoCamAdder2.2

    Output of values for light hotspots (threeJS plugin)

    Works with:

    • Sunlight
    • Spotlight
    • Pointlight

    All values can be easily changed in the addon:

    A note on the intensity: Blender and threeJS calculate the intensity of the light very differently. A direct conversion is not easily possible. The output values for the intensity are therefore inaccurate and may have to be adjusted manually.

    The update is free of charge for all customers who have purchased PCA2+.
    You should have received an email. If you have not received an email, please let me know.

    Best wishes for 2025,
    Mische *smile*

    Can materials be automatically associated? Coordinates are set correctly, but textures are not;

    Yes, that works. The JSON file must be in the same folder as the images.
    Here is a screencast:

    Is there a limit on the number of characters?

    It was mistakenly limited to only 10.000 characters. Now up to 500.000 characters can be entered. I hope that will be enough.

    Best regards, Mische

    Hi!

    Schau mal hier, vielleicht hilft das ja weiter:

    Mische
    December 25, 2024 at 1:46 PM

    Beste Grüße, Mische!

    PanoCam importer (PCi)

    Blender Addon:

    PCi is a Blender Addon for generating PCA-PanoCams from JSON data.

    The values for position and rotation can be used to perform simple mathematical operations and it is possible to change the order.
    This should make it possible to create PanoCams with values from other programs.

    The PanoCams can then be used with the PanoCamAdder to output the values for krpano, for example.

    PCi JSON:

    The JSON must have the following entries:

    • pano = string (imagefile name)
    • location = [number, number, number]
    • rotation= [number, number, number]

    Example:

    PCi-JSON Converter:

    If you have image files, position and rotation data in CSV or JSON format, you can convert them into the required format using the online PCi-JSON converter.

    How it works:

    • Load in your 3D-model
    • Load JSON: Click the Load JSON button to load a PCi JSON file. The buttons for generating the PanoCams appear as soon as valid data has been loaded.
    • Degrees/Radians: In the rotation field, select whether the values are in degrees or radians.
    • Optional:
      • Change the order of the axes.
      • Calculate with the values.
    • Create PanoCam(s): You can generate individual panoramas or all at once. If the model is selected, the corresponding Pano_Material is assigned to the model. This allows you to quickly see whether the position and rotation values are correct. If a PanoCam already exists, only the position and rotation are updated for it.

    Testing:

    I have only tested the addon with Blender values so far, and of course it works as expected.

    You will probably have to find out by trial and error how to place the PanoCams appropriately based on your data..
    If you have found a way, you are welcome to share it here so that other users can also use it.

    Tips:

    • The Y and Z axes are often reversed.
    • Or the axes run in the opposite direction. Then calculate “* -1”.
    • Try +/- 90° around the vertical axis.
    • If the model has a different size, multiply or divide the position values.


    I think this is helpful for integrating panoramas, models and scans from other programs into Blender and Krpano.
    If you notice a bug or wish for another feature, please let me know!

    Get the PanoCam importer addon:

    You can get the addon from Gumroad. You can determine the price yourself (enter “0” if you want it for free).

    GUMROAD


    I wish you happy holidays and all the best for the coming year!

    Best regards, Mische! *smile*

    Hi!

    Du hast mich eine eine ältere Idee erinnert.. vielleicht können wir uns gegenseitig helfen und etwas versuchen..?

    Ich bastele gerade an einem Blender Addon.. es wäre dann also der Umweg über Blender nötig..
    Mit Hilfe einer JSON Datei können dann alle PCA PanoCams platziert werden. Danach kann mit PCA weier gearbeitet oder die krpano Werte augegeben werden.

    Benötigt wird ein Model (um zu testen ob die Panoramen richtig platziert wurden), die entsprechenden Panoramen und eine JSON Datei im folgendem Format:

    Die Reihenfolge der Koordinaten/Rotationen können dann im Addon verändert werden und es können auch mathematische Operationen mit den Werten durchgeführt werden.

    Damit müsste es dann doch möglich sein die Panoramen richtig zu plazieren.. oder?

    ..später will ich noch die Möglichkeit zwischen degrees/radians und euler/quaternion wechseln zu können einbauen.. aber dazu brauche ich erstmal Daten zum testen.. könntest du welche bereitstellen? *smile*

    xadder_icon-kl.png


    XAdder is a desktop application for inserting the values output by PanoCamAdder2.1+ into the krpano.XML scenes.

    No more long copy and paste sessions necessary!

    Just load a tour.xml and a corresponding pca.JSON file and activate a few checkboxes for the desired values..

    XAdder is for Windows only yet.. MacOS version perhaps later..

    Get XAdder on Gumroad.
    Introductory price: 15€

    More info here: https://der-mische.de/xadder/

    Thank you for the new update, it’s much appreciated. The new ‘Face Map’ feature seems quite useful.

    Thanks for the feedback, I'm glad you like it!

    Regarding the JSON files, I wonder if they could replace the print output from the Blender console. It’s a bit inconvenient to run Blender using the terminal on macOS just to use the console. If the JSON output could replace the console prints, it would be great for me.

    Yes, good idea! The output in the console could also be in a txt file or something. Is noted!

    Could you explain how to use the JSON output and when it would be most useful?

    I will soon be launching a new application: XAdder!

    XAdder is a desktop application for inserting the values output by PCA2.1 into the tour.XML.
    So the best way to use the JSON is of course to use the XAdder *wink*

    XAdder - coming soon - introduction (YouTube)

    xadder-ui-01.jpg

    PCA+2.1

    PCA_2-1_kl-1103x600.jpg

    New:

    • Auto PanoCAM naming leave the input field empty to take the name of the panorama-image
    • JSON output output every krp-value as valid JSON structured data
      • depth.JSON
      • hotspot.JSON
      • cameraview.JSON
      • polyhotspot.JSON
      • panorender.JSON
    • Protect Face Map exclude areas from the material operations to keep the current material (Blender3.6 only)
    • Fixes:
      • It was not possible to print multiple cam-values at once
      • It was not possible to print comments (blender obj.name) for hotspots and cameras
      • In rare cases, errors could have occurred during the internal renaming of the PCA names (_CAM, _HANDLE, ..)
      • sometimes wrong 'non conform scaling' warning for hotspots
      • blender2krpano did not work with CYCLES in Blender.4.

    Tutorials (YouTube):

    The update is free of charge! All PCA+2.0 customers should have already received an email.


    Best regards, Mische


    ..Stay tuned for my upcoming application, the XAdder!
    coming very soon...