Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Material "shining thorugh" in wall panel

Anonymous
Not applicable
Hi all!

I have a question regarding materials in GDL.

I made a custom wall panel for a curtain wall, in which I am using my own, custom defined material to be placed on top of a mineral wool panel.

The sheet is 1 mm thick an is now floating in front of the panel at a distance of 1 mm. To my opinion I set the material to be solid.

Please help me see where I went wrong!

Code for the material:

define material "rr29" 0,  
	 0.625,0.0390625,0.01953125,
	! surface RGB [0.0 .. 1.0] 
	   1, 0.5, 0.02, 0,
	! ambient, diffuse, specular,transparent 
	 50,
	! shining [0.0 .. 100.0] 
		4,
	! transparency attenuation [0.0 .. 4.0] 
	0, 0,0,
	! specular RGB [0.0 .. 1.0]
	0, 0, 0,
	! emission RGB [0.0 .. 1.0]
	0

Code for the panel: (profile is the mineral wool panel and it is covered on both sides by apparently semi-translucent panels.)

!profile
	cprism_ side_mat,side_mat,side_mat,29,zzyzx,
		0.001,0.0176,15,
		0.0102,0.0176,15,
		0.0114,0.006,15,
		B/2-0.031,0.006,15,
		B/2-0.029,0,15,
		B/2-0.020,0,15,
		B/2-0.012,0.016,15,
		B/2+0.012,0.016,15,
		B/2+0.020,0,15,
		B/2+0.029,0,15,
		B/2+0.031,0.006,15,
		B-0.0114,0.006,15,
		B-0.0102,0.0176,15,	
		B-0.001,0.0176,15,
		B-0.001,A,15,
		B-0.005,A,15,
		B-0.005,A+0.006,15,
		B/2+0.031,A+0.006,15,
		B/2+0.029,A+0.006,15,
		B/2+0.020,A+0.006,15,
		B/2+0.012,A+0.016,15,
		B/2-0.012,A+0.016,15,
		B/2-0.020,A+0.006,15,
		B/2-0.029,A+0.006,15,
		B/2-0.031,A+0.006,15,
		0.006,A+0.006,15,
		0.006,A,15,
		0.001,A,15,
		0.001,0.0176,15	

!colors inside panel
	cprism_ internalfacingcolorvalue, internalfacingcolorvalue, internalfacingcolorvalue, 5, zzyzx,
		0,0,15,
		0,A,15,
		0.001,A,15,
		0.001,0,15,
		0,0,15

!color outside panel
	cprism_ externalfacingcolorvalue, externalfacingcolorvalue, externalfacingcolorvalue, 5, zzyzx,
		B,0,15,
		B,A,15,
		B-0.001,A,15,
		B-0.001,0,15,
		B,0,15

endif


Much appreciated if someone could show me what to do to make the side panels solid looking!

Could it also be that due to the fact that they are so thin (1mm) they wool shows through, even though the material is solid?

Capture.PNG
8 REPLIES 8
Anonymous
Not applicable
I’m pretty sure it is because panel is only 1mm thick that the insulation is grinning through, can you increase the thickness of the covering material? Or. If you are concerned about quantity for measurement I would introduce a small air gap between the insulation and the panel, this would mimic the adhesive layer that would be there in reality.
Scott
Anonymous
Not applicable
Thanks!

This seems to have done the trick!
Anonymous
Not applicable
This actually didn't do the trick .

I added a 1 mm air gap to no effect.

Any other ideas on how to prevent the material from shining through? Very annoying as it happens only under certain angles and once zoomed in to a certain level.
!colors inside panel
cprism_ internalfacingcolorvalue, internalfacingcolorvalue, internalfacingcolorvalue, 5, zzyzx,
0,0,15,
0,A,15,
0.01,A,15,
0.01,0,15,
0,0,15

!color outside panel
cprism_ externalfacingcolorvalue, externalfacingcolorvalue, externalfacingcolorvalue, 5, zzyzx,
B,0,15,
B,A,15,
B-0.001,A,15,
B-0.001,0,15,
B,0,15

cprism_ side_mat, side_mat, side_mat, 5, zzyzx,
0.002,0,15,
B-0.002,0,15,
B-0.002,A,15,
0.002,A,15,
0.002,0,15
Anonymous
Not applicable
Edit: seems to work in more recent ArchiCad versions (19+) so not an issue at the moment

Phieuw!
Bruce
Advisor
The screenshot you attached looks like it’s taken straight from the 3D window. Thin / close materials will always show through in this situation. Does it still show through in a render, 3D document, or coloured elevation?
Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Anonymous
Not applicable
Hi Bruce.

Luckily it doesnt.

I was just wonderin if there was anything I could do about it as for a designer/architect it could be annoying to work with.
Bruce
Advisor
Not that I know of. This isn't an ARCHICAD-specific thing though, nor is it a bug. Many 3D programs will 'show' geometry through surfaces that are very close to each other in the modelling window. They will clean up for output views though.
Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
runxel
Legend
Bruce wrote:
Not that I know of. This isn't an ARCHICAD-specific thing though, nor is it a bug. Many 3D programs will 'show' geometry through surfaces that are very close to each other in the modelling window. They will clean up for output views though.
Thats the point. I assume the z-buffer is not that precise in the 3d window, because it does not need to be.
With the obligatory rounding errors you'll get this look in this case sometimes.
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»