This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Things individual people want to be doing on Noggit.  (Read 18846 times)

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Things individual people want to be doing on Noggit.
« on: January 31, 2012, 03:47:33 pm »
Please use this thread on synchronizing what you want to change in Noggit, which ideas are good etc.

Please implement the following construct to use settings somewhen soon. ("assigned" to Mjollna.)
Code: [Select]
class application
{
  // ...
public:
  QVariant setting (const QString& key) const
  {
    return _settings.get (key);
  }
 
  void setting (const QString& key, const QVariant& value)
  {
    emit setting_about_to_change (key, setting (key));
    _settings.set (key, value);
    emit setting_changed (key, value);
  }

signals:
  void setting_about_to_change (const QString& key, const QVariant& value);
  void setting_changed (const QString& key, const QVariant& value);
};

// examples on how to use:

class foo_bar : public QObject
{
  Q_OBJECT

public:
  foo_bar (QObject* parent)
  : QObject (parent)
  {
    connect ( app()
            , SIGNAL (setting_changed (const QString& key, const QVariant& value))
            , SLOT (setting_changed (const QString& key, const QVariant& value))
            );
  }
public slots:
  void setting_changed (const QString& key, const QVariant& value)
  {
    if (key == "paths/game")
    {
      LogDebug << "game path changed to: " << value.toString().toStdString() << std::endl;
    }
  }
};

class settings_dialog : public QWidget
{
  // ...
  settings_dialog( ...)
  {
    connect (antialiasing_box, SIGNAL (valueChanged (int)), SLOT (set_antialiasing (int)));
    connect (app(), SIGNAL (setting_changed (const QString&, const QVariant&)), SLOT (setting_changed (const QString&, const QVariant&)));
  }

  void set_antialiasing (int value)
  {
    app().setting ("antialiasing", value);
  }

  void setting_changed (const QString& key, const QVariant& value)
  {
    if (key == "antialiasing")
    {
      antialiasing_box.setValue (value.toInt());
    }
  }
};
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #1 on: January 31, 2012, 05:20:37 pm »
Hi there :)

So here's what I have in mind :

- First priority imho is having a nice Qt UI. Right now there are lots of menus and such to re-do, so that the program can be used again.
For the settings window and having settings changes saved, etc., as Schlumpf said I'm doing it.

- Then, there are the bugs on the bugtracker ( bugtraker/index.php ). Among them, the ground doodads thing ( bugtraker/index.php?do=details&task_id=103 ) and the mcal problem ( bugtraker/index.php?do=details&task_id=50 ) seem, to me, the most important ones, but again, it's just my opinion on the subject.
There's also that rendering problem of the terrain when using very small raising brush which seems quite problematic ( viewtopic.php?f=66&t=1047&start=15 ).

- Lots of things are almost implemented in the code, ctrl+f todo if you're out of ideas. There's also always things to make nicer/cleaner.

- Then for new things... As I said on the Adt Converter topic, having LK features fully implemented would be awesome : mccv, mh2o... And that would prepare for a possible 4.x handling.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #2 on: January 31, 2012, 05:26:53 pm »
Well, a rotate by degrees would be nice :P Aswell as a copy rotation from first selected to second selected :P
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #3 on: January 31, 2012, 06:02:42 pm »
I actually have a question...
If I create an irc chan for people who want to contribute to Noggit dev, would you (Steff, Glararan, other people ?) join ?

It's so much easier to have a common place to chat all together...

-----[edit]

Well, created it, so if some people want to join :
Quakenet, #Noggit
Should be permanent in a few hours.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #4 on: January 31, 2012, 08:21:38 pm »
Firs thin is to get all the stuff running again. Then Gui :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #5 on: January 31, 2012, 08:23:09 pm »
We have 4 3 years now a chan but no one ever went in :)
I don´t think it useful to separate all the people. We are less enough to just use one place to communicate.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

glararan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 162
    • View Profile
    • http://glararan.eu
Re: Things individual people want to be doing on Noggit.
« Reply #6 on: January 31, 2012, 08:43:25 pm »
Guys guys....wait wait with support for 4.x

after we do this work complete....we can start 5.x :D MoP is near...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #7 on: January 31, 2012, 08:45:51 pm »
Quote
We have 4 3 years now a chan but no one ever went in

Does it still exist ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #8 on: February 03, 2012, 10:01:02 pm »
Just a short message to say I'm not inactive :)

Settings dialog is not finished, but it's getting better :
- Creating the settings dialog window : done.
- Getting the existing settings : done.
- Changing settings : one is done, the others will follow.
- Telling the rest of the app settings have changed : one should be ok soon, others will follow.

I'll commit when I finish the last step (could take some time though...).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #9 on: February 03, 2012, 10:39:08 pm »
Nice to see it is going on :)
Please test your code before you commit.
Means, clear you project and recreate with cmake, compile from zero and test your functions.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #10 on: February 04, 2012, 07:26:58 pm »
I think a Modelviewer would be great so u dont have to start 2 Applications like noggit and WoWModelViewer.
i already started with this....but to be honestly i never did anything with opengl
[spoiler:1tb5s0fl][/spoiler:1tb5s0fl]
thats everything i got so far.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #11 on: February 04, 2012, 11:46:45 pm »
You just can use the model class. So you dont must start from 0
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #12 on: February 05, 2012, 02:06:12 am »
Quote from: "Steff"
You just can use the model class. So you dont must start from 0
i actually did this but there were some issues with textures which i had to solve....
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #13 on: February 05, 2012, 10:11:54 am »
Cool. Its going on :)
If someone could spend some time in selection problems. You cant select a model in QT last time i have looked.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: Things individual people want to be doing on Noggit.
« Reply #14 on: February 05, 2012, 03:58:33 pm »
Quote from: "Steff"
Cool. Its going on :)
If someone could spend some time in selection problems. You cant select a model in QT last time i have looked.
selections are working for me.
Linux x64
qt 4.8
compiled with gcc within qt-creator (cmake not tested)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »