|
Yella Teichmann
Registered User
Join date: 27 Jul 2008
Posts: 6
|
08-13-2008 19:14
Is it possible to create dynamic graphs in SL? As in, can I make a display in SL, scripted using LSL or otherwise, that has a graph that dynamically progresses over time, as opposed to having the whole graph being displayed at once? If so, how do I make such a graph in SL?
Since we're already on this note. Can I also make text appear on the display that changes?
Thanks, Yella.
|
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
08-13-2008 23:09
make a bar graph out of prims, link it together, then use llSetLinkPrimitiveParams() to change the size of the bars as needed.
If you do it right, you can even have the thing dynamically rez/derez bars as needed and even adjust things depending on the root prims size.
|
|
Yella Teichmann
Registered User
Join date: 27 Jul 2008
Posts: 6
|
08-13-2008 23:25
But, what if I want to graph functions on the x and y axes, instead of creating bar graphs?
Yella
|
|
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
|
08-13-2008 23:39
If "graphs" means bar graph, line graph or pie chart, you can do a lot of things with prims. Even real time update may even be possible if the number of bars/lines/slices is not too high.
If you're thinking of pixel by pixel drawing, forget about it.
As for text, it totally depends on what you have in mind. You probably already saw floating text in SL. This is the most straightforward way to display text but it's not very flexible. Any other solution will look like a billboard as seen in most airports and train stations --the lack of speed included.
You need to be more specific. Scripting is like pathfinding. Without destination, you just wander.
|
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
08-13-2008 23:55
You should be able to make a line graph using prims for points and particles connecting the points. The not officially document PSYS_PART_TARGET_LINEAR_MASK lets you make particle that run in straight lines from one prim to another. At least they did a few years ago the last time I tried it.
This will let you make straight lines between prims, to "connect the dots". Move the prims and particles automatically move with them.
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.
I can be found on the web by searching for "SuezanneC Baskerville", or go to
http://www.google.com/profiles/suezanne
-
http://lindenlab.tribe.net/ created on 11/19/03.
Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan
-
|