I worked with these species and have had great success with both
P.rugosus i kept in enclsoure of aprox 600mm(lengh) x450mm(width) x600mm(height)
Many people do not give them much height but they do use it, in particular i noticed they often bask during the day on the branches closest to the light.
The P.barnardi i kept in exo terra glass enclosures of 60 x 45 x 45 cm / 24” x 18” x 18” (WxDxH) also with a light as a heat source.