Wed, Sep 18, 2:16 PM CDT

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Sep 18 7:39 am)



Subject: Is there a thumbnail creation tool?


RAMWorks ( ) posted Thu, 20 August 2020 at 9:27 AM · edited Tue, 10 September 2024 at 2:29 PM

Got a set of poses or L'Homme I think I'm going to put up in my store but of course I save these poses out when here and there meaning there are various settings, backgrounds and clothing. I'd love it if there were a thumbnail creation tool that I could point to the folder and have it overwrite the current thumbs with newly created ones as a batch.

Any luck with finding something like that? Don't care if it's a plugin or a Python script.

Thanks so much

Richard

---Wolff On The Prowl---

My Store is HERE

My Freebies are HERE  


SamTherapy ( ) posted Thu, 20 August 2020 at 10:54 AM

If there is, I've never found it. I render mine individually, save 'em out as PNG, drop 'em into the library.

Tedious but it works.

Coppula eam se non posit acceptera jocularum.

My Store

My Gallery


hborre ( ) posted Thu, 20 August 2020 at 12:35 PM

There was a thumbnail creation script once, a freebie but I don't remember who created it. However, you could only create the thumbnails one at a time from Poser renders.


Miss B ( ) posted Thu, 20 August 2020 at 12:35 PM

I agree with Sam. I have a couple of scenes saved for use in Poser that are the right size for thumbnails, with the camera settings I prefer.

That way, I can load up one of those scenes, set up the character, clothing, what-have-you, and it'll render fine in PNG format.

_______________

OK . . . Where's my chocolate?

Butterfly Dezignz


willyb53 ( ) posted Thu, 20 August 2020 at 1:12 PM

https://www.renderosity.com/mod/bcs/thumbnail-designer/116477/

Bill

People that know everything by definition can not learn anything


RedPhantom ( ) posted Thu, 20 August 2020 at 1:23 PM
Site Admin Online Now!

I have a script by d3d that is called render poses. I'm assuming that's what it does, but I don't see it in the freebies here. You might see if you can find his website.

Alternativly, set up a scene with a different pose per frame and use the animation render but tell it to save them as images rather than a movie format. You'll have to rename them after, but it will save you some steps


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


HartyBart ( ) posted Thu, 20 August 2020 at 1:47 PM · edited Thu, 20 August 2020 at 1:49 PM

For a large pack of full-body poses you may have to have to split the thumbnail creation process into three parts, each part using different automation helpers.

First, a Python script to load each pose in turn from a selected folder or list, apply it to the currently selected figure, make a quick render to perhaps 364 x 364 pixels. This should be quite easy for a PoserPython script to do, in fact there was a D3D "Batch render poses" script that shipped with Poser as default. It looks like this is now expanded, as D3D's batch "Render Content" script in Poser 11.

Second, use a freeware batch utility to resize, rename the resulting renders. Ideally while also laying in your watermark, color border and so on, otherwise it'd be easier to run the 4x resize from 364 to 91 pixels via a batch run in Photoshop. In 2020 this means the free gnuThumbnailer for Windows and Linux. I assume that the 364 to 91 pixels downsizing would treat your overlays and text better, compared to laying them straight into a tiny 92px thumbnail.

Thirdly, you'd then manually copy the completed thumbnails over to the poses folder, perhaps first renaming so as to overwrite existing thumbnails.

I don't know of anything that does all of this in one go. The $15 Netherworks Thumbnail Designer helps with adding simple overlays like tick marks and bitmapped names, but doesn't appear to do the "pose-loading from a folder" bit.



Learn the Secrets of Poser 11 and Line-art Filters.


Boni ( ) posted Thu, 20 August 2020 at 1:48 PM

I have a template for PS I use for that ... but not inside of Poser, Netherworks is the best for that ... see Bill's post above. IF it goes on sale sometime, I think I'll pick it up!

Boni



"Be Hero to Yourself" -- Peter Tork


EldritchCellar ( ) posted Thu, 20 August 2020 at 1:49 PM · edited Thu, 20 August 2020 at 1:50 PM

"I'd love it if there were a thumbnail creation tool that I could point to the folder and have it overwrite the current thumbs with newly created ones as a batch."

If they have the same file names: paste, or drag and drop, and replace?

Edit... cross post with HartyBart



W10 Pro, HP Envy X360 Laptop, Intel Core i7-10510U, NVIDIA GeForce MX250, Intel UHD, 16 GB DDR4-2400 SDRAM, 1 TB PCIe NVMe M.2 SSD

Mudbox 2022, Adobe PS CC, Poser Pro 11.3, Blender 2.9, Wings3D 2.2.5


My Freestuff and Gallery at ShareCG




Miss B ( ) posted Thu, 20 August 2020 at 1:55 PM

Yes, I have Thumbnail Designer, but it's only good for finishing up the thumbnail by adding borders and such. You still need a render to start with.

_______________

OK . . . Where's my chocolate?

Butterfly Dezignz


EldritchCellar ( ) posted Thu, 20 August 2020 at 2:30 PM

shruggy.png



W10 Pro, HP Envy X360 Laptop, Intel Core i7-10510U, NVIDIA GeForce MX250, Intel UHD, 16 GB DDR4-2400 SDRAM, 1 TB PCIe NVMe M.2 SSD

Mudbox 2022, Adobe PS CC, Poser Pro 11.3, Blender 2.9, Wings3D 2.2.5


My Freestuff and Gallery at ShareCG




willyb53 ( ) posted Thu, 20 August 2020 at 3:11 PM

Boni, the thumbnail designer will do the render. set up a square scene and hit the render current scene, it will render in the 91x91 png format and then allow you to add finishing touches

Bill

People that know everything by definition can not learn anything


Boni ( ) posted Thu, 20 August 2020 at 4:46 PM

Bill, I see that, and that it does batch renders for files. It's wonderful!!

Boni



"Be Hero to Yourself" -- Peter Tork


Miss B ( ) posted Thu, 20 August 2020 at 6:01 PM

Ahhh, I never noticed that, though I generally make my thumbnails 200x200 these days, so wouldn't be able to use that feature.

_______________

OK . . . Where's my chocolate?

Butterfly Dezignz


structure ( ) posted Thu, 20 August 2020 at 6:08 PM · edited Fri, 21 August 2020 at 7:51 AM
Forum Coordinator

this is not perfect but it works

# -*- coding: utf-8 -*- 
''' ©2014 structure '''
import poser, wx, wx.xrc, string, os, os.path

def IsFocal(parm):
    if printdebug:print 'IsFocal'
    if parm.TypeCode()==12: return True

def cancel_Point_At(camera):
    if printdebug:print 'cancel_Point_At'
    for parm in camera.Parameters():
        if parm.TypeCode() == 66:
            parm.SetValue(0.0)

def FindCamera(figure, part):
    # decide on camera
    if printdebug:print 'FindCamera'
    for Camera in scene.Cameras():
        if Camera.InternalName()=='MAIN_CAMERA':
            poser.Scene().SetCurrentCamera(Camera)
            Camera.Restore()
            for parm in Camera.Parameters():
                if IsFocal(parm):
                    resetparm=parm.Value()
                    parm.SetValue(65)
            # Camera.ParameterByCode(poser.kParmCodePOINTAT).SetValue(0.0)
            cancel_Point_At(Camera)
            scene.SelectFigure(scene.Figure(figure.Name()))
            scene.SelectActor(scene.Actor(part.Name()))
            scene.FrameSelected()
    scene.DrawAll()
    return Camera, resetparm

def GetFileList(folder):
    if printdebug:
        print 'GetFileList'
    listoffiles=os.listdir(folder)
    return listoffiles

def GetPoseFolder(startDir):
    if printdebug:
        print 'GetPoseFolder'
    dialog = wx.DirDialog(None, "Choose a directory:",style=wx.DD_DEFAULT_STYLE | wx.DD_NEW_DIR_BUTTON)
    dialog.SetPath(startDir)
    if dialog.ShowModal() == wx.ID_OK:
        wD = dialog.GetPath()
        return wD
    else:
        ShowAlert('User Cancelled',None,'Complete')
        return None

def IsEmpty(scene):
    if scene.Figures():return False
    return True

def render(figure, filename):
    ext             =   SplitExtension(filename,1)
    outputfile      =   SplitExtension(filename,0)
    outputfile      +=  '.png'
    scene.LoadLibraryPose(filename)
    figure.DropToFloor()

    scene.Render()
    scene.SaveImage ('png',outputfile)

def setrenderopts( x=0 , y=0 , gi=0 , sss=0 , shadows=0 ):
    scene.SetOutputRes( x , y )
    scene.CurrentFireFlyOptions().SetUseGI(gi)
    scene.CurrentFireFlyOptions().SetUseSSS(sss)
    scene.SetRenderCastShadows(shadows)

def ShowAlert(alertmessage, error=None, title=None):
    APPNAME=u''
    if title == None: title = '%s ' % APPNAME
    msg = wx.MessageDialog(None, alertmessage, caption=title, style=wx.OK|wx.STAY_ON_TOP)
    msg.ShowModal()

def SplitExtension(file, mode=0):
    return os.path.splitext(file)[mode]

def StripExtension(file):
    return os.path.splitext(file)[0]

PoseFolder = None
scene=poser.Scene()
types = ('.pz2','.p2z')
Preferences = poser.PrefsLocation()
cam=scene.CurrentCamera()
rDas=scene.RenderDimAutoscale()
x,y=scene.OutputRes()
GI=scene.CurrentFireFlyOptions().UseGI()
SSS=scene.CurrentFireFlyOptions().UseSSS()
shadows=scene.RenderCastShadows()
pp2=[]
png=[]
ground=scene.Actor('GROUND')
ViC=ground.VisibleInCamera()
ground.SetVisibleInCamera(0)
startDir=None
libraries=poser.Libraries()
resetparm = 0
setrenderopts (200,200) # this is your render size

startDir = os.path.join(poser.Libraries()[0],'Runtime','Libraries','Pose')

if not IsEmpty(scene):
    figure = scene.CurrentFigure()
    figure.Restore()
    scene.SelectActor(scene.Actor('Body'))
    actor = scene.CurrentActor()

    part=actor
    camera, resetparm = FindCamera(figure, part)
    cancel_Point_At(camera)

    PoseFolder=GetPoseFolder(startDir)

    if not PoseFolder==None:
        filelist = GetFileList(PoseFolder)
        for i in filelist:
            if i.endswith( types ):
                file = os.path.join(PoseFolder,i)
                if os.path.exists(file):
                    render(figure, file)

ground.SetVisibleInCamera(ViC)
setrenderopts( x , y , GI , SSS , shadows )
scene.SetCurrentCamera(cam)
scene.SetRenderDimAutoscale(rDas)

printdebug = False
figure.Restore()
cam.Restore()
cancel_Point_At(cam)
if cam == camera:
    for parm in cam.Parameters():
        if IsFocal(parm):
            parm.SetValue(resetparm)
scene.DrawAll()

Locked Out


FVerbaas ( ) posted Fri, 21 August 2020 at 2:02 AM
Forum Coordinator

For the pose sets I made for LF and LH I simply combined final check and thumbnail creation into one step. I set up the scene with the text objects, made a cam memory dot and ran the drill loading, fly around to check and when OK restore hit cam dot and hit render each time saving the render right into the library. Took me a minute or two for each set, three if I needed to repair something in the pose.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.