There's a bunch of ways going about this. Probably the simplest is to place a cube renderer inside the Kineme Polygon Mode patch set to wireframe. Other methods include iteration of a single edge GL line for more control of individual line colours. Generating the point co-ords in Javascript and feeding to GL Line structure patch is another way amongst many. Depends what else you want to do with it really as to which method is 'best'.
thanks for the example. i will break down and learn the mechanics. here is what i am looking to do. i want a horizon. on the ground i want white glowing tic-tac-toe pattern with more squares. on that i want to put clear cubes and a bunch of different size cubes. i want it to look like 3D field
here is a vimeo video. at about 1 1/2 mins. the project i am working will be different, but will be based on this concept.
to do it in QC its not so difficult.
The ground is a sprite, texture made in a photo-editor.
Everything (ground, objects, cubes) is placed in a Kineme GL Look At patch. At the beginning i placed all the objects manually (i made a sketch before, like a plan). After i started to use the GL look At.
Its a huge patch but working perfectly with many objects inside. A good possibility to play with the different Depth Testing and Face culling parameters.
So back to the cube, my solution is a texture (made in a photo-editor), just a thin white frame. You can do this frame with patches as well inside QC, but for me a 640*480 png file was the fastest.
There's a bunch of ways going about this. Probably the simplest is to place a cube renderer inside the Kineme Polygon Mode patch set to wireframe. Other methods include iteration of a single edge GL line for more control of individual line colours. Generating the point co-ords in Javascript and feeding to GL Line structure patch is another way amongst many. Depends what else you want to do with it really as to which method is 'best'.
Polygon Mode patch is part of Kineme GL Tools
thanks for the example. i will break down and learn the mechanics. here is what i am looking to do. i want a horizon. on the ground i want white glowing tic-tac-toe pattern with more squares. on that i want to put clear cubes and a bunch of different size cubes. i want it to look like 3D field
here is a vimeo video. at about 1 1/2 mins. the project i am working will be different, but will be based on this concept.
http://vimeo.com/10649387
thanx again for your help.
more like 2:00 min into the video, sorry
to do it in QC its not so difficult. The ground is a sprite, texture made in a photo-editor. Everything (ground, objects, cubes) is placed in a Kineme GL Look At patch. At the beginning i placed all the objects manually (i made a sketch before, like a plan). After i started to use the GL look At. Its a huge patch but working perfectly with many objects inside. A good possibility to play with the different Depth Testing and Face culling parameters. So back to the cube, my solution is a texture (made in a photo-editor), just a thin white frame. You can do this frame with patches as well inside QC, but for me a 640*480 png file was the fastest.
monkeypresso = pixel noizz ? great, i love your stuff ! (congrats on your CDM article)
(Yep. I changed monkeypresso's username today at his request.)
thanx. you have inspired me and made me look at quartz in a different way.
thanks guys.