"""
__author__ = "Antonio Ospite"
-__url__ = ["http://projects.blender.org/projects/vrm"]
+__url__ = ["http://vrm.ao2.it"]
__version__ = "0.3.beta"
__bpydoc__ = """\
"""
# ---------------------------------------------------------------------
-# Copyright (c) 2006, 2007, 2008 Antonio Ospite
+# Copyright (c) 2006, 2007, 2008, 2009 Antonio Ospite
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# - Check memory use!!
#
# ---------------------------------------------------------------------
-#
-# Changelog:
-#
-# vrm-0.3.py - ...
-# * Adapted to blender API 2.45
-# * First release after code restucturing.
-# Now the script offers a useful set of functionalities
-# and it can render animations, too.
-# * Optimization in Renderer.doEdgeStyle(), build a topology cache
-# so to speed up the lookup of adjacent faces of an edge.
-# Thanks ideasman42.
-# * The SVG output is now SVG 1.0 valid.
-# Checked with: http://jiggles.w3.org/svgvalidator/ValidatorURI.html
-# * Progress indicator during HSR.
-# * Initial SWF output support (using ming)
-# * Fixed a bug in the animation code, now the projection matrix is
-# recalculated at each frame!
-# * PDF output (using reportlab)
-# * Fixed another problem in the animation code the current frame was off
-# by one in the case of camera movement.
-# * Use fps as specified in blender when VectorWriter handles animation
-# * Remove the real file opening in the abstract VectorWriter
-# * View frustum clipping
-# * Scene clipping done using bounding box instead of object center
-# * Fix camera type selection for blender>2.43 (Thanks to Thomas Lachmann)
-# * Compatibility with python 2.3
-# * Process only object that are on visible layers.
-# * Saving config to registry (Thanks to Thomas Lachmann for a draft
-# implementation)
-#
-# ---------------------------------------------------------------------
import Blender
from Blender import Scene, Object, Mesh, NMesh, Material, Lamp, Camera, Window
def loadFromRegistry():
registry = Blender.Registry.GetKey('VRM', True)
if not registry:
- return
+ return
for k,v in registry.iteritems():
k_tmp = k.split('_')
Draw.Button("Exit", GUI.evtExitButton, 95, 210-25, 75, 25+18, "Exit!")
Draw.Button("Save settings as default", GUI.evtSaveDefaultButton, 10, 210-50, 160, 18,
- "Save settings as default")
+ "Save settings as default")
# Rendering Styles
glRasterPos2i(200, 310)