Jump to content


Photo

Model Importing Task Force


  • Please log in to reply
59 replies to this topic

#51 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 05 August 2004 - 06:10 AM

Upgrade: - and = switch through ALL models
Dump now writes the models' positions, wait a bit and it will save lights.
Added scripts: you can feed the sandbox .cfg files, which contain lines with models and lights to load additionally (no iteration check, can get the same model loaded in multiple instances), models load via lines
<model name>=x y z
lights load via lines
!=x y z; r g b; r g b
(position, diffuse, specular).

edit: lights dumping implemented.

Attached Files


Edited by centurion, 05 August 2004 - 06:23 AM.

Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#52 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 06 August 2004 - 01:17 PM

Update: lights types can be changed, though lots of attributes are uneditable in-scene due to lack of keys on the keyboard. Script format also changed slightly.

I think this is it, maybe reassigning keys or something (removing the default lights if any other lights are loaded?) but IMHO this should be enough to re-enact static scenes.

Attached Files


Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#53 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 06 August 2004 - 06:50 PM

Centurion contact me by MSN or ICQ for discussion on the path to follow. After the binary/source is in publishable state I will call this TF completed and done.

Excelent work.

Greetings
Red Knight

Edited by red knight, 06 August 2004 - 06:50 PM.

Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#54 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 07 August 2004 - 07:44 AM

Found a way to handle the spotlight attributes, one of them is selected, INS..PGDN change selected, UP and DOWN change the selection.
Bug: for some reason the changes to a light's direction are not implemented until the light is MOVED :huh: .

RK: will try MSN today.

Attached Files


Edited by centurion, 07 August 2004 - 08:22 AM.

Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#55 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 09 August 2004 - 01:04 PM

Code revised, slight changes to controls.

Attached Files


Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#56 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 11 August 2004 - 10:04 AM

Centurion do you think it is commitable after the changes we discussed?

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#57 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 11 August 2004 - 10:39 AM

IMO yes, but take a look yourself.

edit: source uploaded here.

Edited by centurion, 11 August 2004 - 01:21 PM.

Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#58 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 11 August 2004 - 06:41 PM

Ok just change the SpaceApp for ModelViewer or something ;) ..

Even if there is space for improvement/refactoring specially with all those chained calls to handle the UI it is more than good enough for what the Task Force was supposed to accomplish.

Excelent work Centurion... Micah publish the news in the main site.

Contact me by MSN to arrange how to upload the viewer in the CVS.

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#59 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 12 August 2004 - 04:57 AM

Uploaded the changed version, took the opportunity to shorten some call chains.

Edited by centurion, 12 August 2004 - 04:57 AM.

Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#60 RustedSoul

RustedSoul

    Creative Text Department

  • Xenocide Creative-Text Departmen
  • 477 posts

Posted 12 August 2004 - 10:54 AM

cha ching!

moved to completed programming tasks