WIP / DarkLEGO - BlockCAD in DBPro |
| Author | Message | ||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
This is a wip function to import BlockCAD .lgo files into DBPro. It currently supports all the "Small Blocks" + the 2x2 slope. I'm currently working on a function that imports LDraw LEGO model files. VIDEOS: Video 1 with PHYSICS DOWNLOADS: 1st demo program loads:+ Code Snippet demo prog with physics IMAGES: |
||
| Back to top |
|||
|
Alquerian
User Joined: Wed Mar 29th 2006 Location: Northern California |
|
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
thank you! Soon there will also be a test prgram for everyone! EDIT: now 5 blocks supported sample_scene1: |
||
| Back to top |
|||
|
zzz
User ![]() Joined: Sun Nov 13th 2005 Location: Sweden |
|
||
| Back to top |
|||
|
Roxas
User Joined: Fri Nov 11th 2005 Location: http://forum.thegamecreators.com |
And CAD is very powerful for making levels.. [B] - LINKIN PARK - [/B] ![]() ![]() |
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
short wip shot: (now 10 block types supported, enough for this night) |
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
First demo program. Loads any .lgo file, but supports only the following 10 types of bricks: + Code Snippet (.zip file attached, all files (c) by me (I made them)) |
||
| Back to top |
|||
|
Xenocythe
User Joined: Thu May 26th 2005 Location: You Essay. |
|
||
| Back to top |
|||
|
Agent Dink
User Joined: Tue Mar 30th 2004 Location: Most likely my bedroom |
Hey, nice! I love the lighting on the bricks too. I have no signature... |
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
1st video on youtube! I added DarkPHYSICS to my legos and the results are stunning here the video (or look @ the first post) video 1 |
||
| Back to top |
|||
|
Pricey
User Joined: Sat Feb 22nd 2003 Location: Cyberspace |
dude! thats awesome! http://forum.thegamecreators.com/?m=forum_view&t=97191&b=32 God Of Thunder DEMO |
||
| Back to top |
|||
|
Nemesis_0_
User ![]() Joined: Fri Dec 26th 2003 Location: Canada |
All your legos are belong to us ~*~ Life Is Temporary, Gaming Is Eternal ~*~ |
||
| Back to top |
|||
|
Agent Dink
User Joined: Tue Mar 30th 2004 Location: Most likely my bedroom |
Nice vid. The lighting on the bricks is excellent and the physics look great. Needs good lego collapsing sounds now too! I have no signature... |
||
| Back to top |
|||
|
Bizar Guy
User ![]() Joined: Wed Apr 20th 2005 Location: Collegeland |
|
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
hmm, good idea... i'll try to do this by giving a higher mass to blocks that are next the bottom EDIT: it didn't work |
||
| Back to top |
|||
|
dark coder
User Joined: Sun Oct 6th 2002 Location: Japan |
|
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
wich joint? 6dof or x or y or z or ...?????? |
||
| Back to top |
|||
|
Diggsey
User Joined: Mon Apr 24th 2006 Location: On this web page. |
You should just set a very high friction value for the top and bottom of the bricks (If that's possible!) |
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
I don't think that's possible! anyway as dark coder said, I added a fixed joint between 2 following objects randomly: + Code Snippet EDIT: it does not work, they break anyway |
||
| Back to top |
|||
|
Google Ad
AdBot Joined: Aug 26th 2002 Location: Everywhere |
|||
| Back to top |
|||
|
FROGGIE!
User Joined: Sat Oct 4th 2003 Location: in front of my computer |
That is awesome, whens the version with dark physics going to be released? |
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
oh you want this!? ok, I'll upload it. It loads all the current blocks supported, has much more of my own sample files and buildings and so on... the controls: firstly, you need to select a flie and detail level, then a temporary dialog appears : abrissbirne? yes no click yes if you wish a big black sphere wich will destroy the model. then click enter to start the simulation, or space, up, down, ctrl and "F" to place "bombs" [download available soon] |
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
edit of previous post: press shift to restart the demo |
||
| Back to top |
|||
|
Zombie 20
User Joined: Sun Nov 26th 2006 Location: Etters, PA |
That is soooo cool. ![]() |
||
| Back to top |
|||
|
TEH_CODERER
User ![]() Joined: Wed Nov 12th 2003 Location: Right behind you! |
|
||
| Back to top |
|||
|
Brain111
User ![]() Joined: Mon Feb 5th 2007 Location: In my own little world. |
That was one of the coolest things ive seen in a while. Awesome. |
||
| Back to top |
|||
|
zenassem
User ![]() Joined: Mon Mar 10th 2003 Location: Long Island, NY |
[Edit] Ok I just found the link about Block Cad and see that it uses Ldraw already. [/Edit] ===== Since all the Lego pieces are already modeled in cad for LDraw and can be used with MLCAD, can't you just work with them? The license doesn't have many restrictions for part use. But things may have changed a little since I worked with them. Read this letter, and follow the links for more info, the steering committee discussed the revamped licensing on lugnet. I used povray to render my models, and another an extension to include instructions like factory lego products. All the steps on how to set everything up are in the link. Heres the File Standards. ![]() |
||
| Back to top |
|||
|
indi
User Joined: Mon Aug 26th 2002 Location: Earth, Brisbane, Australia |
|
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
@zenassem so you want ME to write an importer for the .dat file fromat!? ok, it's worth a try EDIT: ok I looked a bit in the format and it seems to be just like a script with some functions, wich i could port to DarkBASIC. Anyway, receiving some help at writing the face commands would be nice. (commands that add faces with 3 or 4 sides and a coulour (diffuse and ambient) to a model memblock). Also, wich fvf format do i need to use if I want to be able to specify an ambientCOLOR too? |
||
| Back to top |
|||
|
Green7
User Joined: Wed Nov 23rd 2005 Location: Worb, Switzerland |
Looks nice, it remains me at old days, sitting in my room, playing with Lego blocks... Ah ja, u no öppis, u das mues itze eifach si: Bärn, ForTheWin! ![]() |
||
| Back to top |
|||
|
BatVink
TGC Newsletter Editor ![]() ![]() Joined: Fri Apr 4th 2003 Location: Chilling |
Quote: "anyway as dark coder said, I added a fixed joint between 2 following objects randomly
EDIT: it does not work, they break anyway " Random joints with random break limits would create a much better effect. Then, different sections would break at different speeds. Your break limit in the example was very low anyway. This is very nice stuff |
||
| Back to top |
|||
|
zenassem
User ![]() Joined: Mon Mar 10th 2003 Location: Long Island, NY |
@Master Xilo, Yeah I think you should load the ldraw .dat parts-list into your program. I got confused as to whether you were attempting to model all the lego pieces yourself. And I am still not positive exactly what you are doing. I will need to re-read your post, and demo your app again. My first read of your post (It was late about 3:00am) I didn't know anything about Block-Cad as I always used MLCAD. After posting I went on to read about block-cad and found out that it also makes use of the standardized ldraw.dat parts-list. But I also read the limitations it had with dealing with flipping parts upside-down, rotations, and restrictions on dynamic flexible parts, like flexible axels, springs, etc... I tought you were sort of making a lego cad like tool to build lego levels for a game. Let me re-read the entire thread, and make sure I am on the same page. ![]() |
||
| Back to top |
|||
|
Wolfee
User Joined: Fri May 14th 2004 Location: Cyberspace |
Hi guys! Master Xilo, this work is very fantastic. But could you tell me some more about LGO format? I try to make a LGO->DBO converter, but i need some help with it. if you cuold give me some links, it would be lovely as well THX Wolfee Wolfee from Hungary |
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
could anyone help me to finish writing my .dat (ldraw lego format, ldraw supports all existing bricks, blockcad can also export to .dat) to dbo converting/loading function? I'm done with the half of the work now I think, but I don't get any further , perhaps someone could help? ask me for the code (and have a look @ the links wich zenassem posted) EDIT: it also needs the matrix1util plugin here a scene of the current wip function. The 2x2 brick works fine, but the top-modelpart of the 2x4bricks and all the rotated bricks seem to be scaled to 0 (and (thats the first time I say this): i don't know why!): |
||
| Back to top |
|||
|
zavix
User Joined: Sat Sep 2nd 2006 Location: hiding in solitude. away from all. |
legos were fun. but I'm now into the Mega blocks Dragons series. but I'll still play this demo. I don't care what they say. T3DGM Rules!!! |
||
| Back to top |
|||
|
Dr Manette
User Joined: Tue Jan 17th 2006 Location: BioFox Games hq |
Are you using plains for the block's sides? I've found (working with Blender) that plains show only one side and the other is "invisable". This is because plains are one sided. If so, use cubes instead. If not, then whateves. Looks awesome, btw! Simply awesome. ![]() BioFox Games...http://www.biofoxgames.com Life after death http://www.biofoxgames.com/comic/index.php |
||
| Back to top |
|||
|
Master Xilo
User Joined: Fri Sep 8th 2006 Location: Bern, Switzerland |
I already know this, that's called backface culling. But that's not my problem, because this sides eaven don't show if I go inside the brick or disable culling: set object cull object,0 It's a scaling problem with the matrixes used in the dat format. Any help would be great! |
||
| Back to top |
|||
|
Aralox
User Joined: Tue Jan 16th 2007 Location: Melbourne |
Love it, cant wait to try it. Im just wondering, what music did you use in the first part of the vid? |
||
| Back to top |
|||
|
Penfold
User ![]() Joined: Wed Dec 3rd 2003 Location: RED postbox houses of parliment |
@Xilo , are you still working on the rpg? Myself and others have messages but you don't seem to reply. 'Ooh 'eck chief'...'crumbs' |
||
| Back to top |
|||
|
Glenn Carter
User Joined: Sun Mar 20th 2005 Location: United Kingdom |
This is seriously cool and fun! Good stuff. Glenn Carter |
||
| Back to top |
|||
Sorry, but it has been so long since anyone replied to this Thread that it has been automatically locked.
You may read it but not reply.
You may read it but not reply.
Forum Search
Enter a word or phrase to search our Forum for:
|
|



























