FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Exporting EMPTY Objects From Blender

3 posters

Go down

Exporting EMPTY Objects From Blender Empty Exporting EMPTY Objects From Blender

Post  matthew Wed Feb 04, 2009 4:32 pm

> That would be helpful for making animation keyframes and placing objects in games.

ABSOLUTELY. Any Help in this Department is greatly appreciated...

Math is a difficult subject to master. If we could just use Blender in this fashion that would be great.

Cheers,
-matthew

matthew

Posts : 64
Join date : 2008-11-12

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Wed Feb 04, 2009 11:54 pm

I think using empties in Blender is a great idea. Here is my effort for 1.3.2


I've put the changes on google code at

http://code.google.com/p/irrtouch/


Last edited by zzajin on Tue Feb 10, 2009 8:49 pm; edited 1 time in total

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Wed Feb 04, 2009 11:56 pm

removed code

see second post in this thread


Last edited by zzajin on Tue Feb 10, 2009 8:50 pm; edited 2 times in total

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Wed Feb 04, 2009 11:59 pm

removed code

see second post in this thread


Last edited by zzajin on Tue Feb 10, 2009 8:51 pm; edited 3 times in total

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Thu Feb 05, 2009 12:04 am

removed code

see second post in this thread


Last edited by zzajin on Tue Feb 10, 2009 8:52 pm; edited 2 times in total

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Thu Feb 05, 2009 12:11 am

removed code

see second post in this thread


Last edited by zzajin on Tue Feb 10, 2009 8:53 pm; edited 1 time in total

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Thu Feb 05, 2009 12:24 am

removed code

see second post in this thread


Last edited by zzajin on Tue Feb 10, 2009 8:54 pm; edited 2 times in total

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Thu Feb 05, 2009 12:29 am

removed code

see second post in this thread


Last edited by zzajin on Tue Feb 10, 2009 8:58 pm; edited 2 times in total

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty exporting empty object from blender

Post  matthew Sun Feb 08, 2009 6:03 pm

Wow, thanks a lot for the help with my question zzajin! You rock!

matthew

Posts : 64
Join date : 2008-11-12

Back to top Go down

Exporting EMPTY Objects From Blender Empty exporting empty object from blender

Post  matthew Sun Feb 08, 2009 6:10 pm

Looking at the code you submitted zzajin, it looks like the empty object that is exported is the transform location, correct?
What about the transform rotation and scale. The rotation is the most helpful, in my personal opinion.

Thanks.

matthew

Posts : 64
Join date : 2008-11-12

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Sun Feb 08, 2009 9:33 pm

Yeah I can see rotation being of use now. I didn't realize it would mean anything since we are talking about a point. But indeed you can rotate them and I see you can set the display as single arrow which shows the z axis direction which would be a strong visual cue.

Scale would be easy to add too, but I'm having a hard time thinking of a use. Seems like if you want to add a trigger zone the bullet physics would be a better option. Perhaps as a spawn point, but instead of exactly at the point, you utilize scale to create a random area that a spawn could occur?


I added rotation to the code above: the exporter, sio2_empty.cc, and the exporter and the example are affected.

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  matthew Sun Feb 08, 2009 10:11 pm

My main use for rotations would be to for different points of rotation for cameras.Thanks a lot for the rotation code. It's much appreciated!

Cheers

matthew

Posts : 64
Join date : 2008-11-12

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  zzajin Sun Feb 08, 2009 10:20 pm

I just edited sio2_resource.cc. I found 2 missing edits.

zzajin

Posts : 81
Join date : 2008-10-14

Back to top Go down

Exporting EMPTY Objects From Blender Empty Exporting EMPTY Objects From Blender

Post  matthew Mon Feb 09, 2009 12:03 pm

Great thanks again zzajin!

matthew

Posts : 64
Join date : 2008-11-12

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  sw Mon Feb 09, 2009 8:24 pm

zzajin wrote:Yeah I can see rotation being of use now. I didn't realize it would mean anything since we are talking about a point. But indeed you can rotate them and I see you can set the display as single arrow which shows the z axis direction which would be a strong visual cue.

Scale would be easy to add too, but I'm having a hard time thinking of a use. Seems like if you want to add a trigger zone the bullet physics would be a better option. Perhaps as a spawn point, but instead of exactly at the point, you utilize scale to create a random area that a spawn could occur?


I added rotation to the code above: the exporter, sio2_empty.cc, and the exporter and the example are affected.

hi, zzajin
thanks for your Empty code Very Happy
I think the Empty object 's Scale is very useful, such as we can paint a icon picture on any party of the model , think about painting your image on floor with different size.
sw
sw

Posts : 73
Join date : 2008-10-12

Back to top Go down

Exporting EMPTY Objects From Blender Empty Re: Exporting EMPTY Objects From Blender

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum