Jeffrey Reymont
Registered User
Join date: 8 Oct 2005
Posts: 7
|
10-14-2005 23:46
Does LSL provide any way to programmatically create an image w/in a script and display it? If not, are there any plans to add such a capability in the near future? Just something very basic like plotting pixels or simple geometric shapes?
Why do I ask? I'd like to write a simple program to use in-world which would allow users to tweak parameters and generate dynamic graphical images. I’ve written an art toy like this in C#, and want to see if there is some way of porting this to the SL platform.
|
BamBam Sachertorte
floral engineer
Join date: 12 Jul 2005
Posts: 228
|
10-15-2005 00:36
You can't create images using LSL or even import an image from an external image server. When we have browsing on a prim then it should be possible to do what you want to achieve.
|
Desmond Shang
Guvnah of Caledon
Join date: 14 Mar 2005
Posts: 5,250
|
10-15-2005 10:03
You might find particle generation rather handy in this regard.  - Desmond
|
Kurt Zidane
Just Human
Join date: 1 Apr 2004
Posts: 636
|
10-15-2005 14:45
I might be posable to use the basic pim shapes to recreate a vector image. But it would be very prim intensive.
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
10-15-2005 20:11
From: Kurt Zidane I might be posable to use the basic pim shapes to recreate a vector image. But it would be very prim intensive. Yup, Ive "imported" images into SL a similar way before, with a script that rezzes a grid of prims that each set their colour to an individual pixel in the image. There are several problems with this method of import, however. You cannot use the image as a texture, and due to the fact that we can only get about 3 pixels per prim, I agree, it is very prim intensive. Vector images may be a little less primmy, depending upon how much optimization you perform in the conversion between the properties of the image and the prims you use to represent them. I havent tried that yet, but its an interesting idea. ==Chris
|
Jeffrey Reymont
Registered User
Join date: 8 Oct 2005
Posts: 7
|
10-15-2005 20:39
Thanks for the responses.
It sounds like my best option may be to wait for HTML and Javascript. I've read that HTML was cut from version 1.7, but hopefully it won't be too far off.
|