Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411430 Posts in 69363 Topics- by 58416 Members - Latest Member: JamesAGreen

April 19, 2024, 11:00:59 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityTownhallForum IssuesArchived subforums (read only)TutorialsBlender Tutorials, Tips & Inspiration
Pages: 1 2 [3]
Print
Author Topic: Blender Tutorials, Tips & Inspiration  (Read 48887 times)
shao
Level 1
*



View Profile
« Reply #40 on: February 07, 2014, 01:22:49 PM »

Not if these tutorials have been published but will show again, in my opinion are the best I've seen so far, well explained and simple.

http://cgi.tutsplus.com/categories/blender
Logged

kednar
Level 0
**



View Profile WWW
« Reply #41 on: March 09, 2014, 02:23:27 AM »

For anyone interested in rigging, the excellent DVD from Nathan Vegdahl was released under Creative Commons:

Enjoy: https://drive.google.com/?tab=mo&authuser=0#folders/0B0ogUwJ-NEFgWnRlVFdDWVNya00
Logged
clockwrk_routine
Guest
« Reply #42 on: September 10, 2014, 08:33:31 AM »

Wrote a small script for autosaving textures:

Code: (autosave_textures.py)
def func():
    import bpy
    for i in range(0,len(bpy.data.images)):
        img = bpy.data.images[i];
        if img.is_dirty:
            img.pack(True);

def start_timer():
    from threading import Timer
    t = Timer(1, start_timer)
    t.start()
    func()

start_timer()

you can place it in the scripts/startup directory

still have to save the file to keep the changes
it technically packing but I dunno how to explain difference  Shrug
« Last Edit: September 10, 2014, 08:47:51 AM by keo » Logged
SolarLune
Level 10
*****


It's been eons


View Profile WWW
« Reply #43 on: September 10, 2014, 07:17:27 PM »

Packing is when you put a resource (like an image file) in the blend file. However, I think if you don't save your changes to the image in Blender, then they'll be lost.

Nice little script.
Logged

clockwrk_routine
Guest
« Reply #44 on: September 10, 2014, 08:01:23 PM »

packing seems to do the trick

Added project autosaving, probably not for everyone but it works for me.  probably effects performance but I haven't noticed it on my desktop, saves every minute instead of second.

Code:
def func():
    import bpy
    if bpy.data.filepath != '':
        bpy.ops.wm.save_mainfile();
    for i in range(0,len(bpy.data.images)):
        img = bpy.data.images[i];
        if img.is_dirty:
            img.pack(True);
            print(img.name);

 
def my_timer():
    from threading import Timer
    t = Timer(60, my_timer)
    t.start()
    func()

my_timer()
« Last Edit: September 10, 2014, 09:38:00 PM by keo » Logged
Pages: 1 2 [3]
Print
Jump to:  

Theme orange-lt created by panic