Indigo 9s (stable) Blender 245 Exporter Here

Announcements, requests and support regarding the Blender Indigo export script
blendergat
Posts: 34
Joined: Tue Jul 24, 2007 8:22 am

Post by blendergat » Tue Aug 14, 2007 2:59 pm

Hey! The exporter is not working, its gives me an error.

From the command line:

IndexError: list index out of range.

Wedge
Posts: 441
Joined: Sun Jan 14, 2007 11:33 am
Location: East Coast, USA

Post by Wedge » Tue Aug 14, 2007 4:19 pm

Hi, please check the first page of this thread. I have an answer for the problem there. :)

Since it is somewhat of a common problem and caused by default (because of the way materials are set to export: a default material will cause this error), I will add a note for it in the directions. Thanks for reporting!
Content contained in my posts is for informational purposes only and is used at your own risk.

blendergat
Posts: 34
Joined: Tue Jul 24, 2007 8:22 am

Post by blendergat » Thu Aug 16, 2007 3:19 am

Oh, thats right sorry I forgot about that. Thanks!

Wedge
Posts: 441
Joined: Sun Jan 14, 2007 11:33 am
Location: East Coast, USA

Post by Wedge » Thu Aug 16, 2007 2:12 pm

That is ok. :)

Posted another update, removed max num consec rejections from exporter to help avoid poor quality renders. Also enhanced large mesh support so that in my test it supported a uvsphere that had 1 million verts/faces. However, I could not get this sphere to load into Indigo, it quickly used all of my 2gb of ram and crashed. Maybe this really large size support is something that 64 bit users can enjoy. I do not know.

But anyways, I have test results that I told Big Fan I would post, about layer exporting. It is good news! Here they are:

Code: Select all

Blender Scene Test:
test 1:
	test object: 80/80 subsurf level 3 = 400k verts/faces uvsphere
	5 test objects placed in scene, layer exporting disabled
	scene size: 2 million verts/faces
	task manager memory usage:
		physical memory available in blender before export: 1.4gb
		commit charge total in blender before export: 480mb
		physical memory available at crash: 1.2gb
		commit charge total at crash: 810mb (peak while using program = 1.1gb)

test 2:
	test object: 80/80 subsurf level 3 = 400k verts/faces uvsphere
	5 test objects placed in scene, one object per layer, layer exporting enabled
	scene size: 2 million verts/faces
	task manager memory usage:
		physical memory available in blender before export: 1.4gb
		commit charge total in blender before export: 480mb
		physical memory available at finish: 1.3gb
		commit charge total at finish: 610mb (peak while using program = 1.1gb)
	export time: 420 seconds
	5 layer files: 160mb each

Indigo Scene Test:
test 1:
	gui version
	super sample = 1
	800x600 resolution
	task manager memory usage:
		physical memory available before loading scene: 1.8gb
		commit charge before loading scene: 140mb
		physical memory available at save/display render: 1.2gb
		commit charge total at save/display render: 750mb (peak while using program = 1.4gb)

test 2:
	console version
	super sample = 1
	1680x1050 resolution
	task manager memory usage:
		physical memory available before loading scene: 1.8gb
		commit charge before loading scene: 140mb
		physical memory available at save render: 1.2gb
		commit charge total at save render: 780mb (peak while using program = 1.4gb)

Blender Single Mesh Test:
	test object: 64/64 subsurf level 4 = 1 million verts/faces uvsphere
	task manager memory usage:
		physical memory available in blender before export: 1.6gb
		commit charge total in blender before export: 320mb
		physical memory available at finish: 1.3gb
		commit charge total at finish: 640mb (peak while using program = 1.3gb)
	export time: 298 seconds
	file size: 410mb

*All tests were performed with a simple phong material and no uv coordinates, only a camera and sun were in scene
*Memory usage not exact, data rounded
*Blender closed and opened after each test (to free ram)
*Test system: AMD Barton 2ghz with 2gb RAM
As you can see, the layer test allowed me to load 2 million verts/faces into Indigo without any trouble. It took a long time to run all of the tests I did (crashed Blender and Indigo a lot, my RAM had a good work - out) so I did not keep testing to find exact size limits.

So....there we have it. Layer feature = awesome. :)
Content contained in my posts is for informational purposes only and is used at your own risk.

garphik
Posts: 15
Joined: Mon Oct 23, 2006 4:52 pm
Contact:

Error

Post by garphik » Sun Aug 26, 2007 6:22 pm

Code: Select all

Indigo Export - Saving to ~/Desktop/test
Exporting Objects...
Sun
Camera
Traceback (most recent call last):
  File "Indigo9t6_Export159.p", line 787, in gui
  File "Indigo9t6_Export159.p", line 623, in save_indigo
  File "Indigo9t6_Export159.p", line 374, in exportObject
UnboundLocalError: local variable 'mat0' referenced before assignment
I am having python 2.4.1 and blender version 2.44, platform is linux

pls help

Wedge
Posts: 441
Joined: Sun Jan 14, 2007 11:33 am
Location: East Coast, USA

Post by Wedge » Tue Aug 28, 2007 12:04 pm

Hi, it looks like you have an object in your scene with a messed up material. Maybe a meshlight without any emit? I am not sure.

At any rate I do not want to say it is your fault and pretend the exporter is bug free so I reworked some material code and added some new error messages to the exporter. It turns out, it was not working as I had expected it to. New version is posted at front.

So I would try this new version, and see if it gives you any errors in the console. Because if it does, it will tell you which object is messed up.

Thank you for bug report! Enjoy! :)
Content contained in my posts is for informational purposes only and is used at your own risk.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Wed Aug 29, 2007 3:50 am

not sure, but shouldn't your version be 2.45? or at least 2.44? (python)

Wedge
Posts: 441
Joined: Sun Jan 14, 2007 11:33 am
Location: East Coast, USA

Post by Wedge » Mon Oct 08, 2007 7:54 pm

Updated! Enjoy! :)
Content contained in my posts is for informational purposes only and is used at your own risk.

sk2k
Posts: 35
Joined: Sun Jan 07, 2007 10:26 pm

Post by sk2k » Tue Oct 09, 2007 6:43 pm

It's alive! :D Thanks Wedge.

MfG
sk2k

User avatar
afecelis
Posts: 749
Joined: Tue Aug 01, 2006 4:14 am
Location: Colombia
3D Software: Blender
Contact:

Post by afecelis » Thu Oct 11, 2007 3:50 am

great update Wedge! :D
AMD Ryzen 7 1800 @3.6ghz, 32GB ddr4 3200 mhz Ram, Nvidia RTX 3060 12GB, Win10, Blender/Sketchup/Modo/Cinema4d

Wedge
Posts: 441
Joined: Sun Jan 14, 2007 11:33 am
Location: East Coast, USA

Post by Wedge » Mon Oct 22, 2007 5:52 pm

Updated for the last time. Only changes were in version number to show support for Indigo 9s. (stable version)

Enjoy using this one! It has come a long ways. :)

No future plans at this time to continue work.
Content contained in my posts is for informational purposes only and is used at your own risk.

Big Fan
Posts: 745
Joined: Tue Oct 17, 2006 9:37 am
Location: Nelson NZ

Post by Big Fan » Tue Oct 23, 2007 6:31 pm

hmmm...I havent actually used your script version Wedge... :? but on behalf of all those silent folks who have and are too shy to say thanks.. :wink: thanks very much for your time spent making and maintaining a script so Blenderheads can experiment with Indigo :D

sfepa
Posts: 19
Joined: Fri Aug 24, 2007 5:04 am
Location: chisinau, moldova.
Contact:

Post by sfepa » Wed Oct 24, 2007 11:03 pm

Big Fan, you're right. i havent used it yet too, but i'd like to say thanks to Wedge for the work he is doing.

Post Reply
28 posts

Who is online

Users browsing this forum: Ahrefs [Bot] and 15 guests