Clear Outlined Cube

digitalgigalow's picture

Is there a tutorial for creating outlined cube that can be seen though. don't have example.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

usefuldesign.au's picture
Re: Clear Outlined Cube

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

PreviewAttachmentSize
demo for Polymode cube.qtz4.21 KB

digitalgigalow's picture
Re: Clear Outlined Cube

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.

digitalgigalow's picture
Re: Clear Outlined Cube

more like 2:00 min into the video, sorry

pixelnoizz's picture
Re: Clear Outlined Cube

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.

franz's picture
Re: Clear Outlined Cube

monkeypresso = pixel noizz ? great, i love your stuff ! (congrats on your CDM article)

smokris's picture
Re: Clear Outlined Cube

(Yep. I changed monkeypresso's username today at his request.)

digitalgigalow's picture
Re: Clear Outlined Cube

thanx. you have inspired me and made me look at quartz in a different way.

pixelnoizz's picture
Re: Clear Outlined Cube

thanks guys.