We are about to switch to a new forum software. Until then we have removed the registration on this forum.
maybe I have missed them the first time around but it seems like there are a bunch of new 3D primitives available under p5.js? that's cool! but it seems like you can't define which colors they should have? or am I missing something?
do setting stroke() and fill() before calling the primitive not work?
yes, it can be found in the reference ;)
koogs: no, that doesn't seem to change anything ...
@Xeronimo74, WEBGL canvas is still under heavy development at p5.js:
Ok! I was just wondering :D
Maybe they should add a note to these elements then on their reference page?
i get the feeling that the default webgl lighting is making things difficult.
the samples in the reference have all sorts of colours showing and there's nothing setting any colours so i can only assume that they are defaults. no idea how to turn these off.
or materials, maybe? maybe the default is normalMaterial()... try basicMaterial()
(i've never used p5.js. and i'm not about to start now)
Yes, that goes into the right direction! Thanks :)