View Single Post
# 5 02-06-2009 , 01:45 AM
Chirone's Avatar
Subscriber
Join Date: Dec 2007
Location: NZ
Posts: 3,125

Originally posted by Joopson
though it takes a while...

a repetitive task that can be automated no less... perhaps joopson's answer is actually correct (it's quite clever imo) and you just need to write a script that will duplicate and snap cubes to the verts.

just throwing in a suggestion, i don't actually know the code to do such things yet...
writing the code to duplicate an object would be simple, but i'm not quite sure how to cycle through every vertex in a mesh to snap the position of the cube to it
getting an array to enumerate through of all the verts in a mesh might actually be trivial, i'm not sure, haven't tried it...

i could possibly try and find out if you like joopson's idea... it does sound like an easy automatable task, although if you have 9000 cubes that could put a bit of a strain on your computer... (planes maybe not so being only 1/6 of a cube)

could possibly be an easier way....


not sure yet how to solve the colour problem though... unless you tell each cube/plane to change their colour depending on their distance from the camera, which will be dynamic, and you'd end up with 9000 materials in your hypershade and your scene would probably crash as soon as you open it....
unless you can assign one material to them all that changes depending on the distance of the object.... which might be possible with expressions..... doing the scripts and expressions for this might be mightily trivial and doable within 10 minutes... or it could be a nightmare and take a few hours or days...

actually i think how much glow you get depends on how far away from the camera the object is...

when do you need this done by?






or, you could just emit particles from object, they are emitted from the verticies.
i suppose you'd use per particle colouring too, haven't figured that one out though




that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D

Last edited by Chirone; 02-06-2009 at 06:39 AM.