Designer for Pres3D
Designer for Pres3D
Hi,
As it seems that nobody liked to write a designer tool for the open source presenting tool Pres3D (http://www.purebasic.fr/english/viewtop ... 14&t=43936), I try'd to write my own. Here is the result. The designer still has some limitations:
- no presentation settings. Currently, only 1024x768 windowed presentations with white background.
- some bugs
- maximum 6 pages (I plan to make this a shareware)
Plans for the future:
- simple effect-browser with pre-defined effects (one click)
- settings-window to edit the presentation settings
- resizing window (allow you to resize the editor/presentation)
- scaling-function (to allow you to scale all elements of the presentation by one factor)
- effect preview while editing (somewhat difficult)
- compile the complete presentation into one executable using AppPack (http://www.purebasic.fr/english/viewtop ... 14&t=34025)
Download (in a ZIP file):
http://www.x-beliebig.info/Download/Pres3D_Designer.zip
Simply extract the content into one folder and run the Pres3D_Designer.exe...
Im interested in your experiences using Windows Vista and Windows 7, too...
Kukulkan
As it seems that nobody liked to write a designer tool for the open source presenting tool Pres3D (http://www.purebasic.fr/english/viewtop ... 14&t=43936), I try'd to write my own. Here is the result. The designer still has some limitations:
- no presentation settings. Currently, only 1024x768 windowed presentations with white background.
- some bugs
- maximum 6 pages (I plan to make this a shareware)
Plans for the future:
- simple effect-browser with pre-defined effects (one click)
- settings-window to edit the presentation settings
- resizing window (allow you to resize the editor/presentation)
- scaling-function (to allow you to scale all elements of the presentation by one factor)
- effect preview while editing (somewhat difficult)
- compile the complete presentation into one executable using AppPack (http://www.purebasic.fr/english/viewtop ... 14&t=34025)
Download (in a ZIP file):
http://www.x-beliebig.info/Download/Pres3D_Designer.zip
Simply extract the content into one folder and run the Pres3D_Designer.exe...
Im interested in your experiences using Windows Vista and Windows 7, too...
Kukulkan
Re: Designer for Pres3D
Wasn't there someone in the (german) forum who already posted a small designer example?!
Anyway, yours looks and works pretty good except that all gadgets take really long to be redrawn. It probably takes more than 3 seconds... WaitWindowEvent() missing, no threads, wrong timing?
Anyway, yours looks and works pretty good except that all gadgets take really long to be redrawn. It probably takes more than 3 seconds... WaitWindowEvent() missing, no threads, wrong timing?
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: Designer for Pres3D
Hi,
The version from yesterday had speed problems. The current version (from today, about three hours ago) works fast as light here? Do you reloaded the newest version today?
Yes, someone made a first version. But the project made no progress and I have had my own ideas about the layout and handling. As the presentation engine is open source, it is absolutely ok to have more than one designer. Upon this, the people will have the choice to choose between my shareware version or, maybe, another freeware/open source designer
Kukulkan
The version from yesterday had speed problems. The current version (from today, about three hours ago) works fast as light here? Do you reloaded the newest version today?
Yes, someone made a first version. But the project made no progress and I have had my own ideas about the layout and handling. As the presentation engine is open source, it is absolutely ok to have more than one designer. Upon this, the people will have the choice to choose between my shareware version or, maybe, another freeware/open source designer

Kukulkan
Re: Designer for Pres3D
Here are some ideas:
- If an image is in the same directory as the xml file an error occures - "not able to copy to presentation folder"
- Just downloaded the latest version and it is as yesterday: 90% cpu usage when the window is active, otherwise nothing (I have a single cpu and Windows XP 32bit)
- "About" shouldn't be in the "File" menu
- Preview of nothing shows nothing...so no preview needed in this case
- When I place an image above some text I'm not able to edit the text anymore -> make it possible to select each element in a list as well
- Add tooltips for every gadget on the effect window
- Great: "Photoshop-like position matching preview", but this just works horizontally? maybe you could also make this a little sticky
- Format the resulting xml for better readability: new line, indentation
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: Designer for Pres3D
Hi,
The other tips are great. Thank you.
Kukulkan
Both problems are fixed in the current download version 4 hours ago. I downloaded and testet: 0% CPU if I do nothing. Adding images from presentation-directory no longer triggers this error. Are you shure you use the latest version?If an image is in the same directory as the xml file an error occures - "not able to copy to presentation folder"
Just downloaded the latest version and it is as yesterday: 90% cpu usage when the window is active, otherwise nothing (I have a single cpu and Windows XP 32bit)
The other tips are great. Thank you.
Kukulkan
Re: Designer for Pres3D
No.Kukulkan wrote:Both problems are fixed in the current download version 4 hours ago. I downloaded and testet: 0% CPU if I do nothing. Adding images from presentation-directory no longer triggers this error. Are you shure you use the latest version

If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: Designer for Pres3D
Updated!
New:
- presentation properties can get changed
- resizing allowed
- delay can get changed in multiple dialogs (text, image, effect in)
- some bugfixes
- exported xml is well formatted
- better GUI response
Please use the link in the first post to download!
Kukulkan
New:
- presentation properties can get changed
- resizing allowed
- delay can get changed in multiple dialogs (text, image, effect in)
- some bugfixes
- exported xml is well formatted
- better GUI response
Please use the link in the first post to download!
Kukulkan
Re: Designer for Pres3D
Amazing
Great job so far!
How about a ListIconGadget() with bigger Icons for a better
page-preview?

How about a ListIconGadget() with bigger Icons for a better
page-preview?
"Daddy, I'll run faster, then it is not so far..."
Re: Designer for Pres3D
Indeed, great program with great potential!
Especially that explosion effect is marvellous.
You should consider making it a full kiosk sytem that could be managed remotely.
(there's surely a market for this type of soft)
Especially that explosion effect is marvellous.
You should consider making it a full kiosk sytem that could be managed remotely.
(there's surely a market for this type of soft)
- Michael Vogel
- Addict
- Posts: 2807
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Designer for Pres3D
Choosing Full Screen/Windowed mode in preferences does not change the preview mode, maybe the presenter source could be changed to allow this...
Init part...
Check Parameter:
Some more changes...
It also be fine to let some space for more function buttons (load, save etc.) and to keep the source text clean to implement easily (context sensitive) popup menus later on, which allow to have quick access to all settings by right clicking an object.
Michael
Init part...
Code: Select all
Global Temp.s
Structure Pointer
value.i
EndStructure
#Override=$1000000
Procedure SetValue(*x.Pointer,value.i)
If *x\value&#Override=0
*x\value=value
Else
*x\value!#Override
EndIf
EndProcedure
Procedure.i ClearOverride(*x.Pointer)
If *x\value&#Override=0
ProcedureReturn #False
Else
*x\value!#Override
ProcedureReturn #True
EndIf
EndProcedure
Procedure.i Min(a.i,b.i)
If a>b
ProcedureReturn b
Else
ProcedureReturn a
EndIf
EndProcedure
Code: Select all
n=CountProgramParameters()
If n
While n
n-1
Temp=ProgramParameter(n)
If FindString("-/",Left(Temp,1),1)
Select PeekA(@Temp+1)|$20; lower case
Case 'f'; force full screen
XML_Settings\ScreenFull=#True|#Override
Case 'w'; force window
XML_Settings\ScreenFull=#False|#Override
EndSelect
Else
Filename$=Temp
EndIf
Wend
Else
Filename$ = "slide.xml"
EndIf
Code: Select all
; defaults
;XML_Settings\ScreenFull = 0
XML_Settings\ScreenWidth = Min(800,GetSystemMetrics_(#SM_CXFULLSCREEN))
XML_Settings\ScreenHeight = Min(600,GetSystemMetrics_(#SM_CYFULLSCREEN))
XML_Settings\BackgroundColor = RGB(255,255,255)
; read values (if given)
While *ChildNode <> 0
If *ChildNode <> 0 And XMLNodeType(*ChildNode) = #PB_XML_Normal
; node found
NodeName.s = GetXMLNodeName(*ChildNode)
If NodeName.s = "settings"
If ClearOverride(@XML_Settings\ScreenFull)=0
XML_Settings\ScreenFull=Val(GetXMLAttribute(*ChildNode, "screenfull"))
XML_Settings\ScreenWidth = Val(GetXMLAttribute(*ChildNode, "screenwidth"))
XML_Settings\ScreenHeight = Val(GetXMLAttribute(*ChildNode, "screenheight"))
EndIf
Michael
- electrochrisso
- Addict
- Posts: 989
- Joined: Mon May 14, 2007 2:13 am
- Location: Darling River
Re: Designer for Pres3D
I had a little play with your Designer and have to say it is quite good.
Thank You...

Thank You...
PureBasic! Purely the best 

Re: Designer for Pres3D
Hi Michael,
thank you for your reply.
To preview the page, I export a xml with one page and explicitly do not set fullscreen. This is, because in two of my environments this causes heavy problems. Maybe I make this an option in a later version. Currently, the windows mode works better for me.
The current Pres3D engine source works very well (even with fullscreen). No changes needed so far...
Kukulkan
thank you for your reply.
It's not a bug, it's a featureChoosing Full Screen/Windowed mode in preferences does not change the preview mode, maybe the presenter source could be changed to allow this...

The current Pres3D engine source works very well (even with fullscreen). No changes needed so far...
Kukulkan