The outline of GMP2 is this:
(1) Make some basic gene files (text file) first. Input new file name for generate, push 'GENERATE NEW GENE' button. This file are generated 'gene_folder' on the desktop. (OSX) The file path is set here.
(2) Confirm the shape of this 'GENE'. Input this file name to 'file_nameU' field at 'Result of crossing' part, push 'SHOW RESULT' button. After a few seconds, or a few minutes, a new object will be generated on screen. If it is not good shape, push 'GENERATE NEW GENE' button, then new gene information will be over written into 'GENE' file. Push 'SHOW RESULT' button again. A new object will be displayed on layer[1]. (layer[1] have to be ON, please)
(3) Rewrite the file name, and push 'GENERATE NEW GENE' button again.
(4) Rewrite the file_nameU field to 2nd one, show result.
(5) Input first and 2nd gene file name to 'file_nameX' and 'file_nameY'. 'file_nameZ' is new file name that would be generated from two gene files.
(6) Input the generated hybrid gene file name into 'file_nameU' field, push 'SHOW RESULT'.
* Mesh and Text objects are generated on layer [1]. 'GENERATE NEW GENE' and 'SHOW RESULT' button delete the all object in the screen first, so if you need the object, move them to other hidden layer.
fascinating stuff :-)
ReplyDeleteam i overlooking something here ?
are you telling us how the use GMP2 without being able to use it ? :-)
Do you wanna try?
DeleteOk, code is here. Any question? and comment please. :-)
http://www.pasteall.org/30631/python
the script only generate shapes like worms or slug like nothing that have arms legs or horns , is there a code missing or the version of blender is different.
ReplyDeleteYes, sometimes this code generate those objects. It's normal. Try generate random gene file, or try this gene data (just a text data) into your gene data.
DeleteGGHGIIBDBCAFCCG-IBIAGFDB-CFAEDCGGBGGCBDECFCCGH-IDEHICAFDDFEHFEIHCGEI-GBCDFEDEBIIDHBFHIIIHH
the script was better than anything i have seen for what it suppose to do but after generating more than a 1000 couldn't get any of them to have legs arms horns and I am asking what scripts am I missing or need to include in the scripts folder and the version of blender that the script should work with
ReplyDeleteCould you send me a 'Gene' txt file or the text inside the file like 'GGHGIIBDBCAFCCG-IBIAGFDB-CFAEDCGGBGGCBDECFCCGH-IDEHICAFDDFEHFEIHCGEI-GBCDFEDEBIIDHBFHIIIHH'.
DeleteAnd tell me your System, OS version.
mailto: s.maeda@oud-japan.co.jp
Thanks
this are some one of them
DeleteEFECEDABEBHIGEB-EGBIFAHI-FGFAEHDGEDGFHABGBIBBC-AECAIBHECCIAHCAFABFAG-DIDAHECCCDIIGHFBGHDIB
CDDGCIABBCGFCDC-DCHGCECE-DFDIBGIGFGICAHADCDAAH-BIDIAIHIIAICGFDIIBFAA-EGEDEGIFEAACIEFFGFICF
and for the system i used are
Windows XP SP3 32bit
Windows 7 Ultimate 64bit
Linux Ubuntu 11.04
OSX
tried all and gut much of the same result no legs arms horns..
Thanks, I tried your data, that's good shape! :)
DeleteI'll send the pics.
Please check the process.
> OSX
1. set file path 5 points at script, line 62, 68, 78, 93, 103.
-> "/USERS/yourLoginName/desktop/gene_folder/"
2. Input gene file name(no need '.txt') you want to visualize into 'file_nameU' field, and push the 'SHOW RESULT' button.
Oh, I don't have your address. If you want to see them, please send me your address. :)
Deleterobelmzeleke@yahoo.com
DeleteTried what you suggested still getting the basic body and nothing more
Deletei seen the image you send but couldn't create the same
i am using blender 2.61 if that matter
or additional scripts that i needed to have
OK, I'll send my .blend file(include the code), and try it.
DeleteThank you that actually worked and it showed me what the problem was and that is instead of running a .py files i was running the .txt file script and I tried the privies file and works the same way
DeleteGood! Have fun. (^_^)
DeleteHi Shige,
ReplyDeleteawesome shapes you have generated with this script, great work!
I used your script to generate some shapes but it seems to only generate wormlike shapes, nothing like the shapes I have seen on your site. Seems that I only get the 'body' part and not all the limbs.
I first tried it with Blender 2.63 (x64, win7), but I had to adapt the script significantly (e.g. 'faces' has become 'tessfaces', several additional mesh.update() calls, extrude(type='REGION') --> extrude_region(), etc). I can send you the code, just let me know.
That modified script only generated wormlike shapes in the end and I have the feeling it doesn't properly select the vGroups to make the limbs.
Rather than debugging in 2.63, I just installed 2.57b (x64) and ran your original script, but I also get only these wormlike shapes.
Could you tell me in which version of Blender I should preferably run this script and how I should run it (now just pasted it in the text editor and executed it). Though I know my way in Blender and Python, I'm still a newbie, so perhaps I'm doing something wrong.
Tx and tx for sharing this script!
NT.
Hi NT,
DeleteThank you for your comment.
If the generated object was only Worm shape(I mean 'no legs, no arms, no horns), please check the select mode in Edit mode. If the select mode is 'vertex select mode' or 'edge select mode', this code make only worms. At first, add something(cube etc) and enter 'Edit' mode, select 'Face select' mode, exit to 'Object mode' and delete the cube.
I could send you a .blend file(for 2.62), with random parameters version, if you want.
please send me your e-mail address.
Thanks.
Hi Shige,
Deletethank you for the answer, works great now! I would love to use the v2.62 code, please send an email to artibi3000 a@t gmail (.) com.
Kind regards!
ArTibi3000.
I would also like to try the newer version of the code if possible I was unable to get this to work and it looked very interesting! If you would be willing to send it to me it would be very much apprecciated! my email is tightrun at msn dot com.
ReplyDeleteThanks!