POP3 utilization?

General questions about Indigo, the scene format, rendering etc...
Post Reply
10 posts • Page 1 of 1
User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

POP3 utilization?

Post by Phr0stByte » Tue Jul 08, 2008 11:37 pm

How cool would it be to have Indigo, or (probably a better route) one of the plugins email currently running renders to you while you are at work at custom specified intervals?

I think that would be awesome - what do you guys think? Just a brainstorm...

User avatar
Borgleader
Posts: 2149
Joined: Mon Jun 16, 2008 10:48 am

Post by Borgleader » Wed Jul 09, 2008 12:07 am

Well I was thinking of making myself a program that would say...making different copies of the same render every 1 hours or so. So in my "render" folder I'd have the latest renders of each session, and a bunch of folders with the name of the .igs file they were created with and in these folders the "progress" renders. Names say (NameOfIgs)_1.png (for hour 1) and so forth.

But seeing as my 40 hour summer job is taking more like 60 hours of my time every week, I haven't had much time to do learn coding, much less code at all.

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Post by SmartDen » Wed Jul 09, 2008 12:38 am

i have already writtes such program. but it's pretty buggy. i'll share it if you promise me to get in the IRC channel, test it and discuss about the bugs and features. otherwise make it yourself. i have no fun to fix a half-bug per day.
Check normals, dude!

Image
Image

User avatar
Borgleader
Posts: 2149
Joined: Mon Jun 16, 2008 10:48 am

Post by Borgleader » Wed Jul 09, 2008 12:55 am

SmartDen wrote:i have already writtes such program. but it's pretty buggy. i'll share it if you promise me to get in the IRC channel, test it and discuss about the bugs and features. otherwise make it yourself. i have no fun to fix a half-bug per day.
I wanna test it too!!!! :D Might not have much time during the day but this weekend I'm with ya.

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Wed Jul 09, 2008 2:47 am

this could be bash scripted easily as well...

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Wed Jul 09, 2008 2:50 am

zsouthboy
Excellent idea...

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Post by SmartDen » Wed Jul 09, 2008 3:32 am

so i have fewer to do :)
Check normals, dude!

Image
Image

User avatar
mrmoose
Posts: 130
Joined: Mon Jun 26, 2006 7:45 pm

Post by mrmoose » Wed Jul 09, 2008 3:37 am

You can already do it.

Use Blat command line

http://www.blat.net

mrmoose :D

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Wed Jul 09, 2008 5:52 am

Ah I see you could use Blat on Win32. Thanks for the link, that's a useful thing to know exists..

User avatar
Heavily Tessellated
Posts: 108
Joined: Thu Aug 10, 2006 4:20 pm
Location: Huh?

Post by Heavily Tessellated » Thu Jul 17, 2008 5:06 am

zsouthboy wrote:this could be bash scripted easily as well...
Indeed.

Code: Select all

#!/bin/sh
######### Q&D Indigo Image Mailer
INTERVAL=3600                 # in seconds
NOW=$(date +%s)
for IMAGES in ~/indigo_v1.1.5/renders/*; do
   IMAGEDATE=$(date -r $IMAGES +%s)
   if [ $(($IMAGEDATE+$INTERVAL)) -ge $NOW ]; then
      ## Image modified within $INTERVAL, send it.
      ATTACHMENT="$IMAGES $ATTACHMENT"
   fi
done
tail -n 10 ~/indigo_v1.1.5/log.txt | \
mutt -s "Indigo Render Update $NOW" -a $ATTACHMENT -- heavily@tessellated.localnet
stuff that or something like it in your crontab... this uses mutt to send any images whose modification time has changed as individual attachments, with a tail'd bit of the logfile...

Post Reply
10 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 21 guests