Search found 77 matches

by FredBeck
Thu Dec 11, 2014 12:08 pm
Forum: Talking LiveCode
Topic: KeyUp vs KeyDown
Replies: 13
Views: 6860

Re: KeyUp vs KeyDown

Correct me if I'm wrong, but I think "switch" can be somehow faster if you sort the cases from the most probable to the rarest, because it'll jump straight to the "end switch" statement as soon as a case is met, without reading the following cases. With "ifs" the engine has to read all the code ever...
by FredBeck
Fri Sep 12, 2014 9:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Question about wordOffset
Replies: 9
Views: 5150

Re: Question about wordOffset

Hi, I found somewhere this function : (sorry I can't remember where...) function FullOffset pWord pText local tList local tOffset repeat while tOffset <the number of words in pText get wordOffset(pWord, pText, tOffset) if it <> 0 then add it to tOffset put tOffset & cr after tList else exit repeat e...
by FredBeck
Tue Jun 03, 2014 11:13 am
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

Awesome! Now I'll be able to fix my ply stuff and test a couple ideas I have regarding the drawing process. I don't really understand the forking and pulling on github but this is going to be fun! Thanks again for sharing :wink:
by FredBeck
Tue Jun 03, 2014 11:04 am
Forum: Android Deployment
Topic: create android keyboard
Replies: 2
Views: 2284

Re: create android keyboard

Hmm so I suspected... Too bad. Thanks Simon.
by FredBeck
Mon Jun 02, 2014 4:53 pm
Forum: Android Deployment
Topic: create android keyboard
Replies: 2
Views: 2284

create android keyboard

Hi, New phone today!
The default (samsung) keyboard is really not practical. I found one that looks great on the store but...
Of course it is not free and I'm not quite sure why it needs network and personal info access... It has 10 milion dls though :shock:
Is it possible to make one with lc?
by FredBeck
Sat May 31, 2014 1:08 pm
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

Hi max, Here's the last version of the ply parser. PLYparser 0.2.zip Now it will handle different format of ply, provided it is ascii encoded. all information but points, faces and color will be ignored. if color is absent, then it it set to white. I couldn't make your code work. all I have is a lis...
by FredBeck
Fri May 30, 2014 2:20 pm
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

FIXED - colors are good now! function parsePLY pFile set the itemDelimiter to space ## separate header from model data put lineOffset("end_header", pFile) into tEndHeaderLine put line 1 to tEndHeaderLine of pFile into tHeader put line tEndHeaderLine + 1 to -1 of pFile into tData ## get number of ver...
by FredBeck
Fri May 30, 2014 12:00 pm
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

Here's a PLY parser, along with two test .ply files Did I get the world array right? I didn't try your stuff yet. https://dl.dropboxusercontent.com/u/68360154/PLYparser.zip function parsePLY pFile set the itemDelimiter to space ## separate header from model data put lineOffset("end_header", pFile) i...
by FredBeck
Thu May 29, 2014 8:22 pm
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

Hey I noticed you wanted off file format. Never heard of it... Does it carry color?
I think ply may be better and more spread. I'll look into it.
by FredBeck
Thu May 29, 2014 7:22 pm
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

Cool!
I'd like to keep up with you, but I'm having small health issues :(
like malte says, better go with graphic controls. Here is the thing with polyline I told you about
https://dl.dropboxusercontent.com/u/683 ... ylines.zip
it's much easier this way and probably faster.
by FredBeck
Thu May 29, 2014 12:04 pm
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

May I post a couple links that could be of interest
http://www.grasshopper3d.com/forum/topi ... g-multiple
I like the idea of storing colors into one bitmap

http://www.grasshopper3d.com/group/slingshot
uses mySQL
by FredBeck
Thu May 29, 2014 11:25 am
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

Nice, I wasn't expecting so much! Thank you so much for sharing! I'll take a look soon and post my questions. Can you put an example of #"world" contains a list of object to render: # it has #[1]["model"] (contains faces and points of the boject) #[1]["properties"] (contains traslation, rotation and...
by FredBeck
Wed May 28, 2014 1:00 pm
Forum: Making IDE Plugins
Topic: 3D library
Replies: 30
Views: 38009

Re: 3D library

Hi there, I'm very interested in this. I'm a designer (sailing boats mainly) and amateur programmer. I use Rhino as 3d modeler and it has a graphical programming language called grasshopper (see my page). I'd love to see lc and gh working together. I don't have time right now to check all these post...
by FredBeck
Mon May 26, 2014 5:53 pm
Forum: Business and Kiosks
Topic: LiveCode based and Bitcoin supported apps?
Replies: 3
Views: 10273

Re: LiveCode based and Bitcoin supported apps?

Hi andyparng, A friend of mine started mining a couple weeks ago and we were thinking yesterday about a small app to monitor and control his mining rig. I'm only an amateur developer but some day I'd love to try writing a trading bot :) What does your app do? I have no fb account, can't see your pag...
by FredBeck
Sat May 24, 2014 6:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Livecode is great!
Replies: 2
Views: 2192

Re: Livecode is great!

I don't know any other kind...

Go to advanced search