LDCad 1.6 suggestions/plans


Re: LDCad 1.6 suggestions/plans
#61
Milan Vančura Wrote:edges are not transparent so one gets something like a wired model - emphasized groups still are not visible well
So what is needed is a 'real' ghosting feature, so instead of hiding parts they will remain somewhat visible. Should be fairly easy playing around with the alpha channel during rendering. I'll do some testing/trials with 1.6.

Milan Vančura Wrote:to set alpha channel of bricks walls one needs to modify ldconfig.ldr and restart LDCad (twice)l
You could try assigning them an encoded transparent color number during scripting, but I've never tested that myself. Only downside is the encoded transparency currently uses a hard coded alpha value of 0.75. Alternative would be to hide all the background stuff / render it separately and combine the two images using gimp or something.

Milan Vančura Wrote:scripting API does not contain any call to make a selection so I had to make a group containing all the model
Alternative would be to loop trough all reference lines setting the color for them one by one in script before assigning the color to the groups.
Code:
local sf=ldc.subfile()
  for i=1,sf:getRefCount() do
    sf:getRef(i):setColor(0x03FFFFFF)
  end


Milan Vančura Wrote:one needs scripting - this becomes even more complicated when/if we needed a real animation as welll
But that's where the fun lives Smile
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: LDCad 1.6 suggestions/plans - by Roland Melkert - 2016-01-13, 21:25
Re: LDCad 1.6 ROTSTEP feedback - by TestOne - 2016-02-25, 22:56
RE: LDCad 1.6 suggestions/plans - by Kai - 2016-05-23, 18:48
RE: LDCad 1.6 suggestions/plans - by Art - 2016-08-11, 12:56
RE: LDCad 1.6 suggestions/plans - by Art - 2016-08-12, 7:29
RE: LDCad 1.6 suggestions/plans - by Karen M - 2017-10-24, 10:28

Forum Jump:


Users browsing this thread: 2 Guest(s)