Forum

  • Index
  •  » Scripting
  •  » matrix.Id and transform.Id meaning in .gproject file?

#1 2017-06-12 18:33:12

Narann
Member

matrix.Id and transform.Id meaning in .gproject file?

Hello!

I'm writing a gproject parser.

In .gproject files Isee this:

Code:

set("$37.DefaultOrthoMatrix",matrix.Id)
set("$37.Transform",transform.Id)

Here is what I understand but just to be sure:

matrix.Id and transform.Id are identity matrix.

Am I right?

Keep the good work!

Dorian

Offline

 

#2 2017-06-12 23:15:59

Ben
Guerilla dev, the guy to hug

Re: matrix.Id and transform.Id meaning in .gproject file?

Hey Narann,

Yes, they are. This is a small trick to reduce file size and loading time.

Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#3 2017-06-12 23:16:54

Ben
Guerilla dev, the guy to hug

Re: matrix.Id and transform.Id meaning in .gproject file?

By the way, what are you writing a gproject parser for? I'm curious to say the least smile

Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#4 2017-06-13 10:59:25

Narann
Member

Re: matrix.Id and transform.Id meaning in .gproject file?

It's a personal project, it works slowly right now (I don't have much time). It's just that everytime you run Guerilla in production there is a moment when you need to know what are present in those gproject.

On Ballerina we rely on parsing (and modification) a lot to disable/enable RenderPasses, set some parameters before submit to farm, without having to open the gproject in batch.

Offline

 
  • Index
  •  » Scripting
  •  » matrix.Id and transform.Id meaning in .gproject file?

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB