Jump to content

Imposter default settings


Duion

Recommended Posts

I'm trying to change the default settings the imposters get generated with, if no values are specified in the shape editor.


So I searched for the values and found them here:

https://github.com/GarageGames/Torque3D/blob/561f010f2e6411d8253d23f0cfcff794e81f60bf/Engine/source/ts/loader/tsShapeLoader.cpp#L311-L317


I changed the "S32 dim = 64;" to 128 size for example, recompiled, but the result is, nothing has changed, the engine still generates 64 pixel imposters by default. How is this possible? I cannot find any other place where those values are set in the code.

Link to comment
Share on other sites

I found the solution, the default values only apply when you import a .dae file and it converts it into a .dts file, then the default value are somehow saved in the compiled .dts model file, so you have to re-import the .dae files and then the newly set default values will apply.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...