Pie Toaster Release

For code related discussions and questions
doom3r
Regular
Regular
Posts: 502
Joined: 29 Aug 2007, 15:04

Re: Pie Toaster Release

Post by doom3r »

I finally managed to open pie files... it gave me that error because the pie was placed on the desktop, so the file directory needed to be specified with spaces [documents and settings\user\desktop\filename], and the program didn't recognise the file. i think you could fix this by adding some special character for selecting the pie location like "filename" or which tell the program where the filename stops, otherwise you cant open any pie which is under a directory with spaces on its name.

in fact as you can see in the error file the opening stops when the programs encounters a space:

pie_AddTexPage: page-14-droid hubs.png page=1
GL_ARB_texture_compression is supported.
Texture compression: Yes
GL_EXT_texture_filter_anisotropic is supported.
iV_ProcessIMD c:\documents file doesn't exist: ()
file c:\documents doesn't exist

while the specified directory was c:\documents and settings\user\desktop.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Pie Toaster Release

Post by Buginator »

doom3r wrote: ...
in fact as you can see in the error file the opening stops when the programs encounters a space:

pie_AddTexPage: page-14-droid hubs.png page=1
GL_ARB_texture_compression is supported.
Texture compression: Yes
GL_EXT_texture_filter_anisotropic is supported.
iV_ProcessIMD c:\documents file doesn't exist: ()
file c:\documents doesn't exist

while the specified directory was c:\documents and settings\user\desktop.
Blame windows, well, the command line, not the program.
If you have spaces in a file name then you MUST use quotes around it.  That is the only way windows knows that the whole thing is a filename, and your not separating things via spaces.
Same limitation applies to making shortcuts.

ie:
program.exe "c:\documents and settings\user\desktop\file.pie"
and it ends here.
doom3r
Regular
Regular
Posts: 502
Joined: 29 Aug 2007, 15:04

Re: Pie Toaster Release

Post by doom3r »

Ha i thought that was depending on the program source. So... no problem
User avatar
Watermelon
Code contributor
Code contributor
Posts: 551
Joined: 08 Oct 2006, 09:37

Re: Pie Toaster Release

Post by Watermelon »

Merry Christmas from me: :o
Image

Version 0.3
Features:
1.Editing:
*Polygon duplication
*Support for submodel
*Commandline 'filename' is optional, also allows to enter filename via GUI
*Multiple pies loading
*Merging of multiple pies into one file
*Support for 3DTRANS animation (oil derik)
*Support for 3DFRAMES animation (cyborg)

2.Load and Save:
*Creation, Load, Save of ani animation
*Submodel add and remove

3.Model View:
*Optional VBO for polygon and grids rendering
*VBO cache for grids
*Separated frames in animation rendering
*Animation play

4.GUI:
*Improved overall GUI usability

5.Fixes:
*Fixed various bugs in GUI creation strings

Version 0.2
Features:
1.Model View
*Grids in model view
*Tile size indicator(red rect) to give modeller an idea of the size of in-game tile
*Use Interleaved array to draw polygon
*Caching grids and vertice/connector indicators in memory
*Use SDL_Image for a wider range of texture format support

2.GUI:
*Separation of anttweakbar button group for better usability

3.Fixes:
*Fixed a crash when creating new vertices

4.Misc Changes:
*Added SDL_Image library
*Kicked warzone png loader(superceded by SDL_Image png support)
*Kicked physfs(no longer in use)
Attachments
pietoaster0.3src.zip
(55.72 KiB) Downloaded 768 times
pietoaster0.3mingw.zip
(919.95 KiB) Downloaded 807 times
tasks postponed until the trunk is relatively stable again.
EvilGuru
Regular
Regular
Posts: 615
Joined: 23 Jun 2007, 22:41

Re: Pie Toaster Release

Post by EvilGuru »

Here is an updated MinGW Win32 build. SDL_Image.dll was seemingly compiled against MSVCR80.dll (which wine does not provide). So I downloaded an alternative SDL_Image.dll from the SDL website (sans the dependency) and all is well.

Good work Watermelon and a very merry Christmas to you all.

Regards, Freddie.
Attachments
pietoaster0.3mingw.zip
(1 MiB) Downloaded 870 times
User avatar
Deathguise
Trained
Trained
Posts: 85
Joined: 06 Jul 2007, 20:08
Location: UK

Re: Pie Toaster Release

Post by Deathguise »

Nice work, the animation stuff looks particularly useful as its a pain using a txt editor to modify the originals.

Thanks ill definetly give this a try and merry Christmas all.
"Abandon All Hope" - Chiggy von Richthofen
User avatar
Rman Virgil
Professional
Professional
Posts: 3812
Joined: 25 Sep 2006, 01:06
Location: USA

Re: Pie Toaster Release

Post by Rman Virgil »

------>

* Sweet, have to give it a whirl on the weekend. :)

* A joyful holiday to you & all. :D

- Cheers, RV
.

Impact = C x (R + E + A + T + E)

Contrast
Reach
Exposure
Articulation
Trust
Echo
.
User avatar
kage
Regular
Regular
Posts: 751
Joined: 05 Dec 2006, 21:45

Re: Pie Toaster Release

Post by kage »

very excellent. with the 3DTRANS support (much more flexible scheme than 3DFRAMES with one or two constraints), this far surpasses pieslicer, and sounds like it supports every bit of modelling.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Pie Toaster Release

Post by DevUrandom »

OpenPie
ERROR(AntTweakBar) >> Not initialized
And the open-pie dialog doesn't show me anything but "OpenPie [  0   ]" (where [] is a non-editable edit box)... :(

Imported into SVN in r3171 and r3172, with some minor changes to make it compile with GCC on UNIX systems.
Mainly those are:
- define snprintf to _snprintf for MSVC [I replaced _snprintf with snprintf instead. If this is a problem for you, please complain!]
- use wzglobal.h defines where applicable
- add macros.h for imdloader.h: MAX/MIN
- sed RaNdOmTyPe to SDL-type: Reverts r2611 to easy porting.
  Watermelon afaik uses MSVC which has no stdint(.h), thus using it would make no immediate sense to him, since he has no more interest in POSIX-support.
- sed Bool/TRUE/FALSE to bool/true/false, like r2609
NOTE: r3171 was not vanilla 0.3, but also included a modified Makefile by me, wzglobal.h and some minor compilation fixes.
I also added GPL3 headers to some files where you apparently forgot them. If this is a problem (i.e. invalid licensing), please complain immediately!

I attached a full patch from 0.3 to r3172 and would be pleased if you would import it into your local repository. :)
(I also attached wzglobal.h and macros.h which are direct imports from trunk.)
Attachments
macros.h
(1.91 KiB) Downloaded 722 times
wzglobal.h
(11.52 KiB) Downloaded 748 times

[The extension has been deactivated and can no longer be displayed.]

User avatar
Watermelon
Code contributor
Code contributor
Posts: 551
Joined: 08 Oct 2006, 09:37

Re: Pie Toaster Release

Post by Watermelon »

DevUrandom wrote: And the open-pie dialog doesn't show me anything but "OpenPie [  0  ]" (where [] is a non-editable edit box)... :(
This is intended behavior,Im abusing antweakbar string bar as textbox,because anttweakbar is a 'tweak' gui and it doesnt have 'dialog' alike features.[0] is actually the length of filename string.Enter the filename.pie to open then hit key 'enter' will do the trick.
tasks postponed until the trunk is relatively stable again.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Pie Toaster Release

Post by DevUrandom »

The changelog for AntTweakBar 1.10 sounded as if such input fields are supported?
- Variable values can now also be entered and edited via keyboard input (implementation based on modifications made by Laury M., thank you Laury);
- Variables of type string are now handled: 3 types of string added TW_TYPE_CSSTRING, TW_TYPE_CDSTRING and TW_STDSTRING;
- Text selection and copy/paste added;
PS: Attached is a patch by Per to remove lots of warnings related to including both gl.h and SDL_opengl.h
Attachments

[The extension has been deactivated and can no longer be displayed.]

Last edited by DevUrandom on 25 Dec 2007, 20:30, edited 1 time in total.
User avatar
Slazer
Rookie
Rookie
Posts: 22
Joined: 20 Jan 2008, 22:22
Location: at my computer. where else?

Re: Pie Toaster Release

Post by Slazer »

id get PIE toaster but i want to wait untill there is a fully stabile 1.0 release as my poor dial up cant handle repeated downloads or huge downloads ( 1 MB takes 15 minutes  >:( )
Warzone 2100: Heaven On a cluster of Electronic Circuits
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Pie Toaster Release

Post by Buginator »

Slazer wrote: id get PIE toaster but i want to wait untill there is a fully stabile 1.0 release as my poor dial up cant handle repeated downloads or huge downloads ( 1 MB takes 15 minutes  >:( )
I am not sure anyone is working with the code still? :-\
and it ends here.
User avatar
Slazer
Rookie
Rookie
Posts: 22
Joined: 20 Jan 2008, 22:22
Location: at my computer. where else?

Re: Pie Toaster Release

Post by Slazer »

i hope someone is because i need a new user friendly easy-to-learn easy-to-use PIE editor and from the things ive seen on the fourms pie slicer isnt gonna cut it  :'(
Warzone 2100: Heaven On a cluster of Electronic Circuits
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Pie Toaster Release

Post by Buginator »

Slazer wrote: i hope someone is because i need a new user friendly easy-to-learn easy-to-use PIE editor and from the things ive seen on the fourms pie slicer isnt gonna cut it  :'(
This is why it is a bit easier to use blender, or 3DS, and then use the converter utilities.
and it ends here.
Post Reply