Possible to use custom node images?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
mbb
Posts: 209
Joined: Mon Oct 19, 2009 11:42 pm

Possible to use custom node images?

Post by mbb » Sat Mar 10, 2018 8:16 am

I would like to modify the default "node images" generated by Pano2VR, which it uses for hotspot previews, thumbnail cloners etc.

Problem is that if I make changes to them after they are generated, they just get overwritten again by Pano2VR default generated previews.

Is it possible to use customized preview images within the skin framework (programmatically)?

User avatar
360Texas
Moderator
Posts: 3321
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Re: Possible to use custom node images?

Post by 360Texas » Sat Mar 10, 2018 3:08 pm

Just guessing here: While the skin is open, are you saving your skin with the node image component top left FILE SAVE AS to the "User Defined" Skin folder ? Might need to change the path to be located:

You can click the blue folder icon to the right of the Output SKIN field to change the folder path
C:\Users\xxxx\AppData\Roaming\GardenGnomeSoftware\SkinComponents\User Defined
Then generate the /output .

And not to the default path going to the "Built-in" Skin Components .
C:\Users\xxxx\AppData\Roaming\GardenGnomeSoftware\SkinComponents\Built-in
Then be sure to save the project .p2vr and now the project will reuse your skin in the user defined folder
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com

mbb
Posts: 209
Joined: Mon Oct 19, 2009 11:42 pm

Re: Possible to use custom node images?

Post by mbb » Sat Mar 10, 2018 6:37 pm

No I am not referring to the skin elements, I am referring to the "node images" that are generated by Pano2VR and saved in output/images/preview_nodeimage_01.png, preview_nodeimage_02.png, thumbnail_nodeimage_01.png etc

These are the files I wish to modify, but Pano2VR overwrites these with newly generated ones every time the tour is rebuilt.

User avatar
Hopki
Gnome
Posts: 9141
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Possible to use custom node images?

Post by Hopki » Sat Mar 10, 2018 10:27 pm

Hi,
How are you editing them.
I opened them in Photoshop and edited and saved.
They have not been over written.
Regards,
Hopki

mbb
Posts: 209
Joined: Mon Oct 19, 2009 11:42 pm

Re: Possible to use custom node images?

Post by mbb » Sat Mar 10, 2018 11:46 pm

I am opening the files in photoshop and editing them. As soon as I make changes to the skin and rebuild the tour all the node previews get overwritten again.

mbb
Posts: 209
Joined: Mon Oct 19, 2009 11:42 pm

Re: Possible to use custom node images?

Post by mbb » Sun Mar 11, 2018 12:08 am

Ok- so apparently they get over written if I crop them. Which is exactly what I was doing, as I wanted square previews instead of the rectangular ones that Pano2VR was creating.

I have seen now that changing the aspect ratio of the "node image" element in the skin will do what I need. This was not intuitive because the grey-scale placeholder image used for the "node image" skin element shows it being "stretched" which is what I thought it was doing to the images so I did not see that as an option.

Glad to have figured this out.. Perhaps a change in that placeholder preview would be in order? In addition to more detailed documentation, as the "cropping" or FOV functionality of this element is not mentioned?

Capture.JPG
Capture.JPG (48.32 KiB) Viewed 606 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest