Naph Posted January 10, 2023 Share Posted January 10, 2023 Hi guys, The .world file in 3DX is essentially just a list of all the objects in the world, with type of object, its position, rotation, scale and material of it. Before I go deep in the rabbit hole, I was interested to know if anyone has looked at or attempted to have a script to take Blender models and transform it into 3DX world models. Essentially my thinking is this: 1) Create a model in Blender 2) Run a script in Blender to transform the model to small squares or triangles. These squares or triangles will be a preset size - I think depending on the complexity and resolution you want of the object. 3) Run another script in Blender to extract the co-ordinates of all of the squares/triangles. 4) Transform these into the 3DX .world co-ordinates. Would appreciate any input Collier 1 Link to comment Share on other sites More sharing options...
Ica Posted January 11, 2023 Share Posted January 11, 2023 Tbh - just speaking about myself - NO. I am not sure if this makes sence at all. Tools like Blender and the big mama 3dsMax do have the function to deform objects in nearly every way how it is needed. How to make sure 3dx Editor can work with those data? Why are you asking; dont you like to work with the 3dx Editor?^^ Naph 1 Link to comment Share on other sites More sharing options...
Janet Posted January 11, 2023 Share Posted January 11, 2023 Idea nice but "probably" time waste. Most files wouldn't be useable at the end anyway or would look so trashy because of the downscaled resolution that nobody wants use it at the end. Only make sense for really simple models but to be honest this things you also can create quick in world editor arleady. Naph 1 Link to comment Share on other sites More sharing options...
SerenityWillow Posted January 11, 2023 Share Posted January 11, 2023 The reason it is not possible to do is the objects have to be in the editor and already present in the game. If I were to make say, a couch in blender and was able to create a script as you say, it would not be visible because the object is not in the game. There was a discussion I read about a way to rename an object's naming convention in the .world file and it was something that is not in the editor now but was removed after updates. This was possible to do because it was already in the game's database of objects on the server, but not available in the current version of the editor. Also someone would need to write an exporter/importer script for blender itself to support .world files. I am not a coder but I am sure it probably is not an easy thing to do. I am an avid Blender user and would love to be able to create in there for the game, but it is what it is, and probably always be. Naph 1 Link to comment Share on other sites More sharing options...
Halderim Posted January 13, 2023 Share Posted January 13, 2023 In theory this would be possible, export a model into json format and you are nearly done, or have a python script that makes a world file out of your model, question would be if that would have any practical use, would only work with low poly and primitives that are in 3dx as well. Alternative would be you only use faces to translate a blender model into a world file But yeah would be quite complicated and time intensive to write a script for that. Naph and Janet 2 Link to comment Share on other sites More sharing options...
Lunarelf Posted January 13, 2023 Share Posted January 13, 2023 *spend 3 days to deal with blender* *finish the mods within 2 weeks* *detailing it for a month* *coding the program for transfer it into game for half a year* *trying to persuade devs accept this idea for a year* *transfer tooks 3 days due to blender's poor capability* *import, game crashed in 3 seconds* SerenityWillow, SashaFoxy, Khallum Troy and 1 other 1 3 Link to comment Share on other sites More sharing options...
Cassey Posted January 16, 2023 Share Posted January 16, 2023 (edited) The 3DX Devils keep who is allowed to make changes to their virtual-world specific to very few, and those ppl strive to protect that for selfish reasons. Sadly, to their detriment in the success they should be having... This is Unity, not rocket science... Edited January 16, 2023 by Cassey Naph 1 Link to comment Share on other sites More sharing options...
Diana Prince Posted January 17, 2023 Share Posted January 17, 2023 On 1/10/2023 at 4:09 PM, Naph said: Hi guys, The .world file in 3DX is essentially just a list of all the objects in the world, with type of object, its position, rotation, scale and material of it. Before I go deep in the rabbit hole, I was interested to know if anyone has looked at or attempted to have a script to take Blender models and transform it into 3DX world models. Essentially my thinking is this: 1) Create a model in Blender 2) Run a script in Blender to transform the model to small squares or triangles. These squares or triangles will be a preset size - I think depending on the complexity and resolution you want of the object. 3) Run another script in Blender to extract the co-ordinates of all of the squares/triangles. 4) Transform these into the 3DX .world co-ordinates. Would appreciate any input Niblette's Naughty Designer can do this with vector graphics (svg files). It works really good, but this is "just" a conversion of paths (2D lines) to cube objects in the world editor. Here is an example that I did with the Naughty Designer. MistressBeryl 1 Link to comment Share on other sites More sharing options...
SerenityWillow Posted January 19, 2023 Share Posted January 19, 2023 @Diana PrinceThat works great for line type graphics but I think the OP was referring to building props and clothing and that sort of thing. But I will have to check that it out, looks very promising. Just curious, how many objects does that turn out to be and what is the file size? Link to comment Share on other sites More sharing options...
Halderim Posted January 19, 2023 Share Posted January 19, 2023 The file size is really small as the object count is low Did use it myself already and it is great for those line art pieces or even fonts 12 minutes ago, SerenityWillow said: @Diana PrinceThat works great for line type graphics but I think the OP was referring to building props and clothing and that sort of thing. But I will have to check that it out, looks very promising. Just curious, how many objects does that turn out to be and what is the file size? SerenityWillow 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now