Sign in to follow this  
Nachapon Lego

LDD2povray trick: place decals & overlap bricks anywhere

Recommended Posts

Template Lxf: http://www.brickshelf.com/gallery/nachapon/94UCSSSD/16_decal_template.lxf

16881466137_ef0ea3a276_z.jpg

Decal template

16902648159_266fdb79c8_z.jpg

Quick demo build

17062905026_32e2ff0bbc_z.jpg

Delete template by color and export to 1st lxfml then undo undelete , but place one template outside the scene. (for make sure both lxfml to include needed bricks and decals)

17087374192_04225096d2_z.jpg

Delete all brick but template by color invert

16881466577_4df4872350_z.jpg

Move all templates in place

17087376072_2a3cc2ebea_z.jpg

Delete all template guide bricks _change color _export to 2nd lxfml

Use ldd2povray to convert (do not render yet) 1st.lxfml and 2nd.lxfml (do NOT use part position variances)

Then open 1st.ini 1st.pov 2nd.pov in POv-ray.

Drag select and copy 2nd.pov's bricks part:

bricks part sample:

ldd_3039(array[2]{23,0},array[1]{86666},array[1][12]{{0,0,-1,-0.31106442213058472,0.95038872957229614,0,0.95038890838623047,0.31106436252593994,0,1.8326966762542725,0.73403692245483398,-1.2000001668930054}})

ldd_3039(array[2]{23,0},array[1]{86666},array[1][12]{{0,-0.99999988079071045,0,0.31106433272361755,0,0.95038890838623047,-0.95038878917694092,0,0.31106439232826233,2.9673032760620117,1.2000994682312012,1.5340409278869629}})

ldd_3039(array[2]{23,0},array[1]{86666},array[1][12]{{1,0,0,0,0.95038890838623047,-0.31106442213058472,0,0.31106442213058472,0.95038890838623047,-0.39999976754188538,0.73404121398925781,0.23269671201705933}})

ldd_3039(array[2]{23,0},array[1]{86666},array[1][12]{{0,0,1,0.31106439232826233,0.95038884878158569,0,-0.95038878917694092,0.31106439232826233,0,-1.8326966762542725,0.73404121398925781,-1.9999997615814209}})

ldd_3039(array[2]{23,0},array[1]{86666},array[1][12]{{0,1,0,-0.95038890838623047,0,-0.31106439232826233,-0.31106442213058472,0,0.95038884878158569,-2.334040641784668,0.40020030736923218,-4.5673031806945801}})

ldd_3039(array[2]{23,0},array[1]{86666},array[1][12]{{-1,0,0,0,0.95038878917694092,0.31106442213058472,0,0.31106439232826233,-0.95038890838623047,0.39999973773956299,0.73403787612915039,-3.4326968193054199}})

ldd_3039(array[2]{23,0},array[1]{86666},array[1][12]{{0,-0.99999994039535522,0,0.31106436252593994,0,0.95038890838623047,-0.95038884878158569,0,0.31106439232826233,-3.432697057723999,1.1999962329864502,4.8940415382385254}})

Then paste it into end of 1st.pov

Then render the 1st.ini

16902650999_7f9f6a10d6_z.jpg

Copy 2nd lxfml 's brick to 1st and render

Using same method can make these:

17016334651_9b57212b1a_c.jpg

HAN by Nachapon S., on Flickr

16831231608_771f1027aa_c.jpg

Darth by Nachapon S., on Flickr

17020688135_d3fd715b98_c.jpgsw gold by Nachapon S., on Flickr

Edited by bbqqq

Share this post


Link to post
Share on other sites

Well, sorry to inform you but to my practical knowledge as I said earlier elsewhere: this simply won't work as you intend to with "normal" model that has some "complicated" rotation (for example I rotate the model tiself in LDD not the LDD view) angles all around + you do not mention anywhere how did you get the right angle and position of the second brick cos if you simply place them side by side and then change its angle with help of, for example, brick 3937+3938 to simulate 3298's angle the brick will move up a bit that is not in any standard LDD value, like 1u, or 1/3u so how do you get it right then...?

And there are other problems also I will mention later...but first: can you answer my question above? :look:

+ also you links require having Yahoo account so no go with that for me, ah. :hmpf_bad:

UPDATE:

Maybe because you did not say how to apply the rotation (maybe you did in those Yahoo links that are unreachable for me, I don't know), I was rotating the second brick from back underneath pins, but when I rotate it from front underneath pins the position is OK now...I rather go and play with it and reply later to avoid any misunderstanding :blush:

+ meantime you could actually update/change those Yahoo links in case there is everything explained cos this way one without Yahoo account have to simply try with erors :sceptic:

Share this post


Link to post
Share on other sites
do NOT use part position variances)

Also where in LDD2POVRAY is this one? Cos there is nothing like that there...the only thing that is somehow close to that term is "Use custom materials" or "Use part materials"...hm??? :look:

Anyway still doesn't work as it should, this is what I am getting permanently

test.png

...and yet: although if I would manage to make it somehow according to your rendered images there is still clearly visible stripe from the 3039 slope holding that decoration, so that said I am affraid this cannot be taken as a solution for me cos it doesn't look good at this point...so we have to most probably wait for the LDD brick 3298 update so it becomes decorable :sceptic:

But meanwhile there is another thought that striked me while ago: what about using transparent box with applied texture on its one side (.png picture = our decor) and have it transformed (position and angles) by the 3298? I guess just as a principle it could work... :wink:

Share this post


Link to post
Share on other sites

But meanwhile there is another thought that striked me while ago: what about using transparent box with applied texture on its one side (.png picture = our decor) and have it transformed (position and angles) by the 3298? I guess just as a principle it could work... :wink:

Well, guys, just a few minutes later I have made it, so here is a quick simple render as a "proof of the concept" (that is: transparent box with decoration transformed by brick matrix) - I used wrong decor here (actually for a 1x2 brick) so its deformed and upside down but it doesn't matter as it is only a question of right decor there with this solution we can from now on DECORATE ANY BRICK AT ALL INCLUDING THOSE WITHOUT EXISTING DECORS :wink:

2015-04-09_transbox.png

P.S.: tomorrow I will post the srcipt and "How to"

Edited by bublible

Share this post


Link to post
Share on other sites

OK, so before I go to sleep (I almost do now, it's 04:00 morning here, gee!) I made a quick teaser-like pseudoposter for tomorrow (ehm, for today), here it is just to show you a few examles I made now, hope you will like it, so see you + thanx a lot for inspiration, bbqqq :wink:

2015-04-09_transpolygondecors.png

Share this post


Link to post
Share on other sites

Great work! can't wait to see your scripts. :sweet::thumbup:

Thanx, from you it means a lot for me as I think you are one of the most inovative members here! :classic:

And yes, I am actually building mymtutorial, concept is ready,,now I have to give it a "shape", so later today I will make new separate post... :wink:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.