Blendigo (for Blender 2.58) 3.0.10.1

Announcements, requests and support regarding the Blender Indigo export script
SerNick
Posts: 10
Joined: Wed Jun 29, 2011 6:03 am

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by SerNick » Fri Jul 01, 2011 6:04 am

Zlaty Lev wrote:External material still do not work!
With a little change in addons\indigo\export\materials\External.py, external materials woks.
I don't know if it's right but I post my changes. If not sorry dougal2.


# -*- coding: utf8 -*-
#
# ***** BEGIN GPL LICENSE BLOCK *****
#
# --------------------------------------------------------------------------
# Blender 2.5 Indigo Add-On
# --------------------------------------------------------------------------
#
# Authors:
# Doug Hammond
#
# 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 the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
# ***** END GPL LICENCE BLOCK *****
#
from extensions_framework import util as efutil

from indigo.export import xml_builder

class ExternalMaterial(xml_builder):
'''
This isn't actually a material, but a simple XML element
'''

def build_xml_element(self, context, scene=None):
xml = self.Element('include')
self.build_subelements(context, self.format, xml)
return xml

def __init__(self, filename):
self.format = {
'pathname': [efutil.path_relative_to_export(filename)]
}

User avatar
Jambert
Indigo 100
Posts: 545
Joined: Wed Jul 30, 2008 10:08 pm
Location: France, Lyon

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by Jambert » Fri Jul 01, 2011 6:29 am

Ok so I explain.
I open a scene. I want to change a material so I pick the good one. When I look to the material list, I can't usean external Mat... I know it isn't lincked to exporter

Thx

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by StompinTom » Fri Jul 01, 2011 6:58 am

Jambert wrote:Ok so I explain.
I open a scene. I want to change a material so I pick the good one. When I look to the material list, I can't usean external Mat... I know it isn't lincked to exporter

Thx
Ah, OK, that makes more sense. You should ask that in the main Indigo thread as that is an Indigo issue. That would be good to have, and I imagine it's on their list of things to do, but it's worth a reminder.

User avatar
solarray
1st Place Winner
Posts: 110
Joined: Mon Apr 20, 2009 3:22 am
Contact:

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by solarray » Sun Jul 03, 2011 9:45 pm

- When the path to indigo is set as relative path, indigo will not start automatically after export is finished.

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by StompinTom » Thu Jul 07, 2011 1:03 pm

- IES lights work great now, except Indigo crashes with some profiles:

Code: Select all

Error while building scene: IESDataExcep: IESDatumExcep: Error parsing num_lamps
and sometimes

Code: Select all

Error while building scene: IESDataExcep: IESDatumExcep: Only IES files with vertical angles ending at 90 degrees supported.
That, and IES lamps render very very slowly. I'll go bug Glare about it...

Thanks for the fixes, Doug!

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by StompinTom » Thu Jul 07, 2011 1:23 pm

- Playing with emission scaling and IES lights, one thing that would help the interface is if the Power and Gain parameters were hidden if Emission scale is enabled. They're made redundant when Emission scale is active, so it avoids confusion (you can set the Power to be anything, but if Emission scale is enabled, it won't matter). Just a clarity/ease of use thing...

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

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by Borgleader » Sat Jul 09, 2011 3:43 pm

Blender: v2.58 r37702
Blendigo: v3.0.10.1

When I try to export scene through "File -> Export -> Export Indigo Scene..." I get the following error message:
"build_xml_element() got an unexpected keyword argument 'scene'"

I tried to look in the code for some clues as to what might have gone wrong (I happen to work extensively with python for my internship so I know my way around python code more than I used to) but without a traceback in the console window I couldn't find anything of use.

I looked in this thread and the one of the previous Blendigo version and did not find anything.
benn hired a mercenary to kill my sig...

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by dougal2 » Sun Jul 10, 2011 4:57 am

Borgleader wrote:Blender: v2.58 r37702
Blendigo: v3.0.10.1

When I try to export scene through "File -> Export -> Export Indigo Scene..." I get the following error message:
"build_xml_element() got an unexpected keyword argument 'scene'"

I tried to look in the code for some clues as to what might have gone wrong (I happen to work extensively with python for my internship so I know my way around python code more than I used to) but without a traceback in the console window I couldn't find anything of use.

I looked in this thread and the one of the previous Blendigo version and did not find anything.
Thanks for the info, I must have changed some function interface and forgot to update all calls to it.

User avatar
ROUBAL
Indigo 100
Posts: 78
Joined: Mon Nov 20, 2006 10:31 am
Location: FRANCE
Contact:

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by ROUBAL » Mon Jul 11, 2011 4:13 am

I have to render in 8192x4608 and photorealistic style a scene with around 10 millions triangles.

I am really desperate. I have never been able to export or render a big scene with indigo. Each time it fails at exporting or at rendering time. I tried the two exporters : the one for Blender 2.49b the one for 2.5x.

Octane doesn't support instances, and Yafaray only works in 32 bits mode and does' support my big scenes as well (lack of supported memory in 32 bits probably). I also tried Luxrender, but I also get export troubles and there is no support.

EDIT : yesterday I have purchased Thea Render. I have received my license and installed it today.

The exporter works fine and imports correctly my 10 millions triangles without any trouble nor error message. The render is not fast, but shows that my file is OK.

I exported from Blender 2.58a as there is no export plugin for 2.49b.

I already tried to export to indigo with the plugin for Blender 2.5x, and it doesn't give an error message when exporting, but once indigo is launched, Windows 7 x64 pro displays "indigo has stopped working"... and that's all !

Even if Thea render seems to work fine, it looks like a big piece to learn, and is limited at first glance to 4000x3000. I am currently searching the shift lens option... not sure it is available...

I would really like to use indigo !

Since I have the license, I have only been able to use it for few simple sinces, limited to a room size. I really need it for big exterior city scenes, with detailed old sculpted buildings and detailed cars, modelled vegetation...

I always pay attention to have a clean geometry, normals checked, no empties or objects other than one camera or a sun lamp if necessary... and though... :(

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by dougal2 » Mon Jul 11, 2011 4:29 am

ROUBAL wrote:I have to render in 8192x4608 and photorealistic style a scene with around 10 millions triangles.

I am really desperate. I have never been able to export or render a big scene with indigo. Each time it fails at exporting or at rendering time. I tried the two exporters : the one for Blender 2.49b the one for 2.5x.

Octane doesn't support instances, and Yafaray only works in 32 bits mode and does' support my big scenes as well (lack of supported memory in 32 bits probably). I also tried Luxrender, but I also get export troubles and there is no support.

EDIT : yesterday I have purchased Thea Render. I have received my license and installed it today.

The exporter works fine and imports correctly my 10 millions triangles without any trouble nor error message. The render is not fast, but shows that my file is OK.

I exported from Blender 2.58a as there is no export plugin for 2.49b.

I already tried to export to indigo with the plugin for Blender 2.5x, and it doesn't give an error message when exporting, but once indigo is launched, Windows 7 x64 pro displays "indigo has stopped working"... and that's all !

Even if Thea render seems to work fine, it looks like a big piece to learn, and is limited at first glance to 4000x3000. I am currently searching the shift lens option... not sure it is available...

I would really like to use indigo !

Since I have the license, I have only been able to use it for few simple sinces, limited to a room size. I really need it for big exterior city scenes, with detailed old sculpted buildings and detailed cars, modelled vegetation...

I always pay attention to have a clean geometry, normals checked, no empties or objects other than one camera or a sun lamp if necessary... and though... :(
What's your computer specs and operating system ?

User avatar
ROUBAL
Indigo 100
Posts: 78
Joined: Mon Nov 20, 2006 10:31 am
Location: FRANCE
Contact:

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by ROUBAL » Mon Jul 11, 2011 4:48 am

OS and Hardware :

Windows 7x64 pro - Intel Quad Xtreme 9650 3GHz - Mother board ASUS P5K - 8GB RAM (The maximum that is supported by this card) - SATA HDD - GTX 260 for display on two Samsung Syncmaster 2443 (1920x1200). Two external GTX 580 in a Cubix Xpander pro 2 for GPU rendering. Nvidia driver 275.33-Win7x64-Cuda4.0.

Thanks in advance for any help. :(

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by dougal2 » Mon Jul 11, 2011 4:53 am

ROUBAL wrote:OS and Hardware :

Windows 7x64 pro - Intel Quad Xtreme 9650 3GHz - Mother board ASUS P5K - 8GB RAM (The maximum that is supported by this card) - SATA HDD - GTX 260 for display on two Samsung Syncmaster 2443 (1920x1200). Two external GTX 580 in a Cubix Xpander pro 2 for GPU rendering. Nvidia driver 275.33-Win7x64-Cuda4.0.

Thanks in advance fora ny help. :(
Do I understand correctly that you managed to export OK from Blender 2.5 ?
In order to diagnose the problem with Blender 2.49, I really need a sample scene from you that shows the problem.

As for why Indigo crashes... it'a hard to say. I guess you could be running out of memory with such a huge scene and resolution demand. I wonder if someone from Glare can calculate the memory requirements for what you're trying to do :?: It's either that or something to do with your big GPU setup.

User avatar
ROUBAL
Indigo 100
Posts: 78
Joined: Mon Nov 20, 2006 10:31 am
Location: FRANCE
Contact:

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by ROUBAL » Mon Jul 11, 2011 8:56 am

I got the same crash with the external GPUs not enabled.

I have set up my Windows swap file to 16-32 GB, and when I load a scene in Octane, Octane creates a huge amount of data in RAM memory before loading geometry and textures in the GPU VRAM. In Windows ressource manager, I have seen up to 14 GB managed when loading a 10 millions triangles scene (using cache, of course as I have only 8GB of physical RAM). Obviously the loading process using cache(swap) file is slow, but I dont get a crash, except when relinking a scene which is already loaded, because it probably requires the double of data.

So, I don't think that it can be a lack of memory, except if indigo doesn't use the swap when the required memory is over the physically available amount !

Is it the case :?:
In order to diagnose the problem with Blender 2.49, I really need a sample scene from you that shows the problem

For Blendigo for Blender 2.49b, I still haven't been able to get a small enough scene showing the trouble.

EDIT : I have finally after many hours, found one object, that I have reduced to one cube, with only one material, that crashes the export ! very weird thing : There are still many materials that Blender said in use by several objects, when there is no other object. There is no Fake object as well (checked by Shift-F4 in the browser).I cant get rid of these materials...

I join the blend file. I renamed it .txt because it was refused by the system.

I will ask on Blender forum and come back here...

Cubadog
Posts: 1
Joined: Sun Jul 17, 2011 2:58 am

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by Cubadog » Sun Jul 17, 2011 3:02 am

OK i am really frustrated - bought the software - eventually found out where to install the scryits for 2.5 and just getting nowhere fast - happy to RTFM but cant even find that -

I know it basic level stuff - but its so stupid no one seems to have written it down

running snow leopard on Mac

cant even copy and paste the messages - but saying permission denied

please help i feel i have wasted 99 euros :-(

User avatar
Headroom
Indigo 100
Posts: 1060
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

Re: Blendigo (for Blender 2.58) 3.0.10.1

Post by Headroom » Sun Jul 17, 2011 10:17 am

I would be glad to help a fellow mac user but it would be great to know what in particular it its you are having a problem with.

Did you get Blendigo to show up in the drop-down list for render engines ?

Post Reply
99 posts

Who is online

Users browsing this forum: No registered users and 3 guests