Pandacast Builder

Return to Panda Features in Development

Pandacast Builder

Postby zephyro » Mon Sep 27, 2010 12:59 am

What I've done so far:
- project manager
- several viewports
- customizable interface
- load actors and animations

Image Image Image Image
Image Image Image
zephyro
 
Posts: 111
Joined: Thu Jul 02, 2009 8:23 pm

Postby Praios » Mon Sep 27, 2010 3:54 am

Looks good.
What am I actually talking about? - I don't know...
User avatar
Praios
 
Posts: 233
Joined: Fri Aug 31, 2007 2:23 pm
Location: Germany

Postby Anon » Mon Sep 27, 2010 8:13 am

Its a scene editor?
Anon
 
Posts: 1556
Joined: Thu Oct 29, 2009 3:07 am

Postby Gogg » Mon Sep 27, 2010 11:19 am

Could you explain a little what is this gonna be and what language and GUI toolkit you are using?
User avatar
Gogg
 
Posts: 475
Joined: Thu Sep 24, 2009 1:06 pm

Postby zephyro » Mon Sep 27, 2010 11:47 am

It is gonna be a panda3d level editor/game builder, the goal is to create a tool that will enable fast creation and development of panda 3d games/applications. I'm using python and wxpython, I am about to change to c++ but I'm not sure.
Last edited by zephyro on Tue Oct 26, 2010 9:01 pm, edited 1 time in total.
zephyro
 
Posts: 111
Joined: Thu Jul 02, 2009 8:23 pm

Postby powerpup118 » Tue Sep 28, 2010 12:12 am

zephyro wrote:It is gonna be a panda3d level editor/game builder, the goal is to create a tool that will enable fast creation and development of any panda 3d game/application. I'm using python and wxpython, I am about to change to c++ but I'm not sure.


Python may be a better choice for you, :wink: Python code is easier to maintain cross-platform wise (and in many other senses as well) and also unless you have 3 different OS's to compile it on everyone would have to compile it for their OS, which could be pretty icky..

Then again if the python speed is too slow for you if you're doing manual vertice movement or something then C++ may be the only option. Cython may be another option for you, for your speed-hogging area's. And if you have no Cython module built for the platform you could default back to python code.

Anywho glad to see you built something like this, it's very neat! I'll have a look at it soon.

~powerpup118
User avatar
powerpup118
 
Posts: 325
Joined: Sat Apr 17, 2010 11:59 pm

Postby Gogg » Tue Sep 28, 2010 12:59 am

Panda is in C++ and already has to be built for every OS. Was your idea to contribute this as a tool to go along the existing tools in the bin directory like pview.exe? I'm gonna assume so since you are posting in features in development. If so I see no problem with it being in C++ (in fact I prefer it, I would cry like a girl too if we were gonna add yet another tool in python, python should be an option, not a dependency, or we'll be trapped forever in this cycle where we don't get contributors because we only have python-coding users that can't modify the c++ core. Though one could argue this is less important for a tool, it's still a PITA.)

Also if you are going for inclusion we would, in general, like it more if you used a liberally licensed toolkit like this one:

http://www.tecgraf.puc-rio.br/iup/

But this is a minor point, it might not be worth the trouble. Although WX has an ugly license and we would like to get rid of it we still use it so it's actually OK.
User avatar
Gogg
 
Posts: 475
Joined: Thu Sep 24, 2009 1:06 pm

Postby zephyro » Wed Sep 29, 2010 12:30 am

powerpup118 wrote:Then again if the python speed is too slow for you if you're doing manual vertice movement or something then C++ may be the only option.

That is why I think C++ comes in handy.

Gogg wrote:If so I see no problem with it being in C++ (in fact I prefer it, I would cry like a girl too if we were gonna add yet another tool in python, python should be an option, not a dependency, or we'll be trapped forever in this cycle where we don't get contributors because we only have python-coding users that can't modify the c++ core. Though one could argue this is less important for a tool, it's still a PITA.)

I agree with you. I am inspired but I am not sure about my skills in c++, I don't know where or when I will need help or I'll get stuck. I feel safe with python at this moment.

Gogg wrote:But this is a minor point, it might not be worth the trouble. Although WX has an ugly license and we would like to get rid of it we still use it so it's actually OK.

The wxPython license hurts me but it does the job well and we know that.
zephyro
 
Posts: 111
Joined: Thu Jul 02, 2009 8:23 pm

Postby Gogg » Wed Sep 29, 2010 2:53 am

I agree with you. LGPL with static linking exception is OK for a tool anyway. The main problem with LGPL for a game engine (apart from linking, but there's an exception in wx) is that you can't use any form of GPL in a console, so you would always be locked to the PC platform. For a tool it doesn't matter much since you are gonna run that in a PC anyway.

And if you decide to use c++ and get stuck with something you can always ask in the C++ forum. We'll do what we can to help.
User avatar
Gogg
 
Posts: 475
Joined: Thu Sep 24, 2009 1:06 pm

Postby ov3rcl0ck » Thu Nov 18, 2010 9:17 am

Gogg wrote:Panda is in C++ and already has to be built for every OS. Was your idea to contribute this as a tool to go along the existing tools in the bin directory like pview.exe? I'm gonna assume so since you are posting in features in development. If so I see no problem with it being in C++ (in fact I prefer it, I would cry like a girl too if we were gonna add yet another tool in python, python should be an option, not a dependency, or we'll be trapped forever in this cycle where we don't get contributors because we only have python-coding users that can't modify the c++ core.


I often see you saying things such as this. This engine is probably best known for its usage of python, its the only good 3D game engine for python. If you want a C++ engine, then go find one, theres tons, Irrlich, Crystal Space, etc.

Theres tons more 3D engines for C++ than python, thats why everyone is coding in python! Chances are most C++ developers pass up Panda3D because they don't plan on using python.
ov3rcl0ck
 
Posts: 36
Joined: Wed Feb 10, 2010 7:07 pm

Postby Anon » Thu Nov 18, 2010 9:51 am

Gotta disagree with that. First panda isnt just a 3d engine, and I honestly dont know any other c++ engine with such license and features.
in fact I prefer it, I would cry like a girl too if we were gonna add yet another tool in python, python should be an option, not a dependency, or we'll be trapped forever in this cycle where we don't get contributors because we only have python-coding users that can't modify the c++ core.

I remember some old sdk I had which wanted c#, perl and something else to work properly, but it was for C++. Compared to that, python isnt a big deal.
As for "we don't get contributors because we only have python-coding users that can't modify the c++ core", I could say the complete opposite (python usets and C++ core).
Anon
 
Posts: 1556
Joined: Thu Oct 29, 2009 3:07 am

Postby kurohyou » Mon Jan 31, 2011 4:26 am

Is there any news on this, Zeph? If you have discontinued your work on it, would you be able to post what you have currently?
kurohyou
 
Posts: 209
Joined: Tue Jun 29, 2010 9:59 pm

Postby PandaCastBuilder » Sun Jul 03, 2011 12:43 pm

I had discontinued this work for personal problems, my apartment was assaulted by bandits, they bore my PC, pen-drives with backups and a lot of things :cry:.

In fact I recently restarted it very slowly. :D

I upgraded to Panda3d 1.7 yesterday, at my first attempt I got this message:

Traceback (most recent call last):
base.userExit()
File "C:\Panda3D-1.7.2\direct\showbase\ShowBase.py", line 2570, in userExit
self.finalizeExit()
File "C:\Panda3D-1.7.2\direct\showbase\ShowBase.py", line 2573, in finalizeExit
sys.exit()
SystemExit



My application does not exit anymore. WxPython is running inside a task.

Code: Select all
        # ***************************************************************
        # initialize wx.App
        self.wxApp = wx.App(redirect = False)
        self.wxApp.SetAppName(APPTITLE)
        self.wxApp.SetClassName(APPTITLE)
       
        # ***************************************************************
        # create a new event loop (to overide default wxEventLoop)
        self.eventLoop = wx.EventLoop()
        self.evtLoopOld = wx.EventLoop.GetActive()
        wx.EventLoop.SetActive(self.eventLoop)
       
        taskMgr.add(self._customWxLoop, "Custom wx Event Loop") # add task

    # ###################################################################
    #   -> it is a custom wxEvent loop
    def _customWxLoop(self, task):
       
        # ***************************************************************
        # process any GUI event until there are no more waiting
        while self.eventLoop.Pending():
           
            self.wxApp.ProcessIdle()
            self.eventLoop.Dispatch()
           
        wx.Yield()
       
        return task.cont # perform the task again next frame


OnQuit function:

Code: Select all
    # ###################################################################
    #   -> on quit event
    def wxEvtOnQuit(self, wxEvent):
       
        # ***************************************************************
        # exit application
       
        taskMgr.remove("Custom wx Event Loop") # remove custom wx loop
       
        self.auiMgr.UnInit() # deinitialize the frame manager
        wx.EventLoop.SetActive(self.evtLoopOld) # exits wxpython
       
        # try to close panda
        try:
            base
           
        except NameError:
            sys.exit()
           
        base.userExit()
PandaCastBuilder
 
Posts: 1
Joined: Sun Jul 03, 2011 11:39 am

Postby OvermindDL1 » Sun Jul 03, 2011 8:06 pm

Where was your repository located?

If you do not use one, this should prove to you their worth, plenty of free ones out there as well (although I host my own on my own servers).
OvermindDL1
 
Posts: 3
Joined: Tue Jun 28, 2011 7:00 pm
Location: NM, USA

Postby zephyro » Sun Jul 03, 2011 10:36 pm

These things only happens to me, even panda3d problems that no one have and I can't fix. :cry:

I do not consider myself a lucky person but I stil have faith. :D Prove of that I am alive! Life is Good! :P
zephyro
 
Posts: 111
Joined: Thu Jul 02, 2009 8:23 pm


Return to Panda Features in Development

Who is online

Users browsing this forum: No registered users and 0 guests