Page 2 of 2

Re: How to place objects in blender?

Posted: Thu Sep 12, 2013 3:27 pm
by Max1633du16
Oops I had not seen this post sorry, thank you :)

Re: How to place objects in blender?

Posted: Sun Sep 15, 2013 7:34 am
by Max1633du16
Sorry for the double post, but would it be possible to make a tutorial to open a terrain.png in blender and place the fence? Because I do not understand English properly and I do not know much blender. lol :lol:

Thanks boys :)

Re: How to place objects in blender?

Posted: Sat Sep 21, 2013 5:53 pm
by Max1633du16
So ?

Re: How to place objects in blender?

Posted: Sat Aug 12, 2017 11:34 pm
by ColtonD719
wheels1758 wrote:Here is a script to write the placement of objects that have been placed in blender.

Basically, the coordinates will be written with respect to the origin. If the objects are placed in the x-z plane, uncheck 'Convert to y-up' when exporting.

To set up an object:
1. Place object in blender.
2. Select object and go to properties window.
3. In object properties, select 'Custom Properties'
4. Add a property. Edit this and set Property Name to model. Set Property Value to the name of the model (ie mytrack/mybale.jm)
5. Repeat for texture and collision (those are the Property Names. if you skip these steps, the objects will be written as 'default_model.jm', 'default_texture.png', etc)
6. Open blender Text editor, load this script.
7. Select all objects to write.
8. Click 'Run Script' in the text editor window.

http://www.mediafire.com/download/31zf67qo7ubl7yh/write.placement.v1.zip

Is there a way to get this to export the rotation of the objects? Depending on the option I select when running the script, all of the objects get 0, -2pi, or random rotation. I can't figure out how to maintain the rotation that I've set in Blender.

Thanks!

Re: How to place objects in blender?

Posted: Sun Aug 13, 2017 12:48 am
by ColtonD719
ColtonD719 wrote:Is there a way to get this to export the rotation of the objects?

Looks like I have to be working on an x-z plane. Only took me the afternoon to figure that out!

Re: How to place objects in blender?

Posted: Thu Aug 17, 2017 11:21 pm
by VUSTTOS
I swear I saw like a week ago a post from Race where he explained how to get objetcs into a terrain.png on Blender.
Some people asked for the Occusion map or something like that too... Am I getting crazy or has that post been deleted?

Re: How to place objects in blender?

Posted: Fri Aug 18, 2017 5:48 am
by ColtonD719

Re: How to place objects in blender?

Posted: Fri Aug 18, 2017 5:11 pm
by VUSTTOS
ColtonD719 wrote:You mean this one from barrington? http://forum.mxsimulator.com/viewtopic.php?f=11&t=46002


Yes Sir, thanks!