08-12-2010 02:03 AM
hi all,
i'm quite new to LV so i'm here asking for help.
does anyone know how to create a 3D spiral curve over time thru LV 2009?
and how can i restore the data (that is, the coordinate points)?
thx a million.
p.s. i want to create a picture kind of like this one http://blenderartists.org/forum/showthread.php?t=43609
08-12-2010 06:43 AM
Have a look in the examples. There are several showing how to use 3D graphs.
All you reallly need is a 3D graph and the simple generation of the spiral. Attached is a poorly put together starting point...
Ian
08-16-2010 01:37 AM
to Ian,
i appreciate for your reply.
but how can i have a spiral "over time"?
what came up to my mind is to use "insert into array" to deal wth it
but then, problems will occur during data restorage. that is, i'll get data of the size of power of 2.
please help if you can, thx again!
08-16-2010 09:09 AM
Hi jhr,
I'm not quite sure what you mean by restorage or data of the size power of 2 - it depends how you handle the arrays.
To generate the spiral over time you can plot the graph 'inside' the loop, rather than after the loop has gathered all of the data. In other words you can add a data point to the graph after it is calculated, then calculate the next, plot, calculate, plot etc..
Ian
08-16-2010 10:36 AM
@_Ian_ wrote:
Have a look in the examples. There are several showing how to use 3D graphs.
All you reallly need is a 3D graph and the simple generation of the spiral. Attached is a poorly put together starting point...
Ian
This goes a little further. Make your data arrays first, send it into a loop, use the loop index to increase the length of the arrays with Array Subset.
Although I really should have put the Build Array OUTSIDE the loop. (I'm not takint time to make another JPEG
08-16-2010 10:38 AM
@NIquist wrote:
@ _Ian_ wrote:
Although I really should have put the Build Array OUTSIDE the loop. (I'm not takint time to make another JPEG
I think the compiler is "smart enough" to take care of this for you though! Ahhhh, technology 🙂
08-16-2010 10:54 AM
@for(imstuck) wrote:
@NIquist wrote:
@ _Ian_ wrote:
Although I really should have put the Build Array OUTSIDE the loop. (I'm not takint time to make another JPEG
I think the compiler is "smart enough" to take care of this for you though! Ahhhh, technology 🙂
Good point, but I still like to force myself to keep aware of these things, especially if I'm showing my code as an example.
BTW jhr, why don't you just do this with Blender? Add a particle system to the endpoint and a neat 3D background, you would have a cool video!