Author Topic: PCS 2 UI Discussion  (Read 44130 times)

0 Members and 2 Guests are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
yeah, that's... what I think I said...

and the zip is updated, I tried adding in some more buffer protection, but I might have made a > were I should have made a < and thus caused it to cull off valid data. make sure it doesn't crash when selecting adding or removing stuff, and that when you do any of that it actualy does what it's suposed to do (remember you need to hit the apply button for data in the tree to get updated).

and if there are no problems by the time I wake up I'll probably see about committing this stuff finally.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
ok, so no problems?

well I need kaz to walk me through how to get CVS working again for me to commit into sourceforge.
« Last Edit: June 04, 2007, 12:04:12 am by Bobboau »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I remember it took me three days and you guiding me by hand and at one point me letting you hijack my computer to get it working last time...
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
putty+tortoiseCVS+setting up shared key for your sf.net account
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
you do realise the link you provided mentions all of 'if you are a developer you use SSH' in terms of what I'm suposed to do right?

I vaguely remember putty being related to something I have to run externaly to my CVS client and it had half a dozen components. I just installed tortise after fighting with a similar client for the last few hours.

I am still listed as a dev with right privileges, right?
also what should my SSH parameters be? I seem to still have all the putty stuff from when I worked on FE2.
« Last Edit: June 04, 2007, 11:26:02 pm by Bobboau »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
read tortoiseCVS's instructions for EXT SSH, using putty and pagent, you have dev rights

site doc for shared keys: http://sourceforge.net/docs/F02/
site doc for CVS services: http://sourceforge.net/docs/E04/
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
hey, I think I got it working... alright! that went a lot smoother than I was expecting it to.

I added a bunch of new files, mostly the editors, I'm going to try and clean out as much of the old unused UI stuff as I can tomorrow.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
this interface is brilliant bro

[edit]
now i guess we need to work on context rendering and bug fixing
« Last Edit: June 05, 2007, 09:14:08 am by Kazan »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
thanks :)
I already started a little bit on getting the basics for context rendering, I'm useing what I call omnipoints to represent 99.9% of everything we are going to need, the idea I have is that there is a 2d vector of these and the GL canvas doesn't need to know anything about them, the editors will simply pass a few flags about what should be rendered the GL canvas modifies the value for one or more of the points, then sends the vector back to the editor which applies the changes. the editors already have some (sloppily written while I was waiting for bug reports) get and set functions for omnipoints, mostly what needs to be done interface wise is get and set omnipoint functions for the GL canvas, and get and set functions for which point is selected (the function would have two ints).

the biggest pitfall in this system is that the number of omnipoints in any part of the vector absolutely can not be changed by the GL canvas, and the editor absolutely must make sure it updates the GL canvas with a new omnipoint vector anytime any data (especaly new points/banks) is altered. so we will need to basicly have a 'start edit' mode when the user clicks on the GL canvas with a key pressed (or something) were the data in the editor is transfered (copied actualy) to the GL canvas (or maybe not sence the editor should be keeping the GL canvas up to date) and then the GL canvas makes changes to the data and the editor can not make changes to it's own data untill after edit mode is ended and the data is transfered back to the editor. I'm prety sure most if not all edit modes would only be operating on one (set maybe, if we allow multable selection in the tree) of data at a time, so this probly shouldn't be as monolithic as it might sound, I'm just going into detail on something I've only partaly worked out.

but there is still a fair bit of cleaning to do with what we have before we get side tracked on that, if you want to work out a way of efficently drawing a set of spheres of a set position and radius with a specific color (preferably useing vertex and index buffers), that would probably be a good use of time in regards to this.  there will be three seprate colors for this to deal with, unselected, selected row, and selected item, I'm sure the meanings of these are obvius. I think geodesic spheres in wire frame and lightly alpha blended, if posable, would be cool.
« Last Edit: June 05, 2007, 03:59:45 pm by Bobboau »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
ok, I just removed most-if-not-all of the old UI that wasn't being used anymore, make sure I didn't forget anything or do something stupid or generally **** anything up, doesn't look like I did, hopefully you didn't modify any of the effected files since last night.

oh, and tester people, if you get an error of the "Array out of bounds!" sort, that is a top priority bug, that error should _never_ ever happen, EVER! that is a last line of defence error message and will crash the app.
make sure you tell me about it and what model you were loading when it happened, even especially if you think you have an odd/damaged model.
and I want you to try to make it do this, doing things involving adding and/or deleting things and/or moving your selection are things that would be most likely to trigger this.
« Last Edit: June 06, 2007, 01:01:10 am by Bobboau »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
ok folks new build fr today, I did a lot of work on polishing the UI,I changed a bunch of int text boxes to int lists for things like model numbers, that required a slight bit of hackitry due to the way that the lower children have absolutely no means of getting direct access to the model, but you needant worry yourselves with that.. so long as it works anyway... which it will!... you need to test this...

I also spent a chunk of time making more useful defaults for new items, I'm particularly happy with how paths worked out. I'll start working on either 3d related stuff next or do some automation things like, everyone's favorite, auto-turret.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Axem

  • 211
Um, I can't seem to see the model when I load it. The 3D window is just blank all the time.  :(

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
[edit]
nevermind.. he just replaced it

oh.. bob... i just noticed when i maximize the window it doesn't resize the status bar at the bottom... i think it used to... can you make sure it gets resized


[edit again]
it did... you didn't create an onsize event for your new main pane... making it for you

[edit]
i'm getting an exception on exit from ntdll.dll and the cloest line it resolves to is window.cpp from wxWindowMSW

[editweee]
ok... i had to add a bool isDestroyed to main_panel and Destroy immediately sets it to true and then the EVT_SIZE function returns immediatelty if (isDestroyed) - but ihave the status bar resizing working
« Last Edit: June 06, 2007, 12:42:14 pm by Kazan »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
ok, so you fixed the status bar thing, but the exception on exit is still there? I'm not getting one.

[edit]just fixed and commited a small bug preventing the editor window from scrolling when it needed to[/edit]
« Last Edit: June 06, 2007, 02:56:25 pm by Bobboau »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
the code that was causing the exception on exit (i don't know WHY it was causing the exception, it just was) is disabled after main_panel->Destroy() is called (bool isDestroyed is set to true, so OnSize simply returns)
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I'm wondering if our current data flow is the way we want to go, that is the whole apply/revert buttons, I can probably without much trouble have the data in the model updated as soon as the user modifies it in the editor.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
do it... and later maybe an undo buffer can be added
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I'm going to leave the buttons there, because I intend to add load/save chunk abilities there. and I don't feel like removing them just so I can put them back almost exactly like they are now a week from now.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Mav

  • 28
  • location: Shivan fleet - closing in on GTVA space
http://sourceforge.net/cvs/?group_id=26889

Uh, hi :) .
I just tried to check the CVS out as anonymous, but it didn't want to connect - I'd guess I most like made an error when I used "fs2_open" as projectname and modulename... So what should these be? :confused:
Or do I need this putty too for anonymous checkout?

Sorry for leading the discussion off-topic :nervous: , but this seemed a good place to ask as you already had the same topic popping up, at least shortly.


And of course I'm happy to see that PCS2 seems to progress quite well so far :)  - keep on with it  :yes: .
-__ o_O___O_o
I______O_O_______dragons
________o

-----------------------------------
capship shields DO WORK !!!
my models, now with pics
test mission for commanding capships
-----------------------------------
suffering from a late stage of BoE-infection - DON'T call a doctor, it's too late for that anyway ;o)