Oolite Bulletins

For information and discussion about Oolite.
It is currently Sat Sep 23, 2017 7:11 am

All times are UTC




Post new topic  Reply to topic  [ 215 posts ]  Go to page Previous 111 12 13 14 15 Next
Author Message
PostPosted: Tue Jul 23, 2013 8:00 pm 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
Quote:
Quote:
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

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Fri Jul 26, 2013 7:23 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 248
Quote:
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

_________________
Povray Planets - Planet textures for your galaxy


Top
   
PostPosted: Fri Jul 26, 2013 7:57 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 248
Quote:
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:
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

_________________
Povray Planets - Planet textures for your galaxy


Top
   
PostPosted: Thu Aug 01, 2013 9:24 pm 
Offline
Mostly Harmless
Mostly Harmless

Joined: Tue Jul 23, 2013 4:11 am
Posts: 3
Quote:
Is this the expected 'complain loudly' behaviour?
Code:
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.


Top
   
PostPosted: Tue Nov 12, 2013 4:53 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Apr 28, 2011 3:17 pm
Posts: 1368
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


Top
   
PostPosted: Sat Nov 16, 2013 12:56 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Fri Feb 18, 2011 4:53 pm
Posts: 570
Location: Hatfield, Hertfordshire (poor industrial)
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


Top
   
PostPosted: Sat Nov 16, 2013 1:20 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Apr 28, 2011 3:17 pm
Posts: 1368
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


Top
   
PostPosted: Sat Nov 16, 2013 3:13 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Fri Feb 18, 2011 4:53 pm
Posts: 570
Location: Hatfield, Hertfordshire (poor industrial)
Quote:
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


Top
   
PostPosted: Sat Nov 16, 2013 5:42 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Apr 28, 2011 3:17 pm
Posts: 1368
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


Top
   
PostPosted: Mon Nov 18, 2013 2:18 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Fri Feb 18, 2011 4:53 pm
Posts: 570
Location: Hatfield, Hertfordshire (poor industrial)
Quote:
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/


Top
   
PostPosted: Mon Nov 18, 2013 2:41 pm 
Offline
Deadly
Deadly

Joined: Thu Nov 25, 2010 10:42 pm
Posts: 144
Location: London, UK
Wow, I want one of those in my Ooniverse!


Top
   
PostPosted: Mon Nov 18, 2013 6:12 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu Apr 28, 2011 3:17 pm
Posts: 1368
Fantastic, Staer9. Now THAT is artistry at it's finest. :shock: :D

_________________
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman


Top
   
PostPosted: Wed Nov 20, 2013 3:47 pm 
Offline
Oolite 2 Art Director
Oolite 2 Art Director
User avatar

Joined: Fri Jul 14, 2006 12:29 pm
Posts: 2263
Location: Wales
wow, that's really great Staer9 :D

_________________
Wiki homepage for my OXP: http://wiki.alioth.net/index.php/Griff_Industries


Top
   
PostPosted: Wed Nov 20, 2013 7:09 pm 
Offline
Dangerous Subversive Element
Dangerous Subversive Element
User avatar

Joined: Tue Jun 07, 2005 7:32 pm
Posts: 1873
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Shiny!

_________________
Riding the Rocket!


Top
   
PostPosted: Wed May 14, 2014 10:01 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Mar 26, 2014 10:11 am
Posts: 942
Location: Brisbane,Australia
Quote:
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 215 posts ]  Go to page Previous 111 12 13 14 15 Next

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider] and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited