Customizing worldbox using jit.gl.material to make my environment look nicer?

Apr 28, 2013 at 3:37pm

Customizing worldbox using jit.gl.material to make my environment look nicer?

Hello,

i am new to jitter, and have been following the tutorials by cycling 74 on youtube, namely this one – https://www.youtube.com/watch?v=bArs9nnvGCw&list=PL96110202D5F10590

In the video, he starts by creating a 6-sided worldbox for the objects in the pwindow.

My first question is how do you use jit.gl.material to customize the interior 6 walls for colour, shading etc. etc?

I am sorry if that sounds ambiguous, maybe check out the first 30 seconds of the video to see what i am referring to?

thanks

Will

#67981
Apr 28, 2013 at 6:27pm

You can use a jit.gl.gridshape @shape cube or opencube, resize it to the size of your jit.phys.world, and then apply the material to it.
You may also want to move the light source inside the cube (which I didn’t in this patch).

– Pasted Max Patch, click to expand. –
#244297

You must be logged in to reply to this topic.