DEV-thread - Blendigo v0.7 - material-editor-exporter

Announcements, requests and support regarding the Blender Indigo export script
User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Wed Mar 28, 2007 11:46 pm

hmmm.... but there should be one....
Blender supports this, too (and it's barely known), maybe the writer of the phyton tut doesn't know it either...

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Thu Mar 29, 2007 1:35 am

:lol: , that are the Blender-peoples that write the interface (API) between Blender and Python and it seems that the "dimension" values are not enough important to implement until now.
The only work-around is to scan all vertices of the mesh to find the bounding-box/dimensions. But that could be slow if mesh is big but it's a possibility :roll:

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

Post by Kram1032 » Thu Mar 29, 2007 2:16 am

hmmm.... normally, you don't use big spheres for primitives, as they automatically are perfet shaped...
It already would be enough, to randomly mark one verticle and search for the one, that's farthest away. (ICO)

UV automatically should find the top and the bottom...

Is THAT possible?

User avatar
GNUdo
Posts: 40
Joined: Sat Feb 10, 2007 10:05 am
Contact:

file selectors and xml path

Post by GNUdo » Thu Mar 29, 2007 4:55 am

Under Windows if I select as an Environment Map a HDR file from a mapped network share (say "f:\texture.jpg") the exporter puts into the xml file this line:
<path>..\..\f:\texture.jpg</path>
and Indigo gives this error:
Cannot read image file... No such file or directory..

The same happens for all file selectors (albedo, bump map, ...) and not only for mapped network shares but also for any other unit different from that where Indigo is installed.

Zuegs, could you fix this?
Thanks in advance.

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Thu Mar 29, 2007 7:42 am

GNUdo - basically, the exporter expects you to use the file browser to choose the image you want.

That probably is an easy fix, though, eh zuegs? - just check the text in the file selectors. If its a legit path, let it go, if not, warn the user.

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Thu Mar 29, 2007 8:08 am

Will see if I can fix my "relative-path" routine to support drives. Thx for hint on this bug :)

User avatar
DaveC
Posts: 596
Joined: Mon Sep 11, 2006 12:20 am
Location: The Tottenham, London, UK
Contact:

Material Preview files for Blendigo.

Post by DaveC » Thu Mar 29, 2007 10:12 pm

I'm posting this mainly for zuegs, if he wants to include it with blendigo, but everyone is welcome to grab it and use it if they like. if it renders too big, just go into the .xml and change the size. try to keep it square though.

http://www.bloopdiary.plus.com/dave/materialpreview.zip

Just unzip this into your Indigo_07 folder (wherever you have that) and it should work when you click preview in blendigo.
The hardest part of BEING yourself is FINDING yourself in the first place...
http://thebigdavec.googlepages.com

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Thu Mar 29, 2007 11:22 pm

Thx very much DaveC !!! :D

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Thu Mar 29, 2007 11:25 pm

Hey zeugs.

How about implementing what radiance suggested in this thread: http://www2.indigorenderer.com/joomla/f ... php?t=1598

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Thu Mar 29, 2007 11:27 pm

@mrCarnivore:
I've seen this thread but haven't read yet :oops: .... will do it this evening. Thx

User avatar
GNUdo
Posts: 40
Joined: Sat Feb 10, 2007 10:05 am
Contact:

Background color

Post by GNUdo » Fri Mar 30, 2007 2:43 am

Now that you can set any material parameters like color, ior, etc. directly into Blendigo, wouldn't it be nice to set there the background color, too? Maybe with a gain parameter?

User avatar
DaveC
Posts: 596
Joined: Mon Sep 11, 2006 12:20 am
Location: The Tottenham, London, UK
Contact:

Post by DaveC » Fri Mar 30, 2007 5:56 am

I have a question which was brought to mind by a recent thread (about indigo materials in exporters). Will you be adding a save and load material option?

And, more importantly I feel, an option to copy material settings from one material to another. Something so that, when we make a slightly different shade of green glass, we don't have to start from scratch. We can start on a copy of the original green glass.

Just an idea.
The hardest part of BEING yourself is FINDING yourself in the first place...
http://thebigdavec.googlepages.com

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Fri Mar 30, 2007 6:48 am

@daveC:
material save and load feature is in discussion and will come once we find a common solution/format and once i found a free light-weight xml-parser for python :wink:
This also would give the possibility to copy/paste materials in and from clipboard. But I see the need for copy/paste and perhaps I will implement a simplified internal copy/paste for the meanwhile.

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Fri Mar 30, 2007 6:49 am

I second the material copying. I missed it sooo many times. And should be fairly easy to implement in comparison to the material loasing/saving...

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

Post by Kram1032 » Fri Mar 30, 2007 7:02 am

yeah! will be a great feature :D

Post Reply
522 posts

Who is online

Users browsing this forum: No registered users and 25 guests