small request for the blendertoindigo exporter (v0.6 and +)

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
6 posts • Page 1 of 1
User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

small request for the blendertoindigo exporter (v0.6 and +)

Post by Kram1032 » Sun Feb 04, 2007 8:11 am

If you have standard meshes like spheres and cubes, they're exported as meshes build of vertices's and tris.
But there also are some standard forms supported in indigorenderer
i.E.
<sphere>
My idea is, that, if the Mesh (I use sphere as example) is named "sphere_vert" then it's exported as a <sphere> with radius set to "midpoint to farthest vertex" and if it's named "sphere_face", the radius is set to "midpoint to farthest face middle".
Why I don't want to use standart names for it?
That's cause of a new user may not be aware of it and would wonder, why his vase extruded from a plane stays flat...
Maybe, one keyword is enough through (I mean, maybe you only need either _vert or _face, not both of them, as most people would place things that should be spheres at one vertex tip and not at one face and in case of cubes and planes, it wouldn't make sense, if anyone would do this without touching the edges.)
Also don't forget the .xxx behind homonymous words to be ignored for this.

Above, I've written, small request but as I'm not a programmer, I don't have any idea, how "small" it in fact is.

I hope, you like the idea.

I didn't know, where I have to post this.
On one hand, it's a request, so post it in the requests forum. On other hand, it's blender only (although, it would be nice in other exporters through, I think) so post it here.
I decided to post it here, but if anyone thinks, this would be better in another place, feel free to ask an admin or moderator (if he has the rights) to move it to another forum....

fg

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

Post by Kram1032 » Sun Feb 04, 2007 9:58 pm

Noone's answering? Not even a "good idea" or a "bad idea" or something like this?
:(
36 People looked for it, but no one answered...
Last edited by Kram1032 on Mon Feb 05, 2007 12:45 am, edited 1 time in total.

User avatar
drBouvierLeduc
Posts: 412
Joined: Wed Oct 11, 2006 2:32 am
Location: france

Post by drBouvierLeduc » Mon Feb 05, 2007 12:05 am

good idea !

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

Post by Wedge » Fri Feb 09, 2007 7:45 pm

I have added <sphere> <plane> and <rectanglelight> to the 07 exporter.

Somehow, (well I know how, I had too much on the todo list and this was a low priority) I had forgot to add this into the exporter back when 07 came out. I remember seeing these tags in the testscenes for Indigo and not knowing what they were. I was going to try them and maybe ask on the forums what they did.

Thanks for the post, it reminded me what to do. I have set them up using mesh names. (much like you said) If you use the 07 exporter the full directions are in that thread. And as a novice programmer, I would call these additions easy to do. :)

However, since I only work on the latest Indigo version exporter, it won't be added in to the 06 exporter, unless someone else adds it.
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 » Sat Feb 10, 2007 3:01 am

Fine^^
My problem is, that I nearly don't use 0.7(.4 since today ;))
But when the stable release is coming, it may will be more handy...
Just one question: Which are the magical words, that will export them as primitives/...?
Just "sphere", "plane" "rectangle"?

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

Post by Wedge » Sat Feb 10, 2007 7:48 pm

In the 07 exporter, there is code to test the mesh name and if it has a .sphere or .rlight or .plane it will then export these meshes as a sphere tag, rectangle light tag, or plane tag.

I hope that is what you mean by magical words. :)
Content contained in my posts is for informational purposes only and is used at your own risk.

Post Reply
6 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 28 guests