display jpgs etc in content library?

I have hundreds if not thousands of objects I've created and saved while working in daz...but no real way to preview them in the content library and importing won't show an images either. 
---
I can dup the object and the jpg I can create in photoshop (yes it will go through a folder of objects and create jpgs) 
I can then manual change the item.obj to iten.duf and change the image item.jpg to image.duf.jpg and it will show in the content library 
but haven't figured out how to automate that on folders full of them
saving each one as a scene subset is possilble (and I do for finals that I want easy access to) but they take a couple minutes to do the save ... again time consuming. 
but look at the image you get with your cursor over the fake.duf file

preview.jpg
2364 x 1476 - 680K

Comments

  • prixatprixat Posts: 1,588

    Would a third party 'viewer/file manager' be of use?

    https://www.senosoft.com/softp3do.php

    There is a free version. It's sees most Poser formats but also handles others like OBJ and even HDR.

  • cridgitcridgit Posts: 1,757

    A small DAZ script might work but more detail needed: what format are the objects stored in and what exactly do you want as output? Best to provide an example of both.

  • they are exported obj files and then I run ps which will create .jpgs from obj files. 
    Idealy a script would just display the jpg. 
    As I noted I can cheat by changing the extension on the obj file to duf and then renaming the and converting the jpg to a png and then changing it to duf.png
    ist pic is what the fakes look like in folder .. second is how the look in content library -- just like any daz content duf does third picture shows all the obj files (from one folder I would like to see in daz) 
    but of course they don't work because it's not a duf file but an obj file... but that's fine.. I just want to see the images of what objs are in the folder 
    ----
    daz (at this time) will only display items that are a duf file with an associated duf.png in the content library. 
    currently my best system ... would be take all the obj files copy to a new folder ...  use an extension changer to change them all from obj to duf (this will keep them from working as obj so that's why the duplicate set to use. 
    I can use a new batch converter for ps to read the obj files and create a png. 
    so the only difficult part will be to change the .png to .duf.png so daz will display it... I'll look into the extension changer and see if I can add a custom one. 
    ===
    I'd love ot have a script that would just display the pngs but I think they have to have the duf.png and a duf file for daz to show them 
    ---
    I could have a starting folder with obj files and png images of them.. could a daz script change the extensions on the objs to daz and insert the .duf in the png image name?





     

  • alan bard newcomeralan bard newcomer Posts: 2,174
    edited August 2022

    well look at that... bulk extension changer will not let you append a second extension BUT the content libary doesn't really need the .duf.png ext all it needs is a file named duf with a png with a matching name and it will display them 
    ---
    I have all my building creation work in a folder named buildings and add that folder as a directory in the content libary directory manager. 
    I still have to go to the folder and import the obj file but the previews let me see what objects are in the folder. 
    ---
    thanks for your questions.. they made me think. 
    daz apparently adds that double extension within the program because explorer won't let you do it in the window. 
    It does make sense for daz to do that so the png is associated more closely with the daz duf file 
    --- 
    as a side bonus when you run the script in PS that reads the obj files and creates the png file it create them as 1024.x 1024 and when you cursor over the item in the content library you get a large image. 

    dont need duf in png.jpg
    2868 x 1181 - 550K
    and bingo.jpg
    1626 x 608 - 106K
    Post edited by alan bard newcomer on
  • If you view the folder in the Content Library under Other Import Formats then the files will show and any PNG thumbnail named to match the OBJ file will be used in the file panel.

    OBJ thumb in other import formats.jpg
    462 x 345 - 27K
  • jjoynerjjoyner Posts: 616

    You can create a Product of any item in a mapped folder.  The Product will then show in Smart Content but without a thumbnail image.   A thumnail image (jpg format) to use can be created, named exactly according to the base name in the Support section of the metadata window, and then moved to the Runtime/Support folder.

  • Richard Haseltine said:

    If you view the folder in the Content Library under Other Import Formats then the files will show and any PNG thumbnail named to match the OBJ file will be used in the file panel.

    thank you, very good info to know... 
    ---
    I'll probably stick with the system I just worked out because these are generally not imported objects but objects I create and save  (partially to defeat the best efforts of the geo-editor as noted if I export a cube it becomes a new entry and I can bend fold and mutilate it without effecting other cubes. (and the objects are saved into the project folder) 
    What I have gained is shown in the picture. I'm building models of the buildings in the Thurmond WV national park
    And now I not only can see the scene subsets in the thrumond folder but can see the objects I used to build them: on the rare (don't I wish) occasion I need to modify something in the base build I can see which object I need to import. 
    ---
    so basically I can now gather the objects in a directory into a work folder run the PS script Batch Multi Save. jsxbin (the default script "image Processor" doesn't do pngs ... so you have to google for it -- in addition when you want to use it by clicking the browse command under the script menu .. the default setting is for jsx not jsxbin so you have to change another drop down menu 
    ---
    but it takes a couple minutes maybe to have it auto scan 50 object files and output pngs for them
    copy your object folder and then use Bulk Extension Changer 1.3 to change the extensions in your copy folder from obj to duf and then dump the pngs and the object dufs into the object folder and you'll be able to see all the objects with big previews. 
    yes, it probaby takes 5 minutes or so but loading 50 objects one at a time and saving them as a scene subset would be a lot longer. 
    ---
    What I am attempting to accomplish is I probably have several thousand objects (looking at the properties for a couple of the folders, I may have underestimated the number of obj files) done over the years and they need to be in the directory/folder with the final product. 
    ---
    Whether or not I ever get these buildings to publishable status .. I can't just take doors and building parts out of daz products ... so I've made my own. 
    Now I have a visible catalog intergrated into my work folders that lets me pick windowsA, curtain, shades, doors etc and add them to a base framework. 

     

    thurond.jpg
    1237 x 1055 - 411K
    building folders.jpg
    1098 x 573 - 251K
Sign In or Register to comment.