Blender 3d Modeling Tutorials

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Blender 3d Modeling Tutorials

Post by Commander McLane »

DaddyHoggy wrote:
blm768 wrote:
The current workflow for exporting meshes looked a little tedious, so I took an afternoon and wrote a script that exports a Blender mesh directly to a .dat file.

https://gist.github.com/blm768/6059892
Well done! 8)
Well done indeed! And welcome to the Friendliest Boards This Side Of Riedquat™! Awesome first post. :D
User avatar
submersible
Commodore
Commodore
Posts: 264
Joined: Thu Nov 10, 2011 7:49 am

Re: Blender 3d Modeling Tutorials

Post by submersible »

blm768 wrote:
The current workflow for exporting meshes looked a little tedious, so I took an afternoon and wrote a script that exports a Blender mesh directly to a .dat file.
https://gist.github.com/blm768/6059892
Wow - nice one!
The mesh tools moved along with everything else into git - your gist would really like to live at
https://github.com/OoliteProject/oolite-mesh-converters
User avatar
submersible
Commodore
Commodore
Posts: 264
Joined: Thu Nov 10, 2011 7:49 am

Re: Blender 3d Modeling Tutorials

Post by submersible »

blm768 wrote:
Once it's installed, just select the mesh object you want to export and use File -> Export -> Oolite (.dat). Note that if the model has a UV map, every face must have a texture assigned, or the script will complain loudly. The script might also be somewhat buggy, but I haven't run into any major unfixed bugs yet.
Is this the expected 'complain loudly' behaviour?

Code: Select all

Traceback (most recent call last):
  File "/home/andrewb/.blender/2.62/scripts/addons/oolite-dat.py", line 142, in execute
    write(self.filepath)
  File "/home/andrewb/.blender/2.62/scripts/addons/oolite-dat.py", line 60, in write
    if len(mesh.tessface_uv_textures) > 0:
AttributeError: 'Mesh' object has no attribute 'tessface_uv_textures'

location:<unknown location>:-1
blm768
Mostly Harmless
Mostly Harmless
Posts: 3
Joined: Tue Jul 23, 2013 4:11 am

Re: Blender 3d Modeling Tutorials

Post by blm768 »

submersible wrote:
Is this the expected 'complain loudly' behaviour?

Code: Select all

Traceback (most recent call last):
  File "/home/andrewb/.blender/2.62/scripts/addons/oolite-dat.py", line 142, in execute
    write(self.filepath)
  File "/home/andrewb/.blender/2.62/scripts/addons/oolite-dat.py", line 60, in write
    if len(mesh.tessface_uv_textures) > 0:
AttributeError: 'Mesh' object has no attribute 'tessface_uv_textures'

location:<unknown location>:-1
Actually, no...

I'm guessing that that error is caused by an API change that happened sometime after Blender 2.62. This script is based on an exporter that I wrote a while back, but I probably updated it without bumping the version requirement. If I recall correctly, 2.63 was when many of the API changes were made, so I'll bump the version requirement to that.

And yes, my script really would like to live in that repository; it's starting to feel lonely. I probably should put in a pull request or something.
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1375
Joined: Thu Apr 28, 2011 3:17 pm

Re: Blender 3d Modeling Tutorials

Post by mandoman »

Has anyone tried the newest version of Blender, which is 2.65? I could not get it to set up the way I had 2.63. I guess the modeling was about the same, though some very familiar controls were slightly changed. It was when I went to unwrap, and texture when I hit a wall. I mean that nearly literally. In 2.63, and previous versions, I was able to unwrap the model and then manipulate the vertices on the UV Image Editor map, so certain colors didn't bleed over into other parts of the model. 2.65 would not allow this. In fact, I couldn't get it to do anything other than unwrap, and paint. I've removed 2.65, and reinstalled 2.63. What a relief. I feel like I've returned home. I'm interested in other opinions on 2.65. Maybe someone can set me straight with it. :roll: :)
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
Staer9
---- E L I T E ----
---- E L I T E ----
Posts: 570
Joined: Fri Feb 18, 2011 4:53 pm
Location: Hatfield, Hertfordshire (poor industrial)

Re: Blender 3d Modeling Tutorials

Post by Staer9 »

you can hit "g" to free-transform, that should also work on the unwrap panel

after you install it can should be able to click "use old settings" (or something like that)

personally I use blender 2.69 (newest from their site http://www.blender.org/download/)

although rumor has it that a new version is in development with a completely different UI, that'll probably be a while though
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1375
Joined: Thu Apr 28, 2011 3:17 pm

Re: Blender 3d Modeling Tutorials

Post by mandoman »

Hmm, I like the way it's set up in 2.63. Guess I'm kind of a retro-grouch. I'll have to think about the newer versions some more. Thanks for the info, Staer9.
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
Staer9
---- E L I T E ----
---- E L I T E ----
Posts: 570
Joined: Fri Feb 18, 2011 4:53 pm
Location: Hatfield, Hertfordshire (poor industrial)

Re: Blender 3d Modeling Tutorials

Post by Staer9 »

mandoman wrote:
Hmm, I like the way it's set up in 2.63. Guess I'm kind of a retro-grouch. I'll have to think about the newer versions some more. Thanks for the info, Staer9.
If you've got used to something it makes far more sense to stick with it,
in terms of usefulness in shipmaking the newer builds offer no real improvements, most of the work tends to be done in the animation and rendering end (which never gets used while making ships)

I use blender for a bunch of things though so I tend to stick to the newest stable build
Image
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1375
Joined: Thu Apr 28, 2011 3:17 pm

Re: Blender 3d Modeling Tutorials

Post by mandoman »

Did you make that avatar you use? That is cool. I've thought about reading some tutorials on how to make animations with Blender. Maybe I'll give it a shot sometime.
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
Staer9
---- E L I T E ----
---- E L I T E ----
Posts: 570
Joined: Fri Feb 18, 2011 4:53 pm
Location: Hatfield, Hertfordshire (poor industrial)

Re: Blender 3d Modeling Tutorials

Post by Staer9 »

mandoman wrote:
Did you make that avatar you use?
sadly no, I just cropped a GIF that I found on the internet and made it forum suitable,
I recon that I probably could make an avatar like that...

/offtopic/ I use blender to make stuff like this most of the time:

Image
Blender internal renderer is a pretty powerful beast

/offtopic/
JD
Deadly
Deadly
Posts: 182
Joined: Thu Nov 25, 2010 10:42 pm
Location: London, UK

Re: Blender 3d Modeling Tutorials

Post by JD »

Wow, I want one of those in my Ooniverse!
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1375
Joined: Thu Apr 28, 2011 3:17 pm

Re: Blender 3d Modeling Tutorials

Post by mandoman »

Fantastic, Staer9. Now THAT is artistry at it's finest. :shock: :D
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2476
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: Blender 3d Modeling Tutorials

Post by Griff »

wow, that's really great Staer9 :D
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1878
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Re: Blender 3d Modeling Tutorials

Post by Arexack_Heretic »

Shiny!
Riding the Rocket!
User avatar
spud42
---- E L I T E ----
---- E L I T E ----
Posts: 1565
Joined: Wed Mar 26, 2014 10:11 am
Location: Brisbane,Australia

Re: Blender 3d Modeling Tutorials

Post by spud42 »

Staer9 wrote:
you can hit "g" to free-transform, that should also work on the unwrap panel

after you install it can should be able to click "use old settings" (or something like that)

personally I use blender 2.69 (newest from their site http://www.blender.org/download/)

although rumor has it that a new version is in development with a completely different UI, that'll probably be a while though
so after 13 pages i find the the reason i cant set it up like the first page is.... its different... just downloaded 2.70.
nothing in the first post about setting up the UI works...just as well they have the older versions still available...off to download 2.63.
Arthur: OK. Leave this to me. I'm British. I know how to queue.
OR i could go with
Arthur Dent: I always said there was something fundamentally wrong with the universe.
or simply
42
Post Reply