Indigo 0.7F exporter here! Features added/Comments welcome!
- joegiampaoli
- Posts: 837
- Joined: Thu Oct 05, 2006 7:12 am
- Location: San Miguel de Allende-MEXICO
- Contact:
-
- Posts: 125
- Joined: Sat Feb 10, 2007 5:31 am
- Location: Norway, Norvege, Norvegia, Norwegen, Norge.
It is a room with four windows. and the floor roof and all walls is seperated. There is a sun outside shining in a several spots in the roof. actuall just one big mesh light shining thrue holes in the roof. If you wanna have the file just mail me at tobak30@hotmail.com or give me the mail address here.
- joegiampaoli
- Posts: 837
- Joined: Thu Oct 05, 2006 7:12 am
- Location: San Miguel de Allende-MEXICO
- Contact:
Carbon: I am confused. I thought you said it happened with all exporter versions you have collected. Which versions do you have?
Then you said the same script worked a few days ago?
Can you be more specific?
Are you using a Mac and that is why your on Python 2.3? I'm not sure what is wrong. I changed the import statements recently after changing the code.
Maybe you could try and replace the import statements at the top of the exporter with these:
import math
import os
import struct
import Blender
from Blender import Draw, BGL, Scene, Window, Mathutils
from Blender import Object, Texture, Mesh, Material
from Blender import sys as bsys
from Blender.sys import *
Try that and see what happens. If you are not using a Mac then I'm not sure what is going on. It works fine here I'm on Windows XP. I also don't know about Linux since I cannot test it.
For everyone: There is an updated exporter at the front. The history list is also at the front. Enjoy!
Then you said the same script worked a few days ago?
Can you be more specific?
Are you using a Mac and that is why your on Python 2.3? I'm not sure what is wrong. I changed the import statements recently after changing the code.
Maybe you could try and replace the import statements at the top of the exporter with these:
import math
import os
import struct
import Blender
from Blender import Draw, BGL, Scene, Window, Mathutils
from Blender import Object, Texture, Mesh, Material
from Blender import sys as bsys
from Blender.sys import *
Try that and see what happens. If you are not using a Mac then I'm not sure what is going on. It works fine here I'm on Windows XP. I also don't know about Linux since I cannot test it.
For everyone: There is an updated exporter at the front. The history list is also at the front. Enjoy!
Content contained in my posts is for informational purposes only and is used at your own risk.
Thanks for interest, i'll try the best to describe everything..
Yes, i am on Mac and i'm using Blender 2.43 - official intel blender.org build, it's compiled with py2.3 and i have py2.5 installed (i doublechecked it in terminal)
lets focus on exporter versions from 20070219 which used to work and 20070315 (the most recent i think)
i messed around the code and make it working.. here is the code from line 585 (v20070219)
# Process camera
currentscene = Scene.GetCurrent()
camObj = currentscene.getCurrentCamera()
############# EDIT #############
SCENE = Blender.Scene.GetCurrent()
for OB_CAM in [OB for OB in SCENE.objects if OB.type == 'Camera']:
camObj = OB_CAM
############# EDIT #############
if camObj:
...
i found that some scripts, working with camera, don't work and some do.. these lines are taken from working script, now it is working in both, except in 20070315 it exports <focus_distance>0.00</focus_distance> which i can handle
i will try the import statements
Yes, i am on Mac and i'm using Blender 2.43 - official intel blender.org build, it's compiled with py2.3 and i have py2.5 installed (i doublechecked it in terminal)
lets focus on exporter versions from 20070219 which used to work and 20070315 (the most recent i think)
i messed around the code and make it working.. here is the code from line 585 (v20070219)
# Process camera
currentscene = Scene.GetCurrent()
camObj = currentscene.getCurrentCamera()
############# EDIT #############
SCENE = Blender.Scene.GetCurrent()
for OB_CAM in [OB for OB in SCENE.objects if OB.type == 'Camera']:
camObj = OB_CAM
############# EDIT #############
if camObj:
...
i found that some scripts, working with camera, don't work and some do.. these lines are taken from working script, now it is working in both, except in 20070315 it exports <focus_distance>0.00</focus_distance> which i can handle
i will try the import statements
Hi Carbon:
I'm not sure how it works with Mac, but in Windows we install the same version of Python that is listed as the one which compiled Blender. Usually non-matching versions cause problems. For example our Blender is compiled with Python 2.4 so we use the latest Python 2.4 which is 2.4.4.
I'd be surprised if the import statements work, but that is all I can think of to tell you. I don't remember altering the code that exports the camera. Just recently I altered some of the camera values but not the camera itself. The focus distance is one of these values I changed and you can find the directions for setting this one at the front page, but basically you set it with the dofDist value that is in the edit menu for the camera.
I'm not sure how it works with Mac, but in Windows we install the same version of Python that is listed as the one which compiled Blender. Usually non-matching versions cause problems. For example our Blender is compiled with Python 2.4 so we use the latest Python 2.4 which is 2.4.4.
I'd be surprised if the import statements work, but that is all I can think of to tell you. I don't remember altering the code that exports the camera. Just recently I altered some of the camera values but not the camera itself. The focus distance is one of these values I changed and you can find the directions for setting this one at the front page, but basically you set it with the dofDist value that is in the edit menu for the camera.
Content contained in my posts is for informational purposes only and is used at your own risk.
Who is online
Users browsing this forum: No registered users and 21 guests