LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-18-2015, 04:35 AM   #1
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Smile Blender choppingb up in 1600 pieces...


hi all
Maybe not really the games forum for this, but...it does concern a game.
I have designed a landscape...and I'd like to divide it into tiles...have done that...there are...1600 of them.
What I do not is export each one of them...that basically involves the same keystrokes...and it may need to be repeated as soon as I edit/change the landscape...
Any clever brain here that knows how to automate this? Each tile has a separate name of course...
Thanks
Melissa
=^.^=
 
Old 10-18-2015, 08:24 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Blender has a scripting API to automate tasks (and do some other pretty amazing stuff), which uses Python. You should be able to use that: http://www.blender.org/api/blender_p..._2_76_release/
 
1 members found this post helpful.
Old 10-18-2015, 08:42 AM   #3
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
thank you...popping over now...1600 tiles...that'll take a while
Melissa
xxx
 
Old 10-18-2015, 04:30 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you might want to post a blender 3d in the blenderartists.org forum
http://blenderartists.org/forum/index.php

Quote:
I have designed a landscape
is this a mesh or a displacement using a normalmap ?
example of mesh and texture draped over it
http://imgbox.com/xmJfpRG4
--4k render--
http://imgbox.com/4qZIeXWA

or is this landscape a DEM ( i work with heightmaps all the time )

http://imgbox.com/1IFyyWGP

if the landscape is a rendered image then cutting the image into tiles is easy
-imagemagick can do it
- vips can do it
- Gmic can do it

if it is a node based large area ( first example )

use the python scripting in blender to cut a small area and export it to ??? a obj and mat files
or do you need a image and NOT a 3d mesh at the end

for a image
rendering the whole things in nodes and your GPU then cut up the resulting photo

Last edited by John VV; 10-18-2015 at 05:05 PM.
 
1 members found this post helpful.
Old 10-20-2015, 03:26 AM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
you might want to post a blender 3d in the blenderartists.org forum
Actually, I should, still have a login on that one too
These landscapes look great!
Basically I clean the whole scene and add on plane that I size up. Then I subdivide and triangulate...then I duplicate that a few (1600 in this case) times (selecting a whole line and duplicating that, then moving/grabbing it in either the X or the Y direction). Then I join the thing and basically hand-mould the resulting "cloth"
Then I move over to the UV texturing...
Once that's done, I end up in the "taking apart tile per tile" to export this to Collada (perhaps not the most efficient, but it helps)...so...this is where the current challenge comes from...
No procedures or such to render a landscape (does kinda defeat the surprise element though, allas) but hand crafted stuff
Melissa
Edit - this is a little thing I worked out all lopoly...intentionally done so...

Last edited by ButterflyMelissa; 10-20-2015 at 04:04 AM.
 
Old 10-20-2015, 10:04 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
have you looked at the built in "cell fracture"
http://blog.digitaltutors.com/using-...nced-dynamics/
a vid example
https://www.youtube.com/watch?v=DEo_9AopfoQ
 
1 members found this post helpful.
Old 10-21-2015, 06:33 PM   #7
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
WOW!!!
 
  


Reply

Tags
blender



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Blender 2.63 only runs if I type /opt/blender/blender in cmdline Jeebizz Slackware 6 07-23-2013 05:00 PM
LXer: Getting Your Feet Wet with Blender: A Short Guide to Understanding Blender LXer Syndicated Linux News 0 02-16-2011 01:11 PM
LXer: 12 Unique Blender Tutorials Every Blender Enthusiast Should Know Of LXer Syndicated Linux News 0 10-06-2010 07:42 PM
LXer: The Essential Blender: Guide to 3D Creation with the Open Source Suite Blender LXer Syndicated Linux News 0 11-23-2007 11:00 AM
Blender problem: can't run Blender, anyone know how? Chuong Linux - Software 11 09-01-2006 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration