News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Pages (12): « First < Previous 1 2 [3] 4 5 6 7 Next > Last »
Search Results
Post Author Forum Replies [] Views Posted
  Thread: slicing images
Post: RE: slicing images

I get  attempt to index field '?' (a nil value)  at [code]  tile[key-1]:image(value)     tile[key-1]:redraw()[/code] when trying some transparent images. Johns globe example is working fine, tiling...
iGame3D MurgaLua - General 43 73,270 02-25-2008, 08:15 PM
  Thread: slicing images
Post: RE: slicing images

ok that does settle the issue with most files. Some files, I guess with alpha are loading weird. [img]http://lua.igame3d.com/murgaLua/alphastrange.png[/img]
iGame3D MurgaLua - General 43 73,270 02-26-2008, 06:22 AM
  Thread: slicing images
Post: RE: slicing images

changing [code] myImages = image2:getTiles(ts,ts) [/code] to [code] myImages = image1:getTiles(ts,ts) [/code] prevented the destruction of the the image as posted previously. I'll get a screen shot...
iGame3D MurgaLua - General 43 73,270 02-27-2008, 05:53 AM
  Thread: slicing images
Post: RE: slicing images

hmm still crashing out on some files, I put a trace at [code] for key,value in ipairs(myImages) do   print(key,value)     tile[key-1]:image(value) tile[key-1]:redraw() end [/code] John's globe.png...
iGame3D MurgaLua - General 43 73,270 02-27-2008, 06:30 AM
  Thread: slicing images
Post: RE: slicing images

I noticed that green line of pixels at the bottom as well. I'm having great luck with this function now: It will resize large images and prevent most of the problems so far. [code]function load...
iGame3D MurgaLua - General 43 73,270 02-27-2008, 07:52 AM
  Thread: slicing images
Post: RE: slicing images

Ok to test bugs see: Working file: murgaLua/examples/images/Globe.png and segfault file: murgaLua/gfx/murgaLua.png -------------------------------------------- I mangled that segfault file a doze...
iGame3D MurgaLua - General 43 73,270 02-27-2008, 03:04 PM
  Thread: slicing images
Post: RE: slicing images

The path to a segfaulting file is: [i]murgaLua/gfx/murgaLua.png[/i] All my tests have been Mac based. [quote=mikshaw] Your last mod of the load function, Bill, initially sets the image on a separate ...
iGame3D MurgaLua - General 43 73,270 02-28-2008, 04:22 AM
  Thread: slicing images
Post: RE: slicing images

Works awesome, nothing broke or crashed in anyway yet. What ever mikshaw did fixed the problem, so far. To answer Juergen quickly, that image is close enough, I had the path wrong earlier, its [i]...
iGame3D MurgaLua - General 43 73,270 02-28-2008, 07:23 AM
  Thread: slicing images
Post: RE: slicing images

[quote=JohnMurga] Off-screen would work transparently for all image types too, as they'd be converted to RGB. [/quote] RGBA I hope? Else  every off screen render will produce a black background ...
iGame3D MurgaLua - General 43 73,270 02-28-2008, 03:41 PM
  Thread: slicing images
Post: RE: slicing images

[quote=mikshaw] I'm just guessing here, but I think maybe RGB/RGBA images require either fl_draw_image() or fl_read_image() rather than fl_draw() [/quote] Fl draw just creates that text. FL draw over...
iGame3D MurgaLua - General 43 73,270 02-29-2008, 05:29 AM
  Thread: slicing images
Post: RE: slicing images

[quote=mikshaw]The p argument points to a buffer that can hold the image and must be at least W*H*3 bytes when reading RGB images and W*H*4 bytes when reading RGBA images. [/quote] How do you create ...
iGame3D MurgaLua - General 43 73,270 02-29-2008, 04:16 PM
  Thread: UPDATED murgaLua build
Post: RE: UPDATED murgaLua build

Found some scrambled text in the tableNavigator, attached. Adding "slider:redraw()" to the pixmap rotation examples slider:callback after the button redraw prevents the artifacts of the image inside ...
iGame3D MurgaLua - General 29 49,439 01-21-2008, 08:34 AM
  Thread: UPDATED murgaLua build
Post: RE: UPDATED murgaLua build

In the tableNavigator, selecting the "which is it" line causes a crash [code]examples/tableNavigator.lua:78: bad argument #1 to 'getinfo' (function or level expected) stack traceback:         [C]: ...
iGame3D MurgaLua - General 29 49,439 01-21-2008, 08:54 AM
  Thread: UPDATED murgaLua build
Post: RE: UPDATED murgaLua build

[quote=JohnMurga] Which reminds me ... [b]If you are using murgaLua for any kind of project that would make a good showcase please send some screenshots[/b] or something :-) [/quote] I could prov...
iGame3D MurgaLua - General 29 49,439 01-24-2008, 12:11 PM
  Thread: UPDATED murgaLua build
Post: murgaLua_ExePath 0.6.0 Windows = nil

murgaLua_ExePath 0.6.0 Windows = nil I was trying to get a program compiled on windows but the program can't get past that nil global. about.lua fails when concatenating "murgaLua_ExePath". ...
iGame3D MurgaLua - General 29 49,439 02-10-2008, 11:09 AM
  Thread: MurgaLua 0.7.0 RC1
Post: RE: MurgaLua 0.7.0 RC1

Doesn't work on Leopard 10.5.8 [code]/murgaLua/bin/MacOs-Intel/murgaLua ; exit; dyld: unknown required load command 0x80000022 Trace/BPT trap logout [/code] [code]/murgaLua/bin/MacOs-Intel/cor...
iGame3D MurgaLua - General 25 796,959 12-11-2010, 03:24 PM
  Thread: Function to return the current directory
Post: Function to return the current directory

This is what I'm trying to do: launch murgaLua, discover the folders and files in the same directory return their paths after selecting their file/folder names from menus. I can fill them menu...
iGame3D MurgaLua - General 24 45,993 07-15-2007, 07:20 PM
  Thread: Function to return the current directory
Post: RE: Function to return the current directory

In my experiments I didn't get the result I was looking for. I don't think I'm passing scripts the way you are. What do your results look like? For what I was looking to do I should be able to ex...
iGame3D MurgaLua - General 24 45,993 07-17-2007, 01:51 PM
  Thread: Function to return the current directory
Post: RE: Function to return the current directory

Ok I was initially getting a blank when checking dirname at the start of a script, once the script was running it returned the path of the script, but ideally whats needed is the path to the murgaLua ...
iGame3D MurgaLua - General 24 45,993 07-18-2007, 02:53 PM
  Thread: Function to return the current directory
Post: RE: Function to return the current directory

Now that the murgaLua directory reading functions have changed to LFS, how do we filter directories for folders and files?
iGame3D MurgaLua - General 24 45,993 08-01-2007, 12:40 AM
Pages (12): « First < Previous 1 2 [3] 4 5 6 7 Next > Last »