Jump to content
THIS IS THE TEST SITE OF EUROBRICKS! ×
THIS IS THE TEST SITE OF EUROBRICKS!

Recommended Posts

Posted

Darats, I have read your post above.

Sorry for the late response, When I read it, I did not know how to do it.

I use only your parts not others lgeo parts.

I have convert all file in stl dir, to obj format with Poseray.

When I parse LDraw model, for each part I look into directory where files start with lg_

In the lg file I search line start with 'object {'and contains partname I read the obj file associate and apply rotate and translate if the are specified.

Currently I do nothing else.

Binoculars don't have a lg_ file only stl this is why it does not appear.

  • Replies 69
  • Created
  • Last Reply

Top Posters In This Topic

Posted

OK, so I guess you will not be able to use parts that have Studs or Understuds as I don't add them in my parts.

Same for patterned parts, you won't be able to convert them into obj files, right ?

I also like to add that many of my parts have some normals problems on flat surfaces. I'm currently reworking all of them to correct that, I've started from the beginning (alphabetically speaking) and some are already available in my package. This is those ones that you should convert, because the others will be reworked.

I will create the binocular soon, I think I forgot to create the lg_xxxx.inc file.

Posted (edited)

@Pedrollane

BTW I have one suggestion for you: what about contacting msx80 via PM and JOIN BOTH OF YOUR SF EFFORTS into one "product" so the would be support for both LDD and LDRAW SF renders in one sw? :wink:

Cos I know he plans to add LDRAW support sometime later but as you already have it successfuly implemented maybe you could help him or even better join your two sw into one...what do you think about the idea, hm? It'd be great I guess! :wink::thumbup:

Edited by bublible
Posted

@Pedrollane

Cos I know he plans to add LDRAW support sometime later but as you already have it successfuly implemented maybe you could help him or even better join your two sw into one...

When I asked he said he had no plans for LDraw support.

Posted

When I asked he said he had no plans for LDraw support.

You most probably did not got him quite right, I guess he meant he won't do that anytime soon as there are much more needed things needed to be done first, BUT if you look at the planed stuff here https://bitbucket.org/msx80/blueprint/issues/33/support-for-ldraw you will see it is there...

So I guess if one told him he has ready that parser for him he could change his mind and simply implement it.

Posted (edited)

I agree. Join the efforts for a single project would be a great idea and could bring to make both the projects better.

:thumbup:

+ it could also theoretically allow us to do stuff similar to those I did under POVRay when I was able "mix" LDRAW and LDD into one render, so I had like for example crater baseplate inside LDD model render. :grin:

Edited by bublible
Posted (edited)

@Pedrollane

BTW I have one suggestion for you: what about contacting msx80 via PM and JOIN BOTH OF YOUR SF EFFORTS into one "product" so the would be support for both LDD and LDRAW SF renders in one sw? :wink:

When I'm a little more advanced. I will publish all my sources under a free license.

Edited by Pedrollane
Posted

OK, so I guess you will not be able to use parts that have Studs or Understuds as I don't add them in my parts.

Same for patterned parts, you won't be able to convert them into obj files, right ?

I found a solution to read Povray 'for' loops, and imbricated for loops currently I'm able to generate baseplate.

I substitute :

- 'lg_tech_knob' -> stud2a.dat

- 'lg_knob' -> stud.dat

@Darats : Do you know if it's possible to convert a Povray prism into triangle ?

I use this link to have logo on studs : http://jc-tchang.phi...studlogo_tchang

Sunflow scene file 2.1 mo

mini_5680233947Low.png

Sunflow scene 40.79 mo with Darats HQ files

mini_3878593947HQ.png

Posted

OK, so I guess you will not be able to use parts that have Studs or Understuds as I don't add them in my parts.

This is why I suggested on LDraw.org forums that you put the studs in the files.

Posted

This is why I suggested on LDraw.org forums that you put the studs in the files.

I will not put the studs in my files because I need to keep the LGEO ability to remove logo on Studs.

I found a solution to read Povray 'for' loops, and imbricated for loops currently I'm able to generate baseplate.

I substitute :

- 'lg_tech_knob' -> stud2a.dat

- 'lg_knob' -> stud.dat

@Darats : Do you know if it's possible to convert a Povray prism into triangle ?

I use this link to have logo on studs : http://jc-tchang.phi...studlogo_tchang

You will need to subtitute:

lg_studs

lg_tech_studs

lg_tech_studs_logo

lg_column

lg_plate_column

lg_cylinder

lg_plate_cylinder

A 3 points prism is actually a triangle extruded through a specific direction.

so yes you might be able to convert it into triangle.

But usually I use prism to create pattern (intersection between the prism and the origianl part shape).

Posted (edited)

This is why I suggested on LDraw.org forums that you put the studs in the files.

I would be second that - it would allowing me make quality .obj versions of his bricks very easily cos at the moment I had to forget about it cos without studs it is quite useless + adding them myself by counting their exact position...blah, noway, it is pity really I guess.

I will not put the studs in my files because I need to keep the LGEO ability to remove logo on Studs.

Ah, that is pity although I understand you very well...

Edited by bublible
Posted

adding them myself by counting their exact position...blah, noway, it is pity really I guess

Come on, you don't want to add them by counting their exact position, but how do you think I would do it?

That's not really fair...

One more thing that prevent me adding studs: files size. My package is already more than 1Gb, I don't want to double the size with studs.

Another thing: all studs needs to be the same: you will have high qulity studs with the parts in my library and low quality studs with the other parts. I would not like it.

Posted (edited)

Come on, you don't want to add them by counting their exact position, but how do you think I would do it?

That's not really fair...

One more thing that prevent me adding studs: files size. My package is already more than 1Gb, I don't want to double the size with studs.

Another thing: all studs needs to be the same: you will have high qulity studs with the parts in my library and low quality studs with the other parts. I would not like it.

Darats, I did not want to attack you or sound somewhat disrespectful for your work: you have made perfect work, BUT I just said I would not losing my time assigning individual studs to every of your brick and as you just said yourself it would not be fair for anyone... :laugh:

Edited by bublible
Posted

All right. :)

No problem.

But actually, I'm still convinced that it shouldn't be that difficult to add studs by replacing LGEO studs and other primitive by .obj files and merge them with the part geometry. You would need a bit of programing and a .obj version of the few LGEO primitives.

Posted (edited)

All right. :)

No problem.

But actually, I'm still convinced that it shouldn't be that difficult to add studs by replacing LGEO studs and other primitive by .obj files and merge them with the part geometry. You would need a bit of programing and a .obj version of the few LGEO primitives.

Yea, and that is exactly what I do not want to go thru... :wink::laugh:

I just need grab a file and convert it straight into something other without too much messing around not even saying some programming (having on mind how many bricks need to be "converted"...see that I have other things to do, this should really be for me just a work for my spare time, you know :classic: ). :tongue:

Edited by bublible
Posted

All right. :)

No problem.

But actually, I'm still convinced that it shouldn't be that difficult to add studs by replacing LGEO studs and other primitive by .obj files and merge them with the part geometry. You would need a bit of programing and a .obj version of the few LGEO primitives.

I'm very interresting by .obj files for this LGEO primitives :

lg_studs

lg_tech_studs

lg_tech_studs_logo

lg_column

lg_plate_column

lg_cylinder

lg_plate_cylinder

Can you create them Darats ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

Announcements

  • THIS IS THE TEST SITE OF EUROBRICKS!

×
×
  • Create New...