2022-10-01 03:31 PM - edited 2022-10-01 03:34 PM
The picture command unfortunately only knows one setting for an always visible border line
Who knows a simple way to work around this?
so - to get an GDL image -simply resizeable like the picture-command - without border lines in 3D.
Solved! Go to Solution.
2022-10-02 01:36 PM - last edited on 2022-10-04 12:01 AM by Laszlo Nagy
This works in 3d.
mask=0
rotx 45
group "pict"
if picturename #"" then PICTURE picturename, a, b, mask
endgroup
placegroup "pict"
addz 2
repl_directive = 0
j1=0!: replace pen,
j2=0!: replace material,
j4=1!: make edges invisible.
repl_directive = j1 + 2*j2 + 4*j3 + 8*j4
pen_= 1
material_=0
placegroup CREATEGROUPWITHMATERIAL ("pict", repl_directive, pen_, material_)
2022-10-01 03:56 PM
Shot in the dark, have you tried different pen settings before the picture command including background and transparent. The frame makes reference to using RECT which doesn't have pen settings so I assume relies on the PEN setting.
2022-10-01 07:28 PM - edited 2022-10-01 07:28 PM
no - unfortunately not - i cant turn it off completely to just show the picture without the lineframe with the pen-setting.
2022-10-02 01:13 PM
You can't have that with PICTURE, Heimo.
Either use a Graphic Override to get rid of the outline.
Or just use "DEFINE TEXTURE" with any geometry.
This might be the best option.
2022-10-02 01:36 PM - last edited on 2022-10-04 12:01 AM by Laszlo Nagy
This works in 3d.
mask=0
rotx 45
group "pict"
if picturename #"" then PICTURE picturename, a, b, mask
endgroup
placegroup "pict"
addz 2
repl_directive = 0
j1=0!: replace pen,
j2=0!: replace material,
j4=1!: make edges invisible.
repl_directive = j1 + 2*j2 + 4*j3 + 8*j4
pen_= 1
material_=0
placegroup CREATEGROUPWITHMATERIAL ("pict", repl_directive, pen_, material_)
2022-10-02 05:42 PM - last edited on 2022-10-04 12:01 AM by Laszlo Nagy
Thank You - it worked fine!
@Pertti Paasky wrote:This works in 3d. mask=0 rotx 45 group "pict" if picturename #"" then PICTURE picturename, a, b, mask endgroup placegroup "pict" addz 2 repl_directive = 0 j1=0!: replace pen, j2=0!: replace material, j4=1!: make edges invisible. repl_directive = j1 + 2*j2 + 4*j3 + 8*j4 pen_= 1 material_=0 placegroup CREATEGROUPWITHMATERIAL ("pict", repl_directive, pen_, material_)
I did it for the whole group i already had with all pictures in it:
repl_directive = 0 !!! GDL Handbuch Seite 183
j1=0!: replace pen,
j2=0!: replace material,
j3=0!: ????
j4=1!: make edges invisible.
repl_directive = j1 + 2*j2 + 4*j3 + 8*j4
pen_= 1
material_=0
if OhneRahmenLinien = 1 then
placegroup CREATEGROUPWITHMATERIAL (Wandvorsatz, repl_directive, pen_, material_)
else
placegroup Wandvorsatz
endif
For What:
https://forum.Graphisoft.de/viewtopic.php?f=6&t=28872